wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Variables, Labeling Axes and Code Order

Total questions: 15

Worksheet time: 20mins

Name
Class
Date
1.

Which answer contains the code to draw this image?

a)
b)
c)
d)
2.

Why is the order of the code important?

a)

It is important because it goes from top to bottom.

b)

It is important because if you don't pay close attention to where you put things, you might not see all your shapes.

c)

It is not important.

d)

It is important because following the same order every time prevents you from making mistakes.

3.

Which of the numbers represents the width of the ellipse?

a)

200

b)

100

c)

300

d)

150

4.

Which of the numbers represents the height of the ellipse?

a)

200

b)

100

c)

300

d)

150

5.
Bug
a)
Part of a program that does not work correctly.
b)
the rate at which frames in an animation are shown, typically measured in frames per second
c)
An algorithm that has been coded into something that can be run by a machine.
d)
A graphic character on the screen with properties that describe its location, movement, and look.
6.

What is y value in the following code?

rect(250, 200, 75, 225);

a)

250

b)

200

c)

75

d)

225

7.

What is the variable for this label?

a)

size

b)

name

c)

location

d)

value

8.
What is the command name of variable?
a)
Variable
b)
Size
c)
Var
d)
X
9.

What color will the ellipses be according to the code in the picture?

a)

yellow

b)

orange

c)

blue

d)

purple

10-19.

Answer the questions below after watching the video

10.

What is one of the key steps in the engineering process?

a)

Final product sale

b)

Testing proposed solutions

c)

Hypothesis creation

d)

Marketing analysis

11.

What should engineers change to test their solutions effectively?

a)

All variables randomly

b)

Only one variable at a time

c)

Multiple variables at once

d)

No variables at all

12.

What does isolating a variable help engineers determine?

a)

The cost of materials

b)

Why a solution works or doesn't

c)

The color of the final product

d)

The marketing strategy

13.

What happens if multiple variables are changed at once during testing?

a)

It is impossible to determine the effect of each variable

b)

It simplifies the test

c)

It makes the test invalid

d)

It helps identify the best variable

14.

What was the successful variable change in the slingshot experiment?

a)

The angle of the slingshot

b)

The size of the slingshot

c)

The strength of the pull

d)

The type of marshmallows

15.

What is the purpose of setting criteria in engineering tests?

a)

To determine the price

b)

To judge the success of a solution

c)

To design the product logo

d)

To choose the project team

16.

In the bowling experiment, what variable was initially chosen to be isolated?

a)

The weight of the ball

b)

The speed of the throw

c)

The color of the ball

d)

The angle of the throw

17.

Why was it difficult to maintain the same speed in the bowling experiment?

a)

The pins were misaligned

b)

The lane was inconsistent

c)

Arm fatigue affected the throw

d)

The ball was defective

18.

Why was using a ball ramp considered in the bowling experiment?

a)

To make the game harder

b)

To increase the fun

c)

To change the ball color

d)

To keep the throwing speed consistent

19.

What ensures a test's success according to the criteria set by engineers?

a)

Changing as many variables as possible

b)

Testing without any plan

c)

Using the most expensive materials

d)

Isolating and testing one variable at a time

20.
When they're trying to solve a problem, engineers follow a series of _____
a)
steps
b)
problems
c)
solutions
d)
tests
21.

What is the main goal of the design process?

a)

To write reports

b)

To make things

c)

To make charts and graphs

d)

To find solutions to problems

22.

What does prototyping involve in the Engineering Design Process?

a)

Selling the final product

b)

Creating a detailed business plan

c)

Building a model or example of the solution

d)

Writing a report on the problem

23.

After testing and evaluating the prototype, what might be a next step in the Engineering Design Process if the solution is not yet satisfactory?

a)

Abandon the project

b)

Start from the beginning

c)

Redesign and improve the solution

d)

Sell the prototype as is

24.

Why is creating a prototype considered a critical step in the engineering design process?

a)

It is the only step that involves physical materials.

b)

It allows the design team to test the solution in the real world.

c)

It is the final step of the process.

d)

It replaces the need for brainstorming.