Grasshopper App Quiz

Grasshopper App Quiz

4th - 6th Grade

15 Qs

quiz-placeholder

Similar activities

QBasic

QBasic

6th Grade

20 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python Basics

Python Basics

KG - University

16 Qs

Variables Warm Up

Variables Warm Up

6th - 8th Grade

10 Qs

Javascript Arrays

Javascript Arrays

5th Grade

18 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

python quiz

6th Grade - Professional Development

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?