Algorithms
October 12, 2023
Algorithms
October 12, 2023
Algorithms
October 12, 2023
Algorithms
October 12, 2023

GATE 2021 CS-Set-2

Question 5
The number of students in three classes is in the ratio 3:13:6. If 18 students are added to each class, the ratio changes to 15:35:21.

The total number of students in all the three classes in the beginning was:

A
66
B
22
C
88
D
110
Question 5 Explanation: 

Given Initial ratio : 3:13:6

Total number of students initially = 3x+13x+6x = 22x

From the given question, we can write 3x+18 = 15y —–I

                                   13x+18 = 35y—–II

                                   6x+18 = 21y——III

 

                      I – II => -10X = -20Y

                                    X=2Y——IV

 

                      Put IV in III => 6(2y) + 18 = 21y

                                       12y + 18 = 21y

                                       9y = 18

                                        y = 2 —–V

                      Substitute V in I => 3x + 18 = 30

                                           3x = 12

                                           x = 4

   Number of initial students = 22x = 22(4) = 88

Correct Answer: C
Question 5 Explanation: 

Given Initial ratio : 3:13:6

Total number of students initially = 3x+13x+6x = 22x

From the given question, we can write 3x+18 = 15y —–I

                                   13x+18 = 35y—–II

                                   6x+18 = 21y——III

 

                      I – II => -10X = -20Y

                                    X=2Y——IV

 

                      Put IV in III => 6(2y) + 18 = 21y

                                       12y + 18 = 21y

                                       9y = 18

                                        y = 2 —–V

                      Substitute V in I => 3x + 18 = 30

                                           3x = 12

                                           x = 4

   Number of initial students = 22x = 22(4) = 88

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!