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) — 1 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.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;
  2. 2.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 1-question test with instant marking & AI feedback?

Sign up free →

More Computer Applications mock tests