KS4 Python While Loops and For Loops

KS4 Python While Loops and For Loops

9th - 11th Grade

13 Qs

quiz-placeholder

Similar activities

Loops

Loops

9th - 12th Grade

12 Qs

Python Loops

Python Loops

9th - 12th Grade

10 Qs

Java Loops

Java Loops

9th - 12th Grade

12 Qs

For and While Loops in Python

For and While Loops in Python

9th - 12th Grade

16 Qs

Loops and trace tables

Loops and trace tables

11th Grade

13 Qs

Loops

Loops

10th Grade

10 Qs

Loops in Python !

Loops in Python !

11th Grade

15 Qs

Pseudocode WHILE Loops

Pseudocode WHILE Loops

10th - 12th Grade

10 Qs

KS4 Python While Loops and For Loops

KS4 Python While Loops and For Loops

Assessment

Quiz

Computers

9th - 11th Grade

Medium

Created by

Adam Cowell

Used 124+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following means not equal to

==

!=

>

=

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Why are arrows used in flowcharts

To show a statement is equal to another

To allow the computer to run the program

To indicate a flow of direction

To make them look nice

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the difference between a while-endwhile and do-while loop

a do-while loop is harder to write

a while-endwhile loop takes longer for the computer to run

a do-while checks the condition at the end of the loop

a while-endwhile checks the condition at the end of the loop

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these? is an example of condition/decision in a while loop?

Enter your name

Increase count by 1

An if statement

A boolean operator

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Can a while loop contain an if statement (nested)

Yes

No

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is the python code for 'then'

>

<

:

7.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Media Image
5
4
3
2
1
4
3
2
1
0
5  4  3  2  1
4  3  2  1  0

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?