python

python

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

17 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the output of the given code? Options: 10 20 10, 10, 20, 10 20

Media Image

Back

10

2.

FLASHCARD QUESTION

Front

The program above

Media Image

Back

prints all the odd numbers between 1 and 20

3.

FLASHCARD QUESTION

Front

Is this the correct code for a list? register = {"Sam", "Pheobe", "Georgia", "Richard"}

Back

No

4.

FLASHCARD QUESTION

Front

The output of the code above is

Media Image

Back

Key Error

5.

FLASHCARD QUESTION

Front

What is a correct syntax to output "Hello World" in Python?

Back

print("Hello World")

6.

FLASHCARD QUESTION

Front

Which of the operators do we use if we want at least one condition to be true?

Back

or

7.

FLASHCARD QUESTION

Front

What would be printed by the command
print('12-5')

Back

12-5

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?