
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
Tables in HTML
Quiz
•
7th - 8th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
Device and Network Security
Quiz
•
7th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
What is a program slides(6:16)
Quiz
•
8th - 12th Grade
10 questions
Pre-Test: Search Engine
Quiz
•
7th Grade
10 questions
Pioneers of Computer
Quiz
•
7th - 8th Grade
10 questions
Grade 6 sp1.2 week 19
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade