Search Header Logo

AC1_7Programming and Variable Quiz

Authored by Alvin Bugtai

Computers

6th - 8th Grade

Used 1+ times

AC1_7Programming and Variable Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A type of data used to store information

A placeholder in a device's memory that stores a value

A form of conditional statement

A type of algorithm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type can be used to store text in programming?

Integer

String

Float

Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of x after the third assignment statement x = x + 2 in the code tracing example?

2

5

13

12

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the flowchart example, what is the value of y after the third assignment statement y = x * 2?

15

25

10

20

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the conditional statement example, what is the fall weather set to when the temperature is 65 degrees?

Warm

Hot

Cold

Mild

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data type is used to store whether a condition is true or false in programming?

Float

Integer

Boolean

String

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a trace table in programming?

To initialize and update variables

To store values about a component

To trace an algorithm step by step

To track the time left and the score in a game

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?