Python Variables and Datatypes

Python Variables and Datatypes

Assessment

Flashcard

Computers

6th Grade

Hard

Created by

Quizizz 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

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?