If Statements and Conditionals Drill

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Jonathan Smith
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Computer Networks

Quiz
•
8th Grade
6 questions
PIDAUSE-2do Trimestre-2do Grado

Quiz
•
8th Grade
5 questions
Karel's For Loops and Comments DRILL

Quiz
•
8th Grade
10 questions
Introduction to Robotics

Quiz
•
7th Grade
6 questions
Coding Karel 1

Quiz
•
KG - University
7 questions
Karel Programming Drill

Quiz
•
8th Grade
10 questions
Software - Common Utility Programs

Quiz
•
3rd - 12th Grade
8 questions
What is AI and Machine Learning?

Quiz
•
6th 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
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

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

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

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

Interactive video
•
7th - 12th Grade