MCQ Single Best Answer Moderate

QIf 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]);

ID: #23887 ICSE Computer Application - Class X - Selection Examination - 2024-25 - MCQ - CALCUTTA PUBLIC SCHOOL 73 views
Question Info
#23887Q ID
ModerateDifficulty
ICSE Computer Application - Class X - Selection Examination - 2024-25 - MCQ - CALCUTTA PUBLIC SCHOOLTopic

Choose the Best Option

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

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

Explanation

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

Share This Question

Challenge a friend or share with your study group.