How many students are there in the class?
I. There are more than 20 but less than 27 students in the class.
II. There are more than 24 but less than 31 students in the class. The number of students in the class can be divided into groups such that each group contains 5 students.
If the data in both statements I and II together are necessary to answer the question.
From Statement I,
Number of students in class = 21 or 22 or 23 or 24 or 25 or 26
From Statement II,
Number of students in class = 25 or 26 or 27 or 28 or 29 or 30
Since, number of students can be divided into groups of 5 students, therefore number of students must be a multiple of 5.
Number of students in the class = 25 or 30
On combining Statements I and II,
Number of students in the class = 25
Hence, the data in both the Statements I and II together are necessary to answer the question.