CP M4 Repetition & Loops

CP M4 Repetition & Loops

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

SHORTCUT PADA KEYBOARD

SHORTCUT PADA KEYBOARD

10th - 12th Grade

10 Qs

Threats to Data

Threats to Data

9th - 12th Grade

11 Qs

HEALTH AND SAFETY 9

HEALTH AND SAFETY 9

7th - 9th Grade

11 Qs

Scratch

Scratch

9th - 10th Grade

19 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

Programming: Which Loop?

Programming: Which Loop?

9th - 12th Grade

20 Qs

Module 11 - Essential Peripherals 4

Module 11 - Essential Peripherals 4

9th - 12th Grade

18 Qs

MEDIA AND INFORMATION LITERACY

MEDIA AND INFORMATION LITERACY

12th Grade

10 Qs

CP M4 Repetition & Loops

CP M4 Repetition & Loops

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Marcia Bernas

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A __________________ is a collection of commands that are given a name.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False. Every WHILE loop can be replaced with FOR loop.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variable used to end the loop

Loop control variable

count variable

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

While loops should always be:

output

indented

calculated

input

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For a loop to stop, the loop control variable must ________________.

change

be input from the keyboard

be true

change inside the loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is wrong with:

x = 1

while (x < 20):

print (x)

There is no x = 0 before the loop

The loop will not stop since the condition is wrong

x should be c

The loop will not stop since x never changes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use loops?

Because computers can do calculations humans can't.

Because programming is an important skill

Because of efficiency.

Because programs need to make decisions.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?