
CodeHS 2.11 If Statements
Authored by Aaron Pavao
Computers
9th - 12th Grade
Used 29+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these inputs will cause something to print to the screen?
3
23
0
-5
-1
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be printed if this code is executed and the user enters 23?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which conditional statement should be used for this situation:
If there is a ball present, Karel should take it. If there is no ball present, Karel should turn around.
if
if
if
if
else
none of these
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which conditional statement should be used for this situation:
If there is a ball present, Karel should take it. If the front is clear, Karel should move forward.
if
if
if
if
else
none of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which conditional statement should be used for this situation:
If there is a ball, Karel should take it. Then Karel should move forward.
if
if
if
if
else
none of these
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which conditional statement should be used for this situation:
If the front is clear, Karel should move. Otherwise, Karel should turn around.
if
if
if
if
else
none of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which conditional statement should be used for this situation:
Karel should drop a ball and then move forward until she reaches the end of the row.
if
if
if
if
else
none of these
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
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
13 questions
LENGUAJE C
Quiz
•
11th Grade
12 questions
OCR Internet Technologies
Quiz
•
10th - 11th Grade
15 questions
MIT APP - QUIZ
Quiz
•
10th Grade
15 questions
Security
Quiz
•
9th Grade
10 questions
emtech
Quiz
•
12th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
12 questions
1.2.4. Types of Programming Language
Quiz
•
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