The PyMarathon

The PyMarathon

Assessment

Flashcard

Computers

University

Hard

Created by

Quizizz 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

Back

-2

4.

FLASHCARD QUESTION

Front

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

Back

17

5.

FLASHCARD QUESTION

Front

What value is printed to console?

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?