Iteration Recap

Iteration Recap

8th - 9th Grade

16 Qs

quiz-placeholder

Similar activities

LEDs on micro:bit

LEDs on micro:bit

8th Grade

15 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Python List

Python List

4th Grade - University

15 Qs

logica excel

logica excel

1st Grade - University

21 Qs

Latihan Quiz Ozobot 8

Latihan Quiz Ozobot 8

8th Grade

20 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

Modern Technologies- BTEC

Modern Technologies- BTEC

2nd - 8th Grade

20 Qs

Iteration Recap

Iteration Recap

Assessment

Quiz

Computers

8th - 9th Grade

Practice Problem

Hard

Created by

R Woodruff

Used 101+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is another word for 'iteration'?

Repetition

Selection

Iteration

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which python operator means 'less than or equal to'?

>
<
>=
<=

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output of the following code?

count

0,1,2,3,4,5,6,7,8,9

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

How many times will this loop run?

10

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I want to allow the program to repeatedly ask the user to enter their guess if it does not equal the answer...Which option do I use?

while guess == answer:

guess=input()

while guess != answer:

guess=input()

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which loop is most appropriate to use if I need to continuously check for a correct password?

FOR loop
WHILE LOOP

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

I want to print "Password matched" if the user enters the correct password, otherwise allow them to try again. What is wrong with the code above?

The last line should be outside the loop

A For loop needed to be used

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?