1. >ICSE Class X board
  2. >Computer Applications
Found 6  QuestionsSET DEFAULT
Selected Filters
    ICSE Class X board Computer Applications Character String
Exams
Years
Subjects
Topics

List of top Computer Applications Questions on Character String asked in ICSE Class X board

Give the output of the following program segment:
\texttt{String S = "GRACIOUS".substring(4);}
\texttt{System.out.println(S);}
\texttt{System.out.println("GLAMOROUS".endsWith(S));}
  • ICSE Class X board - 2026
  • ICSE Class X board
  • Computer Applications
  • Character String

Give the output of the following Java program segment:

String a[] = {"Atasi", "Aditi", "Anant", "Amit", "Ahana"};
System.out.println(a[1].charAt(1) + "*" + a[2].charAt(2));

The output of the above statement is:

  • ICSE Class X board - 2026
  • ICSE Class X board
  • Computer Applications
  • Character String

Assertion and Reasoning

Assertion (A): The substring() method modifies the original String.

Reason (R): The substring() method can extract part of a String from a specific index.

  • ICSE Class X board - 2026
  • ICSE Class X board
  • Computer Applications
  • Character String
Which of the following String methods returns a negative value?
  • ICSE Class X board - 2026
  • ICSE Class X board
  • Computer Applications
  • Character String
To extract the word NOW from the word ``ACKNOWLEDGEMENT'', Java statement ``ACKNOWLEDGEMENT''.substring(3, ___ ) is used. Choose the correct number to fill in the blank.
  • ICSE Class X board - 2026
  • ICSE Class X board
  • Computer Applications
  • Character String
What is the type of parameter to be given for the method \texttt{parseInt()?}
  • ICSE Class X board - 2026
  • ICSE Class X board
  • Computer Applications
  • Character String