MCQ Practice Single Best Answer Topic: ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPER

Q The output of the following code is:

System.out.println(Math.ceil(6.4)+Math.floor(-1-2));

Question ID
#24259
Subchapter
ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPER
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A 3.0
  • B 4
  • C 3
  • D 4.0
Correct Answer: D

Explanation

7.0 + (-3.0) = 4.0
✅ Answer: (d) 4.0

Share This Question

Share this MCQ with your friends or study group.