Grasshopper App Quiz

Grasshopper App Quiz

4th - 6th Grade

15 Qs

quiz-placeholder

Similar activities

LEVEL ZERO BEGINNERS B003 EXAMS RERUN

LEVEL ZERO BEGINNERS B003 EXAMS RERUN

4th Grade

20 Qs

Python Basics Revision

Python Basics Revision

6th - 8th Grade

13 Qs

Input, Output, Variables and Operators

Input, Output, Variables and Operators

5th Grade

20 Qs

Python basics

Python basics

6th - 8th Grade

15 Qs

Python Plus : Rock, Paper, Scissors

Python Plus : Rock, Paper, Scissors

6th - 8th Grade

10 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Input and Output Operations in Python

Input and Output Operations in Python

6th - 10th Grade

11 Qs

Python Inputs

Python Inputs

6th - 10th Grade

11 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?