MCQ Practice Single Best Answer Topic: ICSE Computer Application - Class X - Selection Examination - 2024-25 - MCQ - CALCUTTA PUBLIC SCHOOL

Q If int arr[] = {3, 5, 2, 7, 9, 4, 6, 3};, what are the values of a and b?

a = Math.pow(arr[4], arr[2]); 
b = Math.sqrt(arr[6] + arr[0]);

Question ID
#23887
Subchapter
ICSE Computer Application - Class X - Selection Examination - 2024-25 - MCQ - CALCUTTA PUBLIC SCHOOL
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A 81.0 3.0 ✔ ✖
  • B 81 3 ✔ ✖
  • C 80.0 4.0 ✔ ✖
  • D 81.0 3.0 ✔ ✖
Correct Answer: A

Explanation

Final values: 𝑎 = 81.0 a=81.0, 𝑏 = 3.0 b=3.0

Share This Question

Share this MCQ with your friends or study group.