AC1_7Programming and Variable Quiz

AC1_7Programming and Variable Quiz

6th - 8th Grade

8 Qs

quiz-placeholder

Similar activities

Python Basics - Year 8

Python Basics - Year 8

7th - 9th Grade

14 Qs

Python Operators & Expressions

Python Operators & Expressions

8th - 11th Grade

13 Qs

App Creators - Activity 1.7

App Creators - Activity 1.7

6th - 8th Grade

13 Qs

Python for Class 7

Python for Class 7

7th - 8th Grade

11 Qs

Coding Vocabulary

Coding Vocabulary

8th Grade

14 Qs

Variables and Operators

Variables and Operators

6th - 7th Grade

10 Qs

JavaScript Vocabulary Sheet (CodeHS – Karel the Dog)

JavaScript Vocabulary Sheet (CodeHS – Karel the Dog)

8th Grade

10 Qs

Small basic

Small basic

6th - 7th Grade

10 Qs

AC1_7Programming and Variable Quiz

AC1_7Programming and Variable Quiz

Assessment

Passage

Computers

6th - 8th Grade

Hard

Created by

Alvin Bugtai

Used 1+ times

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of y after the second assignment statement y = 5 in the code tracing example?

15

10

20

5