KS4 Python While Loops and For Loops

KS4 Python While Loops and For Loops

9th - 11th Grade

13 Qs

quiz-placeholder

Similar activities

Q2 WEEK 3 PRACTICE QUIZ #2

Q2 WEEK 3 PRACTICE QUIZ #2

9th Grade

12 Qs

Intro to Robotics

Intro to Robotics

9th Grade

14 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

Mobile app development principles

Mobile app development principles

10th Grade

17 Qs

KS4 Python While Loops and For Loops

KS4 Python While Loops and For Loops

Assessment

Quiz

Computers

9th - 11th Grade

Practice Problem

Medium

Created by

Adam Cowell

Used 140+ times

FREE Resource

AI

Enhance your content in a minute

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

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

Access all questions and much more by creating a free account

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

Already have an account?