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

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

11th Grade

27 Qs

quiz-placeholder

Similar activities

JavaScript 1st Quarter Test

JavaScript 1st Quarter Test

10th - 12th Grade

25 Qs

Unit 4: While Loops

Unit 4: While Loops

10th - 12th Grade

25 Qs

Microbit

Microbit

6th - 11th Grade

26 Qs

Scratch Coding grade 4 and above_18April20

Scratch Coding grade 4 and above_18April20

4th - 12th Grade

24 Qs

Unit 2 - Turtle Graphics Quiz for Python Computer Programming I

Unit 2 - Turtle Graphics Quiz for Python Computer Programming I

9th - 12th Grade

25 Qs

Comprog - (Review) - October 24, 2022

Comprog - (Review) - October 24, 2022

11th Grade

25 Qs

Computer Programming Introduction Unit Quiz

Computer Programming Introduction Unit Quiz

9th - 12th Grade

24 Qs

ONE 6th FORM Iteration

ONE 6th FORM Iteration

11th Grade

25 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?