Variables and Data Types Knowledge Check

Variables and Data Types Knowledge Check

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

Procedures and Functions

Procedures and Functions

10th Grade

20 Qs

Python Casting and Input

Python Casting and Input

8th - 11th Grade

15 Qs

Unit 3 Python TEST

Unit 3 Python TEST

11th - 12th Grade

20 Qs

Python

Python

9th - 12th Grade

15 Qs

POGIL: Python Activity 1

POGIL: Python Activity 1

9th - 12th Grade

12 Qs

Python Year 9 Final Recall Activity

Python Year 9 Final Recall Activity

7th - 9th Grade

15 Qs

Python

Python

9th Grade

15 Qs

Y9 - T2 - L6 - HOMEWORK

Y9 - T2 - L6 - HOMEWORK

9th Grade

20 Qs

Variables and Data Types Knowledge Check

Variables and Data Types Knowledge Check

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Cedra Wilson

Used 25+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following values would NOT be stored in an "floating point" variable?

-1.723

25.0

"Flowers"

$4.50

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following values would be stored in an "integer" variable?

"Seventy"

7.0

70

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be displayed on the output panel when the following code is run?

data = 750

print(data)

750

class 'int'

Error Message

data

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type would best hold the numeric value  3.14159?

Boolean

Integer

Floating Point

String

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Strings are a group of characters with either single or double _______  _________.

Quotation Marks

Exclamation Mark

Backslash

Asterisk

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False | Anything is a string as long as it is in quotations marks.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False | You can start a string with a single quotation and end with a double quotation without receiving an error.

True

False

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?