CodeHS 2.11 If Statements

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Aaron Pavao
Used 26+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Karel Commands Quiz

Quiz
•
10th Grade
15 questions
Codehs pretest

Quiz
•
9th - 12th Grade
10 questions
Visual C++

Quiz
•
11th Grade
11 questions
Mr I's - OCR R081 - Health and Safety

Quiz
•
7th - 10th Grade
13 questions
Python Level 1 Quiz

Quiz
•
10th - 11th Grade
13 questions
Programming Quiz 2

Quiz
•
11th Grade
15 questions
Quiz on Functions in Karel

Quiz
•
12th Grade
10 questions
Adv CS- Javascript- Programming with Karel

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade