Python Flashcard (Output - Input - Data Types)

Python Flashcard (Output - Input - Data Types)

Assessment

Flashcard

Computers

10th - 12th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

17 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will the output be from the following code?
print("Hello world!\nHello world!")

Back

Hello world!
Hello world!

2.

FLASHCARD QUESTION

Front

What will the output be from the following code?
print("Hello" + str(2) + "world!")?

Back

Hello2world!

3.

FLASHCARD QUESTION

Front

What does the following code do? myAge = int (myAge)

Back

Converts the var (variable) myAge to a integer

4.

FLASHCARD QUESTION

Front

What will the output be from the following code?
print(Hello world!)

Back

SyntaxError

5.

FLASHCARD QUESTION

Front

What syntax can you use to insert a line break between strings so that they appear over multiple lines? Options: /, \n, \l, n

Back

\n

6.

FLASHCARD QUESTION

Front

stores a piece of data, and gives it a specific name

Back

variable

7.

FLASHCARD QUESTION

Front

a data type than can have one of two values: True or False

Back

boolean

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?