
Variables
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Santhuana Sedhumadhavan
Used 5+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
17 questions
Archivos
Quiz
•
University
10 questions
Diseño - 01 - General
Quiz
•
University
14 questions
U3.4. CallableStatements (JDBC)
Quiz
•
University
15 questions
JavaScript
Quiz
•
University
10 questions
OOP intro quizz
Quiz
•
University
10 questions
Session 2
Quiz
•
University
10 questions
T_4.2 Identifier, Data Types, Operators & Expressions
Quiz
•
12th Grade - University
10 questions
OPERATING SYSTEM (COMPUTER ARCHITECTURE)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
