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

Q double x[] = {2.5, 4.5, 5.5, 6.4}; occupies ___ bytes.

Question ID
#24151
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 16
  • B 4
  • C 8
  • D 32
Correct Answer: D

Explanation

Each double in Java occupies 8 bytes, and the array contains 4 elements.

Total memory occupied = 8 bytes × 4 = 32 bytes

Correct answer: (d) 32

Share This Question

Share this MCQ with your friends or study group.