MCQ Single Best Answer Moderate

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

ID: #24156 ICSE Computer Application - Class X - 2025 PYQ 70 views
Question Info
#24156Q ID
ModerateDifficulty
ICSE Computer Application - Class X - 2025 PYQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

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

Explanation

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

Share This Question

Challenge a friend or share with your study group.