🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Filtering and Sorting: all 10 questions

Quiz: Filtering and Sorting · Question 9 of 10

With the CASE in this lesson (= 80000 Senior, = 50000 Mid, else Junior), what band does a salary of exactly 50000 get?

With the CASE in this lesson (>= 80000 Senior, >= 50000 Mid, else Junior), what band does a salary of exactly 50000 get?

  1. A.Senior
  2. B.Junior
  3. C.NULL
  4. D.Mid
Answer & explanation

Correct answer: Mid

CASE checks conditions in order; 50000 fails the first and passes >= 50000.

Can you get the rest right without peeking?

Take the timed Quiz: Filtering and Sorting quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →