String Handling

String Handling

10th Grade

20 Qs

quiz-placeholder

Similar activities

Recap Homework - Data Representation

Recap Homework - Data Representation

10th Grade

15 Qs

Mathematical Functions in Java

Mathematical Functions in Java

9th - 10th Grade

15 Qs

GCSE Computing Quiz Starter 2

GCSE Computing Quiz Starter 2

10th - 11th Grade

15 Qs

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

Ap computer science a

Ap computer science a

1st - 12th Grade

15 Qs

SDLC - QUIZ

SDLC - QUIZ

9th - 10th Grade

20 Qs

ENTITI, ATRIBUT , Pangkalan data

ENTITI, ATRIBUT , Pangkalan data

1st - 12th Grade

21 Qs

G10 Python Exam

G10 Python Exam

10th Grade

15 Qs

String Handling

String Handling

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is returned by the method call:

String x = "New Mexico is the land of enchantment.";

x.length();

true

nothing; the method is void

38

37

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is returned by the method call:

String x = "Approximately 0.04% of people survive the 8th grade.";

x.contains("big fat lies");

-1

true

false

nothing; the method is void

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is returned by the method call:

String x = "I'm glad it's Friday!!!";

x.indexOf("Friday");

14

true

15

nothing; the method is void

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is returned by the method call:

String x = "";

x.length();

1

false

0

true

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is returned by the method call:

String x = "Welcome to the jungle";

x.contains("met");

5

4

true

false

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What data type is used for storing a single alphabetical or numerical symbol?

Character

String

Integer

Boolean

Real

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A value stored in memory that cannot change while a program runs.

Constant

Variable

Data type

Assignment

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?