MCQ Practice Single Best Answer Topic: ICSE Computer Application - Class X - 2025 PYQ

Q The output of Math.max(-7, Math.min(-5, -4)) is:

Question ID
#24156
Subchapter
ICSE Computer Application - Class X - 2025 PYQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A -5
  • B -4
  • C -7
  • D error
Correct Answer: A

Explanation

(b) -4
Explanation: Math.min(-5, -4) → -5, then Math.max(-7, -5) → -5 (Correct answer: -5).

Share This Question

Share this MCQ with your friends or study group.