Question
In an election, 75% of the voters cast their votes. A
candidate received 60% of the total votes cast and won by a majority of 300 votes. Find the total number of voters.Solution
Let the total number of voters casted their votes be 100x. 60x – 40x = 300 x = 15 100x = 1500 75% of total voters = 1500 Total voters = 1500/75 *100 total voters = 2000
Time complexity of heap sort is:
Which type of database key is a candidate key that has not been chosen as the primary key?
Which data structure uses LIFO (Last In, First Out) principle?
In a data warehousing environment, what is the primary purpose of an OLAP (Online Analytical Processing) cube?
- Which of the following is the primary characteristic of Infrastructure as a Service (IaaS) in cloud computing?
Which of the following accurately describes the role of a "foreign key" in a relational database system?
Deletion in Red-Black Trees maintains balance using:
Which SQL command is used to remove only specific rows from a table while preserving the structure and other rows?
In the dynamic programming approach for LCS, the base cases are crucial for correctly initializing the dp table.
Consider the following Python co...
RISC stands for: