• Parameters
• Variables
• Functions
• fdsgfds

• True
• False
• #### 3.  HSB stands for ...

• Height, Saturation, Boldness
• Hue, Saturation, Brightness
• Height, Sanitation, Brightness
• Hue, Statistics, Boldness

• 0 - 255
• 0 - 100
• 50 - 550
• 0 - 250
• #### 5.  What, if anything, is the difference between function setup () and function draw()?

• Function setup is a loop and function draw only runs once.
• There are no differences.
• Function setup and function draw are both loops but they allow the programmer to do different things.
• Function setup runs once and function draw is a loop.
• #### 6.  Which of the following is the correct syntax for drawing a triangle?

• triangle(x1,y1,x2,y2,x3,y3);
• triangle(x1,x2,x3,y1,y2,y3);
• tri(x1,y1,x2,y2,x3,y3);
• tri(x1,y1,x2,y2,x3,y3, width, height);
• #### 7.  'Background, arc, and ellipse' are all examples of ______________ in p5.js.

• functions
• custom variables
• shapes
• parameters
• #### 8.  The 3 steps involved in creating a custom variable are...

• name, declare, initialize
• declare, initialize, use
• initialize, declare, use
• name, use, declare

• stroke
• weight
• transparency
• size

• 70
• 120
• 150
• 180
• #### 11.  At what points (radians) will the following arc start and end? arc(100, 100, 90, 90, PI, 2*PI);

• Start - 90, End 360
• Start - 0, End 270
• Start - 180, End 360
• Start - 180, End 270
• #### 12.  Which of the following is the correct syntax for drawing a rectangle?

• Rect(x,y,width,height);
• rect(x,y,width,height);
• rect(width, height, x, y)
• rect(x1, x2, y1, y2, width, height);
• #### 13.  Which option shows accurate code to display this arc?

• arc(100, 100, 90, 90, PI, PI/2);
• arc(100, 100, 90, 90, PI/2, 2*PI);

• 70
• 120
• 150
• 180
• #### 15.  Initializing a custom variable means that you are...

• setting the variable equal to some value
• naming the variable
• telling P5 that the variable exists
• all of the above
Report Question
access_time