Python Certification Preparation (April 2022)

Python Certification Preparation (April 2022)

Assessment

Flashcard

Computers

11th - 12th Grade

Hard

Created by

Quizizz 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']

Back

Cyborg

2.

FLASHCARD QUESTION

Front

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

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']

Back

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

4.

FLASHCARD QUESTION

Front

What will be the output of the following code?

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])

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//""

Back

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

7.

FLASHCARD QUESTION

Front

What will be the output of the following code?

Back

True

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?