
String Handling
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Used 24+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
21 questions
G10 REVISION Ch 7 Systems Lifecycle: Implementation
Quiz
•
9th - 10th Grade
25 questions
GCSE Computer Science - Memory Quiz
Quiz
•
8th - 10th Grade
20 questions
Compuscholar Chapter 6 Exam Review
Quiz
•
9th - 12th Grade
20 questions
Arrays in Java
Quiz
•
9th - 12th Grade
15 questions
DETECTING AND PREVENTING CYBER SECURITY THREATS
Quiz
•
9th - 12th Grade
18 questions
Banana Tales Part 1 - For loop & Range
Quiz
•
9th - 10th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
20 questions
JAVA FUNDAMENTALS
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
