NEW
Font size
WorksheetsComp Prog A 9-3-21
Total questions: 10
Worksheet time: 12mins
Which picture matches the output of this program?
A
B
C
D
Which picture matches the output of this program?
A
B
C
D
Which picture matches the output of this program?
A
B
C
D
What color would fill(255,255,255) make?
white
black
gray
red
Which print would cause an error
Line 3
Line 7
Both Line 3 and Line 7
Neither print will cause an error
Which word means assigning a variable its first value?
scope
initialization
declaration
instance
Which word means the part of a program where a variable can be used?
scope
initialization
declaration
instance
What are comments used for in a JavaScript program?
to identify the programmer and the purpose of the program
to organize and label the parts of a program
to temporarily disable code
all of these
Which picture matches the output of this program?
A
B
C
D
How many ellipses will be drawn?
3
4
5
6
