ICSE Class 10

ICSE Class 10 Conditional Constructs in Java — Mock Test (2027)

Free online mock test for Conditional Constructs in Java (ICSE Class 10 Computer Applications) — 3 competency-based questions based on the latest CISCE 2027 syllabus, with instant marking. Try the samples below, then take the full test free.

What to expect: This mock test covers key concepts from the Conditional Constructs in Java chapter — including application-based and competency-focused questions aligned with how ICSE actually sets the paper.

Tip: Attempt without notes first to identify gaps, then review explanations for any wrong answers. Retake after a few days for best retention.

Sample questions

  1. 1.
    if (a>b&&b>c) then largest number is:
    • a.b
    • b.c
    • c.a
    • d.wrong expression
  2. 2.
    Read the if program segment given below:
    if (a > b)
    z = 25;
    else
    z = 35;
    Which one of the following is the correct conversion of the if program segment to ternary?
    • a.z = a > b ? 35 : 25;
    • b.z = a > b ? 25 : 35;
    • c.z = a > b : 35 ? 25;
    • d.z = a > b : 25 ? 35;
  3. 3.
    Which of the following data type cannot be used with switch case construct?
    • a.int
    • b.char
    • c.String
    • d.double
  4. 4.
    Assertion (A)
    In switch case break statement avoids fall through.
    Reason (R)
    break statement helps to execute only one case at a time.
    • a.Both (A) and (R) are true and (R) is a correct explanation of (A).
    • b.Both (A) and (R) are true and (R) is not a correct explanation of (A).
    • c.(A) is true and (R) is false.
    • d.(A) is false and (R) is true.

Want the full 3-question test with instant marking & AI feedback?

Sign up free →

More Computer Applications mock tests