
Coding Variables
Authored by Stephanie Placa
Computers
7th - 8th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How are variables created?
label=value;
var label = value;
var value;
var label;
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the following lines of code do?
1) var size = 100;
2) background("skyblue");
3) fill("yellow");
4)ellipse(400, 0, size, size);
Create a yellow ellipse in the top left corner.
Create a yellow ellipse in the top right corner.
There was an error due to the size in line 4.
None of the following answers.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Debug the following lines of code:
1) var 2bugs = 15;
2) fill("red");
3) ellipse(200, 200, bugs, bugs);
Line 1: label can't start with a number
Line 3: labels aren't the same as line 1
Line 1: the declaration of variables isn't done correctly
There is nothing to fix
4.
OPEN ENDED QUESTION
5 mins • Ungraded
Compare how to use variables in coding versus in math class.
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Determine the difference between = and ==.
= means gets the value
== means comment
== means gets the value
= means comment
= means gets the value
== means equal to
They are the same thing
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?
Similar Resources on Wayground
10 questions
Intro AI and Coding Quiz
Quiz
•
7th Grade
10 questions
Emerging technologies
Quiz
•
6th Grade - University
10 questions
App Development lesson 1
Quiz
•
8th - 9th Grade
10 questions
Microsoft Teams
Quiz
•
KG - 12th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
9 questions
Animal Rescue Centre Names
Quiz
•
7th Grade
10 questions
Karel Review 1.1-1.4
Quiz
•
6th - 7th Grade
10 questions
Grade 8
Quiz
•
8th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade