Variables

Variables

University

13 Qs

quiz-placeholder

Similar activities

python basics

python basics

11th Grade - University

15 Qs

Quiz CodeIgniter 4

Quiz CodeIgniter 4

University

10 Qs

R Quiz

R Quiz

University

10 Qs

TIU Quiz-9

TIU Quiz-9

University

10 Qs

Quiz Pem Mobile

Quiz Pem Mobile

University

10 Qs

Mapeamento e Normalização BD

Mapeamento e Normalização BD

University - Professional Development

15 Qs

Chapter 10: Encryption Techniques

Chapter 10: Encryption Techniques

University

10 Qs

Variables

Variables

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Santhuana Sedhumadhavan

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

Write the code to find out the index number of b in the string "The wall is big and wide"

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

For a string (s1), which method is used find the character at an index?

s1.CharAt( )

s1.IndexOf( )

s1.Find( )

s1.ReplaceAll( )

3.

OPEN ENDED QUESTION

3 mins • 1 pt

How to change the word "Ras-Al-Khaima" to "Ras Al Khaima"? Which method? write the code

Evaluate responses using AI:

OFF

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to convert a string to uppercase in Java?

s1.ToUpperCase( )

s1.UpperCase( )

s1.ConvertToUpper( )

s1.MakeUpper( )

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method would you use to concatenate two strings in Java?

s1.Concat( )

s1.Add( )

s1.Merge( )

s1.Combine( )

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to check if a string contains a specific substring?

s1.Contains( )

s1.HasSubstring( )

s1.IndexOf( )

s1.FindSubstring( )

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For a string (s1), which method is used to replace a specific character with another character?

s1.Replace( )

s1.Substitute( )

s1.Change( )

s1.Modify( )

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?

Discover more resources for Computers