Question
In a school election between two candidates, 12% of the
total votes were invalid. Of the valid votes, the winner got 58% and won by 1,392 votes. Find the number of valid votes.Solution
Let the number of votes be '100n' Number of valid votes = 0.88 X 100n = '88n' Number of valid votes received by winning candidate = 0.58 X 88n = '51.04n' Number of valid votes received by losing candidate = 0.42 X 88n = '36.96n' So, 51.04n - 36.96n = 1,392 Or, 14.08n = 1,392 Or, 'n' = 99 Number of valid votes = 88 X 99 = 8,712
What will be the output of the code
int main(){
int x= 10;
int y=10;
int s=-(-x-y)
cout<
return 0;
}
In a virtual memory system, what is a "page fault"?
Which type of transistor is less susceptible to thermal runaway?
What is the unit of electric current?
Which transport layer protocol provides connection-oriented, reliable, and ordered delivery of data packets between applications?
The result of SQL select statement is?
What is an ER diagram used for?
Which routing protocol is commonly used within an autonomous system (AS) to determine the best path for data packets?
Which distribution is used to model the number of successful outcomes in a fixed number of independent Bernoulli trials?
Which component in the MVC architecture communicates directly with the database?