Review IF statement & Loop

Review IF statement & Loop

7th Grade

10 Qs

quiz-placeholder

Similar activities

Flowcharts

Flowcharts

4th - 8th Grade

13 Qs

Range Checker Application

Range Checker Application

2nd - 8th Grade

15 Qs

Python Statements

Python Statements

5th - 7th Grade

10 Qs

Roblox Lua Scripting Quiz

Roblox Lua Scripting Quiz

1st - 12th Grade

8 Qs

Hangman Game - Programming Questions

Hangman Game - Programming Questions

7th - 11th Grade

15 Qs

FOR LOOPS and Angles with Tracy (PYTHON)

FOR LOOPS and Angles with Tracy (PYTHON)

7th - 8th Grade

10 Qs

Code.org (1-8)

Code.org (1-8)

5th - 8th Grade

10 Qs

Explaining Scratch Code - Task 1

Explaining Scratch Code - Task 1

2nd - 8th Grade

9 Qs

Review IF statement & Loop

Review IF statement & Loop

Assessment

Quiz

Computers

7th Grade

Hard

Created by

Hessa Mubarkalahbabi

Used 23+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If else statement

Outputs a message on the screen

Gets data from the user

A decision

A loop controlled by a decision

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Input statement

Outputs a message on the screen

Gets data from the user

A decision

A loop controlled by a decision

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Print statement

Outputs a message on the screen

Gets data from the user

A decision

A loop controlled by a decision

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be from the following code?
print("Hello world!")
SyntaxError
Hello world!
"Hello world!"
print(Hello world!)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of a loop in programming?

To repeat a block of code

To make decisions

To store data

To output results

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the function of a variable in programming?

To store data values

To perform calculations

To control program flow

To display output

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A while loop can have an optional else clause that executes when the loop condition becomes false.

True

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?