The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+3 votes

There are two candidates $P$ and $Q$ in an election. During the campaign, $40\%$ of the voters promised to vote for $P,$ and rest for $Q.$ However, on the day of election $15\%$ of the voters went back on their promise to vote for $P$ and instead voted for $Q.$ $25\%$ of the voters went back on their promise to vote for $Q$ and instead voted for $P.$ Suppose, $P$ lost by $2$ votes, then what was the total number of voters?

  1. $100$
  2. $110$
  3. $90$
  4. $95$
asked in Numerical Ability by Boss (42.6k points) | 1.5k views

5 Answers

+4 votes
Best answer

Ans a. 100


Suppose no. Of voters =100

So Promised to vote P =40

Promised to vote Q=60

Then 15% of the voter promised to vote p went back and voted for Q = 15% of 40= 6

Rest out of 40 voted for P=34

similarly, 25% of 60 voted for P= 15

Rest out of 60 voted for P=45

So voted for P= 49

So voted for Q=51 voters

Difference between votes 51-49=2 

So, no of voters=100

answered by Loyal (7.6k points)
selected by
+5 votes

let x be no of votes

no of votes P was supposed to get=0.4x

no of votes Q was supposed to get=0.6x

now acc to given condition

P has got=85/100(0.4x)+25/100(0.6 x)

Q has got 75/100(0.6x)+15/100(0.4x)


75/100(0.6x)+15/100(0.4x)-85/100(0.4x)+25/100(0.6 x)=2

solving the equation we get


answered by Boss (31.5k points)
+2 votes
used the technique from paging and tlb acess. let total were x

for p = 0.40x


15% of q = 0.60 * 0.15 x ; =0.09x

they have not voted for q. so

(0.60x-0.09x) - (0.40x+0.09x) = 2


answered by Boss (15.8k points)
you could have answered in step 3 as 15% of q that is .09x cant be a fraction as they are voters so x is 100.
+1 vote
Ans -> A) 100
answered by Boss (42.6k points)
0 votes

Let the number of voters be 100.

Then, the number of candidates which promised to vote for P = 40

and the no. of candidates promised to vote for Q = 100 – 40 = 60

According to question,

15% of 40 = 6 voters went back on their promise to vote for
P and instead voted for Q.

and 25% of 60 = 15 voters went back on their promise to vote
for Q and instead voted for P.

Number of Votes for P = 40 – 6 + 15 = 49

and Number of Votes for Q = 60 + 6 – 15 = 51

Difference of Votes = 51 – 49 = 2.

Also P lost by 2 Votes.

Number of Voters were 100.


answered by Active (2.2k points)

This link may be useful for understanding it.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

38,203 questions
45,703 answers
49,752 users