ICSE Class 10 Computer Applications Question 5 of 30

Solved Sample Paper 2 — Question 5

Back to all questions
5
Question

Question 1(v)

The statement (1 > 0) || (1 < 0) evaluates to

  1. 0
  2. 1
  3. false
  4. true
Answer

true

Reason — Logical OR operator returns true when even one of the conditions is true. Here condition (1 > 0) is true. Thus, the OR operator results in true.