Variables and Data Types Knowledge Check

Variables and Data Types Knowledge Check

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

Python Recap

Python Recap

7th Grade - University

20 Qs

Grade 12-Python selection&iteration

Grade 12-Python selection&iteration

11th - 12th Grade

15 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

Python Basics

Python Basics

KG - University

15 Qs

python quiz

python quiz

12th Grade

20 Qs

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

Python 1

Python 1

7th - 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?