
T3 Y7 Grasshopper App
Authored by Lefteris Tavelis
Computers
7th - 9th Grade
Used 26+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do I declare a new variable?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A store has 20 apples in inventory.How can you store this information in a JavaScript variable?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After running the following code, what will be the value of x?
y = 3;
x = 5 * y;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code print out?
var y = 5;
var x = y;
print(x);
5
y
x
5x
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code print out?
var word = 'alphabet';
var alphabet = 'word';
print(alphabet);
print(alphabet)
'word'
'alphabet'
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable is storing an array?
var myShoes = 'sneakers, highHeels, pumps';
var yourShoes = [
'sneakers'
'highHeels'
'pumps'
];
var shoeColor = drawBox(blue);
shoeColor
myShoes
yourShoes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What code would you write to check if the grasshopper variable is holding the word 'happy'?
var grasshopper = 'happy';
grasshopper = 'happy'
grasshopper === 'happy'
'happy'
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?