Search Header Logo

Variables and Constants - Starter Activity

Authored by John Heatley

Information Technology (IT)

9th Grade

Used 1+ times

Variables and Constants - Starter Activity
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

37 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the type of data of the following value: “Hello”

String

Integer

Boolean

Array

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the type of data of the following value: ‘A’

Character (Char)

Integer (Int)

String

Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the type of data of the following value: 98675

Integer (Int)

String

Boolean

Float

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the type of data of the following value: 1.256

Float (or Double/Decimal)

Integer

String

Boolean

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the type of data of the following value: True

Boolean

String

Integer

List

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables and constants in programming are:

Values that can change and values that remain fixed during program execution.

Only values that can change during program execution.

Only values that remain fixed during program execution.

Unrelated to program execution.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables and constants are differentiated in code by their ability to change value. Which statement best explains their uses?

Variables can change value during program execution, while constants remain fixed.

Variables and constants both change value during execution.

Constants can change value, but variables cannot.

Variables and constants are not used in programming.

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?