Python Unit 3 Flashcard

Python Unit 3 Flashcard

Assessment

Flashcard

Fun

7th - 9th Grade

Practice Problem

Hard

Created by

Wayground 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

Media Image

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.

Media Image

Back

Hello then the name that was entered by the user.

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?