Question
In a school election, two students contested for the
position of head boy. The winner got 60% of the votes and won by 800 votes. Calculate the number of votes secured by the other candidate.Solution
ATQ,
Let the total number of valid votes cast = 100x
Votes secured by winner = 100x × 0.60 = 60x
Votes secured by loser = 100x - 60x = 40x
Given,
60x - 40x = 800
Or, x = 800 ÷ 20 = 40
So, votes received by the losing candidate = 40 × 40 = 1600
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?