Search Header Logo

Variables and Data Types

Authored by Audrey Hudson

Education

6th - 8th Grade

Used 1+ times

Variables and Data Types
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a float?

'Hello World!'

7.5

83

h

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following would be considered a good variable name?

student height

studentheight

StUdEnThEiGhT

student_height

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of an integer?

100

1000.01

'i love math'

'seven'

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select everything to consider when naming a variable

Capitalization

Clarity

(does this name make sense)

Specificness

Length

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a string?

49

'I love my intro to coding class!'

6.8

l

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a character?

0.789

205

k

'hello.'

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A variable that holds a decimal number

String
boolean
int
float

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?