ICSE Class 10 –String Handling

ICSE Class 10 –String Handling

10th Grade

•

50 Qs

quiz-placeholder

Similar activities

Matpil_TKJ-Arduino Dasar

Matpil_TKJ-Arduino Dasar

9th - 12th Grade

•

45 Qs

Test A

Test A

9th - 12th Grade

•

55 Qs

Coding Units 5-10

Coding Units 5-10

9th - 12th Grade

•

46 Qs

IT Fundamentals Test Part 1

IT Fundamentals Test Part 1

KG - University

•

49 Qs

CIW IBA Lesson 3 Review

CIW IBA Lesson 3 Review

9th - 12th Grade

•

48 Qs

AQA GCSE Computer Science - 3.1 Fundamentals of algorithms

AQA GCSE Computer Science - 3.1 Fundamentals of algorithms

8th - 10th Grade

•

49 Qs

Basic Java with CodeHS

Basic Java with CodeHS

9th - 12th Grade

•

50 Qs

Unity Certified User: VR (2025)

Unity Certified User: VR (2025)

10th Grade

•

50 Qs

ICSE Class 10 –String Handling

ICSE Class 10 –String Handling

Assessment

Quiz

•

Computers

•

10th Grade

•

Practice Problem

•

Hard

Created by

scoremaster JAVA

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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()

==

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?