T3 Y7 Grasshopper App

T3 Y7 Grasshopper App

7th - 9th Grade

8 Qs

quiz-placeholder

Similar activities

Coding Review

Coding Review

9th - 10th Grade

10 Qs

Graphics Programming Review

Graphics Programming Review

8th - 10th Grade

10 Qs

Python Quiz 🐍

Python Quiz 🐍

2nd - 8th Grade

10 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Unit 1 Post Test: Basic Python

Unit 1 Post Test: Basic Python

9th - 12th Grade

10 Qs

Python Variables

Python Variables

6th - 8th Grade

11 Qs

Python Casting & Data Types

Python Casting & Data Types

9th - 12th Grade

11 Qs

Project-Stem Unit 1 python coding

Project-Stem Unit 1 python coding

9th - 12th Grade

12 Qs

T3 Y7 Grasshopper App

T3 Y7 Grasshopper App

Assessment

Quiz

Computers

7th - 9th Grade

Hard

Created by

Lefteris Tavelis

Used 26+ times

FREE Resource

8 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'

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which code will draw a box only if the blue property of rgbObject is more than 10?

Media Image
Media Image
Media Image