Python Unit 3 Flashcard

Python Unit 3 Flashcard

Assessment

Flashcard

Fun

7th - 9th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What function is used to display text?

Back

print

2.

FLASHCARD QUESTION

Front

What would I use to display a string of text? Options: //, **, #, " "

Back

" "

3.

FLASHCARD QUESTION

Front

Which of the following lines of code contains no errors? Options: 1, 2, 3, 4

Back

2

4.

FLASHCARD QUESTION

Front

What code would produce something like this?
hellohellohellohellohello
Options:
print("Hello" * 5),
print(Hello * 4),
print(hello * 5),
print("hello" * 5)

Back

print("hello" * 5)

5.

FLASHCARD QUESTION

Front

Why will this program NOT work?
print("hello" - 7)

Back

You cannot subtract a number (INT) from a string of text (STR)

6.

FLASHCARD QUESTION

Front

What will this program print?
print("@" + "£")

Back

7.

FLASHCARD QUESTION

Front

What will this program print to the screen? Options: Hello Fred, Hello name, Nothing. There is an error in the print statement., Hello then the name that was entered by the user.

Back

Hello then the name that was entered by the user.

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?