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

Variables

Quiz
•
Computers
•
University
•
Hard

Santhuana Sedhumadhavan
Used 5+ times
FREE Resource
13 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
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( )
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
Revision 2 MCA

Quiz
•
University
11 questions
CIW IBA Lesson 4 Vocabulary

Quiz
•
8th Grade - Professio...
15 questions
Mastering String Manipulation

Quiz
•
University
10 questions
java script

Quiz
•
University
11 questions
Recap Chapter 6, 7, 8

Quiz
•
University
15 questions
Java Programming

Quiz
•
University
15 questions
Round 4 - Harvest

Quiz
•
University
10 questions
DFA - Design 2

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade