ICSE Class 10 –String Handling

ICSE Class 10 –String Handling

10th Grade

50 Qs

quiz-placeholder

Similar activities

INFORMATIKA KELAS X - PEMROGRAMAN C

INFORMATIKA KELAS X - PEMROGRAMAN C

10th Grade

50 Qs

GCSE Python Legends

GCSE Python Legends

1st - 12th Grade

45 Qs

AQA 8525 GCSE CS 3.2.10 Subroutines & 3.2.11 Robust & Secure

AQA 8525 GCSE CS 3.2.10 Subroutines & 3.2.11 Robust & Secure

10th - 11th Grade

50 Qs

Python Programming Credential

Python Programming Credential

9th - 12th Grade

46 Qs

Python Review - PLTW CSE / Codecademy

Python Review - PLTW CSE / Codecademy

9th - 12th Grade

53 Qs

Soal Informatika Kelas X Bab 7 Algoritma dan Pemrograman

Soal Informatika Kelas X Bab 7 Algoritma dan Pemrograman

10th Grade

50 Qs

Artificial Intelligence for class10

Artificial Intelligence for class10

10th Grade

51 Qs

CODE CSP Unit 1 Digital Information - Practice Quiz

CODE CSP Unit 1 Digital Information - Practice Quiz

9th - 12th Grade

52 Qs

ICSE Class 10 –String Handling

ICSE Class 10 –String Handling

Assessment

Quiz

Computers

10th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?