🔦 Formative Assessment 2: Flow Controls

🔦 Formative Assessment 2: Flow Controls

12th Grade

•

10 Qs

quiz-placeholder

Similar activities

Loops & Conditional Blocks in Scratch

Loops & Conditional Blocks in Scratch

6th - 12th Grade

•

10 Qs

12 Computer Applications

12 Computer Applications

12th Grade

•

10 Qs

C program

C program

12th Grade

•

10 Qs

1.1.5 CSE Iteration and Loops

1.1.5 CSE Iteration and Loops

9th - 12th Grade

•

14 Qs

SC025: Control Structures Lecture Quiz

SC025: Control Structures Lecture Quiz

12th Grade

•

10 Qs

Quiz #3 - Chapter 1-3 Review

Quiz #3 - Chapter 1-3 Review

9th - 12th Grade

•

14 Qs

Python Control structures

Python Control structures

12th Grade

•

10 Qs

While Loop Quiz

While Loop Quiz

9th - 12th Grade

•

12 Qs

🔦 Formative Assessment 2: Flow Controls

🔦 Formative Assessment 2: Flow Controls

Assessment

Quiz

•

Computers

•

12th Grade

•

Hard

Created by

Neil Christian Capanzana

Used 10+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the syntax for a while loop in Python?
for i in range()
while i in range()
while condition:
none of the choices

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How many times will a while loop execute if the condition is initially false?
0
1
infinite
none of the choices

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which statement allows the program to execute a block of code repeatedly if you have sets of data already?

if-else
while loop
for loop
none of the choices

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the syntax for a for loop in Python?
for condition:
while i in range()
while condition:
none of the choices

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How many times will a for loop execute if the condition is initially false?
0
1
infinite
none of the choices

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the syntax for if-else in Python?
for condition:
if condition:
while condition:
none of the choices

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the purpose of an if-else statement?
To execute a block of code repeatedly as long as a certain condition is met.
To execute a block of code repeatedly for a specific number of times.
To make a decision based on a condition.
none of the choices

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?