If Statements and Conditionals Drill

If Statements and Conditionals Drill

6th - 8th Grade

5 Qs

quiz-placeholder

Similar activities

Karel Review 1.1-1.4

Karel Review 1.1-1.4

6th - 7th Grade

10 Qs

Quiz: Basic Graphics and Shapes with Turtle

Quiz: Basic Graphics and Shapes with Turtle

7th Grade

10 Qs

Understanding Loops

Understanding Loops

6th - 8th Grade

10 Qs

3.4 Microbit RETRIEVAL PRACTICE

3.4 Microbit RETRIEVAL PRACTICE

6th - 9th Grade

10 Qs

Codemonkey quiz #2

Codemonkey quiz #2

8th Grade

10 Qs

Y7 Kitronic Game Zip Microbit

Y7 Kitronic Game Zip Microbit

6th Grade

10 Qs

Python Loops

Python Loops

1st - 6th Grade

9 Qs

Programming Basics: Statements & Functions

Programming Basics: Statements & Functions

8th Grade

6 Qs

If Statements and Conditionals Drill

If Statements and Conditionals Drill

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

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