Python Variables and Datatypes

Python Variables and Datatypes

Assessment

Flashcard

Computers

6th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the output of
bool(4.5) ?

Back

True

2.

FLASHCARD QUESTION

Front

Which data type can store numbers, letters and symbols?

Back

String

3.

FLASHCARD QUESTION

Front

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

Back

Syntax Error

4.

FLASHCARD QUESTION

Front

Select the option that prints the following: hello-how-are-you Options: print(‘hello’, ‘how’, ‘are’, ‘you’), print(‘hello’, ‘how’, ‘are’, ‘you’ + ‘-‘ * 4), print(‘hello-‘ + ‘how-are-you’), print(‘hello’ + ‘-‘ + ‘how’ + ‘-‘ + ‘are’ + ‘you’)

Back

print(‘hello-‘ + ‘how-are-you’)

5.

FLASHCARD QUESTION

Front

What is the correct file extension for Python files?

Back

.py

6.

FLASHCARD QUESTION

Front

A location in memory used to store data that can be changed.

Back

Variable

7.

FLASHCARD QUESTION

Front

In python the ' INTEGER data type' can be defined as...?

Back

holds whole numbers

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?