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

Q Consider the array given below:

char ch[] = { 'A', 'E', 'T', '0', 'U' };

Write the output of the following statements: System.out.println(ch[0]*2);:

Question ID
#24262
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 65
  • B 130
  • C 'A'
Correct Answer: B

Explanation

Given array:

char ch[] = { 'A', 'E', 'T', '0', 'U' };

Statement:

System.out.println(ch[0] * 2);

Step 1: Value of ch[0]

  • ch[0]'A'

  • In Java, char is a numeric type under the hood (Unicode value)

  • Unicode of 'A'65


Step 2: Multiply by 2

ch[0] * 2 = 65 * 2 = 130

Step 3: Output

  • Since we are using arithmetic, the result is int, not char.

  • So it prints 130


Answer: (b) 130

Share This Question

Share this MCQ with your friends or study group.