Question
In a Lok Sabha election, two candidates vied for a
parliamentary seat. Out of the total eligible voters in the constituency, 20% opted not to exercise their right to vote. Among the cast votes, 25% were deemed invalid. The winning candidate secured three times the number of votes garnered by the losing candidate, with a vote margin of 3,000. Calculate the total number of eligible voters in the constituency.Solution
ATQ, Let the total number of voters in the constituency = '100p' Number of votes cast = (100 - 20)% of 100p = 80% of 100p = '80p' Number of valid votes = (100 - 25)% of 80p = 75% of 80p = '60p' Let the number of votes received by losing candidate = 'q' So, the number of votes received by winning candidate = 3 × q = '3q' So, 3q - q = 3,000 Or, 2q = 3,000 Or, q = 1,500 Also, 3q + q = 60p Or, 60p = 4q = 4 × 1500 Or, 60p = 6,000 Or, p = 100 Total number of voters in the constituency = 100p = 100 × 100 = 10,000
What will be the output of the following queue implementation using two stacks?
class QueueUsingStacks {Â Â Â Â Â Stacks1 = new Stack <>... Which of the following is the most effective method to ensure data confidentiality when transmitting sensitive information over a public network?
Which of the following is the primary reason why polymorphism is useful in Object-Oriented Programming (OOP)?
Which encryption technique is used in Transport Layer Security (TLS) to securely establish a session key?
Which design pattern is best suited for managing the creation of objects without specifying their concrete classes?
Which of the following data structures is best suited for implementing a LIFO (Last In, First Out) mechanism?
- Which of the following is the primary characteristic of Infrastructure as a Service (IaaS) in cloud computing?
Which of the following collision resolution techniques involves storing all elements that hash to the same value in a linked list?
In a data warehousing environment, what is the primary purpose of an OLAP (Online Analytical Processing) cube?
Which of the following best exemplifies a critical advantage of Mobile Edge Computing (MEC) over traditional cloud computing?