
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
10 câu kiểu xâu tiết 1
Quiz
•
11th Grade
11 questions
Programming basics
Quiz
•
10th - 11th Grade
11 questions
Programming Quiz 1
Quiz
•
11th Grade
10 questions
1.3 Networks
Quiz
•
9th Grade
10 questions
Python lists & file operations
Quiz
•
10th Grade
10 questions
JavaScript 3 baco med
Quiz
•
12th Grade
10 questions
Programación Básica
Quiz
•
12th Grade
10 questions
scratch
Quiz
•
11th - 12th 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