ICSE Class 10

ICSE Class 10 String Handling — Mock Test (2027)

Free online mock test for String Handling (ICSE Class 10 Computer Applications) — 6 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 String Handling 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.
    What is the output of the statement given below?
    "ANGER".compareTo("ANGEL")
    • a.3
    • b.–6
    • c.6
    • d.0
  2. 2.
    The output of the statement "CONCENTRATION".indexOf('T') is:
    • a.9
    • b.7
    • c.6
    • d.(-1)
  3. 3.
    Which of the following String methods returns a negative value?
    • a.length()
    • b.equals()
    • c.compareTo()
    • d.charAt()
  4. 4.
    Assertion (A)
    The substring() method modifies the original String.
    Reason (R)
    The substring() method can extract part of a String starting from a specific index.
    • a.(A) is true and (R) is false.
    • b.(A) is false and (R) is true.
    • c.Both (A) and (R) are true and (R) is the correct explanation of (A).
    • d.Both (A) and (R) are true, but (R) is not the correct explanation of (A).
  5. 5.
    To extract the word NOW from the word "ACKNOWLEDGEMENT", the Java statement "ACKNOWLEDGEMENT".substring(3, _____) is used. Choose the correct number to fill in the blank.
    • a.6
    • b.7
    • c.5
    • d.8

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

Sign up free →

More Computer Applications mock tests