ICSE Class 10 Computer Applications Question 17 of 30

Solved Sample Paper 2 — Question 17

Back to all questions
17
Question

Question 1(xvii)

Assertion (A) Identifier is a name given to a package, class, interface, method or variable.
Reason (R) Identifier allows a programmer to refer to the item from other places in the program.

  1. Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).
  2. Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A).
  3. Assertion (A) is true and Reason (R) is false.
  4. Assertion (A) is false and Reason (R) is true.
Answer

Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).

Reason — Assertion (A) is true because an identifier is indeed a name given to a package, class, interface, method, or variable. Reason (R) is true because identifiers allow a programmer to refer to the item from other places in the program, hence it is the correct explanation of Assertion (A).