AC1_7Programming and Variable Quiz

Passage
•
Computers
•
6th - 8th Grade
•
Hard
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
Similar Resources on Wayground
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
10 questions
Python Statements

Quiz
•
5th - 7th Grade
10 questions
JavaScript Vocabulary Sheet (CodeHS – Karel the Dog)

Quiz
•
8th Grade
10 questions
Programming Fundamentals Recap

Quiz
•
8th Grade
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
13 questions
Python Operators & Expressions

Quiz
•
8th - 11th Grade
10 questions
Algorithms & Pseudocode

Quiz
•
8th - 12th Grade
13 questions
Scratch

Quiz
•
8th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade