
Coding: Variables
Authored by Kate Decena
Instructional Technology
3rd - 8th Grade
CCSS covered
Used 239+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For the following pseudocode:
takeoff;
if (Alexa said Hello),
I say "Stop Alexa"
else
I say "Hi Alexa"
If my Alexa says "Good Morning", what will I say?
Stop Alexa
Hi Alexa
Good Morning, Alexa
Nothing
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For the following pseudocode:
set number to 2;
if (get number is 8)
flip forward;
else if (get number is 2)
flip right;
else
flip backwards;
What will my drone do?
flip backwards
flip forward
flip right
nothing
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For the following pseudocode:
set number to 10;
if (get number is 8)
flip forward;
else if (get number is 2)
flip right;
else
flip backwards;
What will my drone do?
flip backwards
flip forward
flip right
nothing
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For the following pseudocode:
set distance to 1;
go forward for (get distance) seconds;
change distance by 1;
go forward for (get distance) seconds;
change distance by -1;
What is my distance in the end?
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For the following pseudocode:
set distance to 1;
go forward for (get distance) seconds;
change distance by 1;
go forward for (get distance) seconds;
change distance by -1;
What is my distance in the beginning?
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A variable is used to...
tell if an expression is true or false
repeat the same instructions over and over again
store information to be referenced and used by programs
store information so that it is never used in the program
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In the game of Pacman, what is an example of a variable?
Pacman
Lives
Time
All of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?