Python Basics 4

Python Basics 4

University

20 Qs

quiz-placeholder

Similar activities

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

ICT 0513 - Chapter 4 : System Unit

ICT 0513 - Chapter 4 : System Unit

University

15 Qs

Pra UPS 2

Pra UPS 2

University

20 Qs

DWDM-2

DWDM-2

University

20 Qs

IGH Test de Entrada

IGH Test de Entrada

University

20 Qs

Relational Algebra and Calculus

Relational Algebra and Calculus

University

20 Qs

Artificial Intelligence CT-1

Artificial Intelligence CT-1

University

20 Qs

Python Basics 4

Python Basics 4

Assessment

Quiz

Computers

University

Hard

Created by

Tracy Therese

Used 33+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a loop?

Allows execution of single statements only

Allows you to return to the beginning of the program

Allows execution of groups of statements all at once

Allows execution of statement or group of statements multiple times

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an iteration?

A single loop

Repeated execution of a list of statements.

Repeated execution of loops

Repeated execution of variables

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Types of loops (choose all correct answers)

for

while

break

while

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Repeats statements or a group of statements while a given condition is true

while loop

for loop

nested loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Executes a sequence of statements multiple times and abbreviates the code that manages the loop variable

while loop

for loop

nested loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use of one or more loops inside any other while, for or do....while loop

while loop

for loop

nested loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Terminates the loop statement and transfers execution to the statement immediately following the loop

pass statement

continue statement

break statement

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?