Quiz #2

Is this your test? Login to manage it. If not, you can make an exam just like it.

This is a non-interactive preview of the quiz content.

1.
1 point
After running this code:
var w = 20;
var h = 150;
rect(10, 10, w, h);
ellipse(10, 10, w, h);
How tall will the two shapes be?
2.
1 point
Make an ellipse that is wide and short near the middle of the screen
3.
1 point
After running this code:
var rectWidth = 30;
rect(10, 10, rectWidth, rectWidth);
How wide will the resulting rectangle be?
4.
1 point
var x = 57;
var y = 45
What is the value of x?
5.
1 point
After running this code:
var w = 20;
var h = 45;
rect(10, 10, w, h);
ellipse(10, 10, w, h);
How tall will the two shapes be?
6.
1 point
After running this code:
var x = 75;
rect(10, 20, 30, 40);
ellipse(x, 20, 15, 30);
ellipse(x, 10, 20, 30);
What x position will the ellipse()s be at?
7.
1 point
After running this code:
var x = 55;
y = 100
rect(10, 20, 30, 40);
ellipse(x, y, 15, 30);
ellipse(x, y, 20, 30);
What y position will the ellipse()s be at?
8.
1 point
After running this code:
var x = 10;
var y = 25;

rect(x, y, 10, 10);
What y position will the rectangle be at?
9.
1 point
Make a rectangle that is in the center of the screen that is long and skinny
10.
1 point
After running this code:
var sizeX = 5;
var sizeY = 99
What is the value of sizeX?