
Strings final by RK Quiz 8
Authored by Reshma Kamthe
Computers
11th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the 5th character in a string?
5
4
6
it depends on how many characters in the string
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which String class method call can be used to see if the string "str" ends with "ing"?
str.substring(3) == "ing"
str.endsWith("ing")
str.startsWith("ing")
str.substring(-3) == "ing"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When we create a program to extract each alphabet from a given string, what is it known as?
Transpose
Traverse
Translate
Terminate
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a comparison operator?
<
>
==
!==
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the term 'debug' mean?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What syntax can you use to insert a line break between strings so that they appear over multiple lines?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want more than one option for your code, what do you use (after if)?
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?