In computer science, variables

Code.org Express 3
Quiz
•
Computers
•
5th - 12th Grade
•
Hard
Used 13+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
are always represented by the letter x
are an unknown that you are trying to solve for
are a placeholder for information that can change in the program
cannot be used with conditionals and functions.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variable names
should always be numbers
will never contain numbers, only letters
will be similar to the names of conditionals, containing only the words true or false
should make sense based on what the variable represents
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variables can be used
only once in a program
only once and must be used within conditionals
only in "for loops"
can be used multiple times in a program
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A "constant" variable
sets the value of the variable once at the beginning of the program and never changes
sets the value of the variable only at the end of the program
is never useful when writing an algorithm
is an advanced use of variables
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All of the following are benefits of using variables EXCEPT
Using a constant allows you to change a variable in ONE place even though you have used the variable in MULTIPLE places
Makes code easier to read
Makes code easier to read and debug
variables make using code less flexible and not able to change.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When we initialize a variable, we
define the set of commands that the variable will run when called
give the variable a name and an initial value
always set the variable to the starting value of 0
give it initials, like a nickname
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
to write code, or to write instructions for a computer
code
event
program
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Python Introduction
Quiz
•
9th Grade
15 questions
Coding Pre-quiz
Quiz
•
6th - 9th Grade
15 questions
Motion in Scratch
Quiz
•
6th - 8th Grade
24 questions
Code.org Vocab
Quiz
•
6th - 7th Grade
15 questions
Code.org Unit 3 Lesson 3 and 4
Quiz
•
6th - 8th Grade
20 questions
Code.org Express Course
Quiz
•
6th - 8th Grade
15 questions
code.org variables
Quiz
•
3rd - 6th Grade
14 questions
Coding Vocabulary
Quiz
•
8th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions
Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts
Quiz
•
3rd Grade
