The PyMarathon

The PyMarathon

Assessment

Flashcard

Computers

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

244 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Why are loops used in programming?

Back

To run blocks of code repeatedly.

2.

FLASHCARD QUESTION

Front

Each time through a loop is called a(n) ______________.

Back

iteration

3.

FLASHCARD QUESTION

Front

What value is printed to the console? Options: 13, 4, 22, 17, -2

Media Image

Back

-2

4.

FLASHCARD QUESTION

Front

What is printed to the console? Options: 13, 4, 17, 22

Media Image

Back

17

5.

FLASHCARD QUESTION

Front

What value is printed to console?

Media Image

Back

17

6.

FLASHCARD QUESTION

Front

num = [1, 2, 3, 4]
num.append(0)
print(num)
What is the output?

Back

[1,2,3,4,0]

7.

FLASHCARD QUESTION

Front

What is the value of music[-3] in the list music = ["rock", "jazz", "blue", "hiphop"]?

Back

jazz

Access all questions and much more by creating a free account

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?