ICSE Class 10 –String Handling

ICSE Class 10 –String Handling

10th Grade

50 Qs

quiz-placeholder

Similar activities

Skills for Real World Survival

Skills for Real World Survival

9th - 12th Grade

45 Qs

Digital Devices

Digital Devices

5th Grade - University

50 Qs

OCR Computer Science 1.3.2

OCR Computer Science 1.3.2

9th - 11th Grade

50 Qs

Computer Science Multiple Choice Review

Computer Science Multiple Choice Review

9th - 12th Grade

50 Qs

Kisi Kisi UTS Ganjil Dasar Dasar Keahlian TKJ

Kisi Kisi UTS Ganjil Dasar Dasar Keahlian TKJ

10th - 12th Grade

50 Qs

SOAL FORMATIF KELAS X AGT 23

SOAL FORMATIF KELAS X AGT 23

10th Grade

47 Qs

Topik 1: Berpikir Komputasional (Computational Thinking)

Topik 1: Berpikir Komputasional (Computational Thinking)

10th Grade

47 Qs

SP- Level 2

SP- Level 2

5th Grade - Professional Development

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

==

Create a free account and access millions of resources

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?