Question
Two candidates P and Q contested in an election. 70% of
the registered voters are P supporters. If 60% of the P supporters and 30% of the Q supporters are expected to vote for candidate P, then what percentage of the registered voters are expected to vote for candidate P?Solution
Let total voters be 1000 Then 700 are P supporters and 300 are Q supporters Total votes to P ⇒ 60% of 700 + 30% of 300 ⇒ 420 + 90 ⇒ 510 Percentage of P voters ⇒ 510 × 100/1000 ⇒ 51 %
Basic syntax to create a bar-chart in R is
What does PHP stand for?
Which of the following is an example of an active electronic component?
Which network topology uses a central node to connect all other nodes?
In the context of ADTs, what does "polymorphism" refer to?
What is the function of a router?
How do you print the value of a variable ‘x’ in Python?
DCL provides commands to perform which operations?
What is the main advantage of Network Attached Storage (NAS) technology?
What is a "page fault" in the context of virtual memory?