
CodeHS 3.8 String Processing
Authored by Aaron Pavao
Computers
9th - 12th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A String is a collection of ...
(a)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is pseudocode?
a description in English that describes what the program does
code that has one or more syntax errors in it
code that has one or more runtime errors in it
code that has one or more general bugs in it
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is equivalent to for every character in String str from start to finish?
for(int i = 0; i < str.length(); i++)
for(int i = 0; i < str.length; i++)
for(int i = str.length() - 1; i > 0; i--)
for(int i = str.length(); i > 0; i--)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which String method do we use to see if two Strings are equal?
.compare(String s)
.equals(String s)
.isEqualTo(String s)
trick question, we use the == operator
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What will Rick Astley never do?
Check all that apply.
give you up
let you down
run around
desert you
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?