Question
Study the given pie chart and answer the question that
follows. The given pie chart represents the percentage of valid votes obtained by five candidates in a university election. If candidate C has obtained 270 valid votes, then which are the two candidates for whom the difference in valid votes obtained is 45?Solution
Total valid votes = (270 × 100) ÷ 18 ⇒ Total valid votes = 1500 Votes for A = (1500 × 45) ÷ 100 ⇒ Votes for A = 675 Votes for D = (1500 × 16) ÷ 100 ⇒ Votes for D = 240 Votes for Q = (1500 × 13) ÷ 100 ⇒ Votes for Q = 195 Votes for E = (1500 × 8) ÷ 100 ⇒ Votes for E = 120 Difference between D and Q = 240 - 195 = 45 ∴ The two candidates for whom the difference in valid votes obtained is 45 are Candidate D and Candidate Q.
Given a singly linked list with 'n' nodes, what is the time complexity to delete the last node?
Which I/O scheduling algorithm is most suitable for minimizing seek time in hard drives?
Which type of database join returns only the matching rows from two tables based on a condition?
- Which of the following is the primary characteristic of Infrastructure as a Service (IaaS) in cloud computing?
Which of the following is a primary advantage of using a star schema in a data warehouse design?
Tarjan’s algorithm is used to find:
To insert a new node at the beginning of a singly linked list, which of the following operations is typically performed?
Which of the following accurately describes the role of a "foreign key" in a relational database system?
What is the primary purpose of an abstract class?
Which SQL query will retrieve the second highest salary from an Employee table?