KS4 Python While Loops and For Loops

Quiz
•
Computers
•
9th - 11th Grade
•
Medium
Adam Cowell
Used 125+ 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
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
4
3
2
1
3
2
1
0
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python Quiz

Quiz
•
10th Grade
16 questions
For and While Loops in Python

Quiz
•
9th - 12th Grade
10 questions
Loops

Quiz
•
10th Grade
15 questions
Intro to Java Loops

Quiz
•
9th - 12th Grade
15 questions
Computer Science - Python

Quiz
•
9th - 12th Grade
10 questions
SOAL MODUL 4 : Pemahaman Looping dan Kondisional

Quiz
•
10th Grade - University
18 questions
Test 4 Edhesive Review

Quiz
•
9th - 12th Grade
12 questions
Python Final 052224 - 3

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade