Option (D) is correct.
Concept used — reading a "more than or equal to" table
Each entry counts every student at that mark or above. So the students in a class are those counted at its lower limit but not at its upper limit:
f(class a–b)=(number≥a)−(number≥b)
Step 1 — Pick the two entries for the class 30 – 40.
Number of students with marks≥30=51
Number of students with marks≥40=48
Step 2 — Subtract.
f(30–40)=51−48=3
Answer: the frequency of the class 30 – 40 is 3, option (D).
Note: (C) 51 and (A) 48 are the cumulative entries themselves, not frequencies; (B) 4 is 55−51, the frequency of the class 20 – 30.