Grasshopper App Quiz

Grasshopper App Quiz

4th - 6th Grade

15 Qs

quiz-placeholder

Similar activities

Variables & Data Types

Variables & Data Types

6th - 12th Grade

10 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Basic Python Key Terms

Basic Python Key Terms

6th - 8th Grade

20 Qs

Pascal Assessment

Pascal Assessment

3rd - 4th Grade

10 Qs

Python Quiz 🐍

Python Quiz 🐍

2nd - 8th Grade

10 Qs

LEVEL ZERO BEGINNERS B003 EXAMS

LEVEL ZERO BEGINNERS B003 EXAMS

4th Grade

20 Qs

Python Quiz - 4

Python Quiz - 4

4th - 11th Grade

10 Qs

Grasshopper App Quiz

Grasshopper App Quiz

Assessment

Quiz

Computers

4th - 6th Grade

Hard

Created by

Chongbang Binod

Used 99+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do I declare a new variable?
var newVariable = 5;
Variable int = new Variable();
var 5 = myVariable;
int var = 5;

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?
var numApples == 20;
20 = numApples;
var numApples = 20;
var num apples = 20;

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;
3
5
15
0

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'

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?