
CodeHS 2.15 Strings
Authored by Aaron Pavao
Computers
9th - 12th Grade
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What class is a sequence of characters?
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select all of the primitive data types.
System
String
int
double
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code concatenates two Strings?
String foo = "Hello " + "World";
String foo = "Hello " & "World";
String foo = "Hello " && "World";
String foo = String.concatenate("Hello", "World");
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select all of the types that we can concatenate with Strings.
String
int
double
boolean
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed to the screen?
foo
bar
foobar
foo
bar
There's no way to tell because Java stores strings weirdly.
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select this lesson's learning targets.
I can explain Strings
I can create and assign values to String variables
I can concatenate Strings
I can compare Strings correctly
I can avoid comparing Strings with the equals operator
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
10 questions
Java Quiz 1: Introduction
Quiz
•
6th - 12th Grade
10 questions
PF Unit 10
Quiz
•
9th Grade - University
11 questions
C Language
Quiz
•
10th Grade - University
11 questions
المتغيرات و انواعها
Quiz
•
10th Grade
10 questions
Cuestionario de Repaso General
Quiz
•
1st - 12th Grade
11 questions
Basic Python Bug Squashing
Quiz
•
9th Grade
11 questions
GCSE Computer Science Paper 2: Topic 2.1
Quiz
•
10th Grade
9 questions
ПИТОН
Quiz
•
9th Grade
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