loop and if in python (22/8/2020)

loop and if in python (22/8/2020)

11th Grade

27 Qs

quiz-placeholder

Similar activities

Algorithms - python (GCSE)

Algorithms - python (GCSE)

10th - 12th Grade

25 Qs

Computer Programming Introduction Unit Quiz

Computer Programming Introduction Unit Quiz

9th - 12th Grade

24 Qs

Python Basics Recap

Python Basics Recap

8th - 11th Grade

23 Qs

Fundamentals of Programming (GCSE Computer Science AQA)

Fundamentals of Programming (GCSE Computer Science AQA)

9th - 11th Grade

22 Qs

for loops quiz coding

for loops quiz coding

9th - 12th Grade

23 Qs

GCSE Computer Science: Programming (Python)

GCSE Computer Science: Programming (Python)

9th - 12th Grade

25 Qs

GCSE Computer Science- 2.2 Programming Techniques

GCSE Computer Science- 2.2 Programming Techniques

9th - 11th Grade

25 Qs

Python GCSE Recap

Python GCSE Recap

9th - 12th Grade

28 Qs

loop and if in python (22/8/2020)

loop and if in python (22/8/2020)

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Vaishali Lamba

Used 15+ times

FREE Resource

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

In programming, what is iteration?

The repetition of steps within a program

The order in which instructions are carried out

A decision point in a program

Testing a program to make sure it works

2.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

Which two statements are used to implement iteration?
IF and WHILE
ELSE and WHILE
FOR and WHILE
IF and ELSE

3.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

FOR loops are

loops which run an unknown number of times

loops which run for a specific number of times

the same as if statements

not part of programming

4.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

A condition is

a statement that is either True or False

a string

an integer

a list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word used to describe repetition in programming?
Sequence
Selection
Iteration
Coding

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two main types of loops that we have learned about in Python?
IF Function & Variables
FOR and WHILE Loops
Forever and Fixed Loop
Data Types and Numbers

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would amount equal in this piece of code:

amount = 2 + 5 * 2
12
9
14
5

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?