Python Certification Preparation (April 2022)

Python Certification Preparation (April 2022)

Assessment

Flashcard

•

Computers

•

11th - 12th Grade

•

Practice Problem

•

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

88 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will be the output of the following code? Options: ['Batman', 'Superman', 'Wonder Woman', 'Flash', 'Aquaman'], Cyborg, Batman, ['Wonder Woman', 'Flash', 'Aquaman']

Media Image

Back

Cyborg

2.

FLASHCARD QUESTION

Front

What will be the output of the following code? Options: Aquaman, Cyborg, Batman, Superman

Media Image

Back

Superman

3.

FLASHCARD QUESTION

Front

What will be the output of the following code? Options: ['Aquaman', 'Batman', 'Cyborg', 'Flash', 'Superman', 'Wonder Woman'], ['Wonder Woman', 'Superman', 'Flash', 'Cyborg', 'Batman', 'Aquaman'], ['Cyborg', 'Aquaman', 'Flash', 'Wonder Woman', 'Superman', 'Batman'], ['Cyborg', 'Aquaman', 'Flash', 'Wonder Woman', 'Superman']

Media Image

Back

['Cyborg', 'Aquaman', 'Flash', 'Wonder Woman', 'Superman', 'Batman']

4.

FLASHCARD QUESTION

Front

What will be the output of the following code?

Media Image

Back

True

5.

FLASHCARD QUESTION

Front

Giving the code above, what would you need to type to print "Cyborg"? Options: print(justiceLeague[1]), print(justiceLeague[3]), print(justiceLeague[2]), print(justiceLeague[-1])

Media Image

Back

print(justiceLeague[2])

6.

FLASHCARD QUESTION

Front

How can we fix this text so that it prints as: Michael Jordan is the "GOAT"? Options: text="Michael Jordan is the \"GOAT\"", text="Michael Jordan is the /"GOAT/"", text="Michael Jordan is the \\"GOAT\\"", text="Michael Jordan is the//"GOAT//""

Media Image

Back

text="Michael Jordan is the \"GOAT\""

7.

FLASHCARD QUESTION

Front

What will be the output of the following code?

Media Image

Back

True

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

Already have an account?