NEW
Font size
S
M
L
XL
WorksheetsJava Script
Total questions: 8
Worksheet time: 2mins
Name
Class
Date
1.
What command draws a rectangle?
a)
rec (10, 20, 100, 200);
b)
rect (10, 20, 100, 200)
c)
rect (10, 20, 100, 200);
d)
ellipse (10, 20, 40, 40)
2.
Which command colors the background of your canvas?
a)
background
b)
endShape
c)
var = color
d)
fill
3.
What command removes the outlines from shapes?
a)
noOutline ();
b)
noColor();
c)
noBorder();
d)
noStroke ();
4.
What command draws a perfect circle?
a)
ellipse (80, 60, 100, 105);
b)
ellipse(80, 60, 100, 100);
c)
circle (80, 60, 80, 60):
d)
ellipse (80, 60, 105, 100);
5.
What command colors a shape?
a)
color (43, 255, 0);
b)
bucket (43, 255, 0);
c)
fill (43, 255, 0);
d)
bucket (43, 255, 0);
6.
What command draws a line?
a)
stroke (200, 220, 275, 220);
b)
line (200, 220, 275, 220);
c)
horizontal (200, 220, 60, 75);
d)
pencil (200, 220, 275, 220);
7.
What is at the end of a line of code?
a)
#
b)
;
c)
)
d)
>
8.
How do you turn in your JavaScript assignment?
a)
A link to the Padlet
b)
Click finished in Khan Academy
c)
Add link Spin off link to Google Classroom
d)
Print it out
Reset
