
If Statements and Conditionals Drill
Authored by Jonathan Smith
Computers
6th - 8th Grade
Used 2+ 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.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A computer chooses between two actions by:
Flipping a coin
Using conditional statements
Guessing randomly
Asking the user every time
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To make Karel navigate a maze, stop before walls, and pick up tennis balls only if they exist, which programming construct should you use?
for loops
if statements
while loops
variables
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If statements help Karel make decisions in a program by:
Allowing Karel to repeat actions until a condition is met.
Letting Karel choose actions based on certain conditions.
Making Karel move forward automatically.
Stopping Karel from making any decisions.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If Karel didn’t have conditions like if statements, how might that affect the way computers make decisions?
Computers would not be able to make decisions based on different situations.
Computers would be able to make more complex decisions.
Computers would run faster but still make decisions.
Computers would only use loops to make decisions.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can if statements make your code more efficient and intelligent?
By allowing the code to make decisions based on conditions
By making the code run slower
By removing all conditions from the code
By increasing the number of errors
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
AI QUIZ
Quiz
•
6th - 8th Grade
10 questions
Magazine Photoshop
Quiz
•
8th Grade
10 questions
Basics of Movie Making
Quiz
•
6th Grade
10 questions
G6-W4-Quiz-Animation
Quiz
•
6th Grade
10 questions
Scratch Prior Knowledge Gr6
Quiz
•
6th Grade
10 questions
Scratch (28th March)
Quiz
•
KG - University
10 questions
G6_T2_Robotics
Quiz
•
6th Grade
10 questions
Computer Systems
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade