AC1_7Programming and Variable Quiz

AC1_7Programming and Variable Quiz

6th - 8th Grade

8 Qs

quiz-placeholder

Similar activities

Logical tests and programming constructs

Logical tests and programming constructs

7th Grade

10 Qs

Looping / Conditionals

Looping / Conditionals

6th - 8th Grade

12 Qs

Programming - Syntax & Logic Errors

Programming - Syntax & Logic Errors

3rd - 12th Grade

10 Qs

Python

Python

8th Grade

12 Qs

Python Statements

Python Statements

5th - 7th Grade

10 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Principles of Programming

Principles of Programming

KG - University

13 Qs

Module 5: Snake Charmer vocabulary review

Module 5: Snake Charmer vocabulary review

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