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

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

11th Grade

27 Qs

quiz-placeholder

Similar activities

COMPTia

COMPTia

9th - 12th Grade

22 Qs

CodeHS Data AP CSP

CodeHS Data AP CSP

11th - 12th Grade

22 Qs

Premiere Pro Lessons 4-5

Premiere Pro Lessons 4-5

10th - 12th Grade

26 Qs

Microsoft Server Admin 98-365 Part 3

Microsoft Server Admin 98-365 Part 3

KG - Professional Development

22 Qs

Revision grade 11 term 3

Revision grade 11 term 3

11th Grade

23 Qs

Projetos RUP (Fase de Iniciação)

Projetos RUP (Fase de Iniciação)

1st - 12th Grade

22 Qs

Computer Pretest1(Arduino Grade8_t1)

Computer Pretest1(Arduino Grade8_t1)

3rd Grade - University

25 Qs

Functions in RobotC

Functions in RobotC

7th - 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

Medium

Created by

Vaishali Lamba

Used 15+ 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?