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

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

11th Grade

27 Qs

quiz-placeholder

Similar activities

WJEC Image Editing

WJEC Image Editing

KG - Professional Development

25 Qs

Video Games

Video Games

KG - University

28 Qs

Hardware and Software Fundamentals

Hardware and Software Fundamentals

10th - 11th Grade

30 Qs

Module 7 Motherboards 1

Module 7 Motherboards 1

9th - 12th Grade

25 Qs

2.3 Robust Programs

2.3 Robust Programs

9th - 11th Grade

25 Qs

Kewirausahaan (Web)

Kewirausahaan (Web)

11th Grade

25 Qs

1.1.3 Input, output and storage

1.1.3 Input, output and storage

11th Grade - University

22 Qs

Questions on lesson 1 in Cybersecurity

Questions on lesson 1 in Cybersecurity

11th Grade

22 Qs

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

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

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Vaishali Lamba

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?