Q4. Form the pair of linear equations in the following problems and find their solutions (if they exist) by any algebraic method :
(iii) Yash scored 40 marks in a test, getting 3 marks for each right answer and losing 1 mark for each wrong answer. Had 4 marks been awarded for each correct answer and 2 marks been deducted for each incorrect answer, then Yash would have scored 50 marks. How many questions were there in the test?
Let the number of right answer and wrong answer be x and y respectively
Now, According to the question,
Now, subtracting (2) from (1) we get,
Putting this value in (1)
Hence the total number of question is