Loops & Python While loop

Loops & Python While loop

8th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

8.4 Algorithm Test

8.4 Algorithm Test

9th Grade

18 Qs

Python Basics - yr 9

Python Basics - yr 9

9th - 12th Grade

18 Qs

Python Review

Python Review

7th - 8th Grade

17 Qs

Python Iteration

Python Iteration

10th Grade

17 Qs

ICS For & While Loops

ICS For & While Loops

9th - 12th Grade

16 Qs

Python Beginner

Python Beginner

9th - 10th Grade

16 Qs

Python - Test Revision

Python - Test Revision

8th Grade

20 Qs

AQA GCSE Computer Science - 3.1.1 Representing Algorithms

AQA GCSE Computer Science - 3.1.1 Representing Algorithms

8th - 10th Grade

19 Qs

Loops & Python While loop

Loops & Python While loop

Assessment

Quiz

Computers

8th - 12th Grade

Medium

Created by

Yousra Abdelhamed

Used 26+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

---------------is a sequence of instruction s that is continually repeated until a certain condition is reached.

Loops ( iteration)

Boolean conditions

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Loops help us remove the redundancy of code when a task has to be repeated several times

True

False

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The common concept in all programming languages loops is --------------------that is checked every round and the loop will continue to run until the condition is reached

the stopping condition

syntax

variable

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In Python while loop It continually executes the statements(code) as long as the given condition is ----------

True

False

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In Python while loop The loop stops running when the condition ----------------, and the execution will move to the next line of code.

fails (become false)

is True

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In Python while loop if the Boolean condition of a while loop is never changes, it could cause the program to run forever or to freeze/crash.

True

False

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

the output of this program group --------

A

B

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?