Search Header Logo

2.3 Programming Data Review

Authored by JENNIFER MCGEE

Information Technology (IT)

9th - 12th Grade

Used 1+ times

2.3 Programming Data Review
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 is the BEST example of a variable name?

a1

x

high_score

123score

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of a variable in programming?

To store data

To print data

To delete data

To sort data

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following would be considered a constant?

Number of goals scored in a game

Today’s lunch menu

The value of pi (3.14159)

A student’s daily attendance count

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A variable that does not change during a program is called a __________.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable can only change once in a program.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a variable and a constant?

A constant never changes, but a variable can

A variable never changes, but a constant can

Both can change values

Constants are always numbers, variables are words

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT a good variable name?

total_points

playerLives

score2

thing

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?