Search Header Logo

Variables and Data Types Knowledge Check

Authored by Cedra Wilson

Computers

9th - 12th Grade

Used 37+ times

Variables and Data Types Knowledge Check
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?