ICSE Class 10 –String Handling

Quiz
•
Computers
•
10th Grade
•
Hard
scoremaster JAVA
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method returns the length of a string?
len()
size()
length()
count()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method returns a character at a given index?
charAt()
get()
char()
index()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the first character in a string?
0
1
-1
Depends
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method extracts a substring?
substring()
substr()
slice()
split()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method returns index of first occurrence of a character?
index()
indexOf()
find()
search()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method returns last occurrence index of a character?
lastIndexOf()
endIndex()
findLast()
finalIndex()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method compares strings lexicographically?
compare()
compareTo()
equals()
==
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
AP CSP Midterm Exam Review

Quiz
•
9th - 12th Grade
50 questions
Quiz Pengembangan Perangkat Lunak

Quiz
•
10th Grade - University
54 questions
Test 2

Quiz
•
9th - 12th Grade
50 questions
KOD ARAHAN

Quiz
•
9th - 12th Grade
45 questions
Ôn Tập Giữa Kỳ 2 Môn Tin 10

Quiz
•
10th Grade
52 questions
Massive GCSE CS Quiz

Quiz
•
9th - 12th Grade
50 questions
Binary and Data Transmission Quiz

Quiz
•
10th Grade
55 questions
2024 Final Exam Review PFGT

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade