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

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

11th Grade

27 Qs

quiz-placeholder

Similar activities

IT final exam questions

IT final exam questions

11th Grade

23 Qs

Computer Science IT quiz WIP - IT Level 3 by MZH

Computer Science IT quiz WIP - IT Level 3 by MZH

9th - 12th Grade

23 Qs

Topic 6.0 SDLC

Topic 6.0 SDLC

11th - 12th Grade

25 Qs

98-365 Study Guide P.5

98-365 Study Guide P.5

KG - Professional Development

25 Qs

Text and Image representation

Text and Image representation

11th Grade

22 Qs

Python revision quiz

Python revision quiz

6th - 12th Grade

22 Qs

CIW Vocab 6

CIW Vocab 6

9th - 12th Grade

22 Qs

Web Development: HTML/CSS Basics

Web Development: HTML/CSS Basics

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

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?