Question
In an election with two candidates, A and B, 80% of
registered voters cast ballots. B wins by a margin of 880 votes. If B had received 10% fewer votes, A's vote count would have matched B's. How many registered voters are there?Solution
Let number of votes received by A = a And, the number of votes received by B = b b-a = 800 according to question- b – 10% of b = a + 10% of b 9b/10 = a + b/10 4b/5 = a a/b = 4/5 from b-a = 880 5x-4x = 880 x = 880 number of votes received by A = a = 4x = 3520 And, the number of votes received by B = b = 5x = 4400 Total casted votes = 3520+4400 = 7920 80% of registered voters = 7920 Registered voters = 7920/80 ×100 = 9900
Which of the following programming language most of “Wireshark” is implemented in?
 Which of the following best describes validation testing?
The Fibonacci sequence (F(n) = F(n-1) + F(n-2)) is a classic example demonstrating the benefits of Dynamic Programming. Without DP, a naive recursive so...
You are tasked with implementing a search feature for a large, constantly changing dataset where the order of elements doesn't matter, but fast lookups ...
In AJAX (Asynchronous JavaScript and XML), which of the following properties must be set to true to prevent the browser from waiting for the response be...
Consider three processes P1, P2, and P3 with burst times 10ms, 10ms, and 10ms respectively. If they arrive at time 0 and are scheduled using FCFS (First...
What is the main goal of cloud load balancing?
Which of these is an open-source container orchestration platform?
In a binomial heap, if the root is greater than the left child and less than the right child, which of the following statements is correct?
In threat modeling, what does STRIDE stand for (one of the categories)? Pick the item that is NOT part of STRIDE.