In an objective type question paper, 5 marks are awarded for a correct answer and 2 marks are deducted for a wrong answer. A student attempted all the questions and got a score of 69. Had he been awarded 4 marks for a correct answer and 1 mark deducted for a wrong answer, he would have scored 84. How many questions were there in the question paper?
Explanation
Let the number of correct answers be x and the number of wrong answers be y. The equations from the scoring are:
5x−2y=69
4x−y=84
Solving these equations, we find x+y=81, indicating there are 81 questions in total.