MCQ Mojo
access_time
menu
Quiz
Web Stories
CBSE
arrow_drop_down
MCQ Questions for CBSE Class 12 with Answers
MCQ Questions for CBSE Class 11 with Answers
MCQ Questions for CBSE Class 10 with Answers
MCQ Questions for CBSE Class 9 with Answers
MCQ Questions for CBSE Class 8 with Answers
MCQ Questions for CBSE Class 7 with Answers
MCQ Questions for CBSE Class 6 with Answers
MCQ Questions for CBSE Class 5 with Answers
MCQ Questions for CBSE Class 4 with Answers
MCQ Questions for CBSE Class 3 with Answers
MCQ Questions for CBSE Class 2 with Answers
MCQ Questions for CBSE Class 1 with Answers
CBSE
arrow_drop_down
MCQ Questions for CBSE Class 12 with Answers
MCQ Questions for CBSE Class 11 with Answers
MCQ Questions for CBSE Class 10 with Answers
MCQ Questions for CBSE Class 9 with Answers
MCQ Questions for CBSE Class 8 with Answers
MCQ Questions for CBSE Class 7 with Answers
MCQ Questions for CBSE Class 6 with Answers
MCQ Questions for CBSE Class 5 with Answers
MCQ Questions for CBSE Class 4 with Answers
MCQ Questions for CBSE Class 3 with Answers
MCQ Questions for CBSE Class 2 with Answers
MCQ Questions for CBSE Class 1 with Answers
Quiz
Quiz
/
P5.js Class 7 MCQ Questions With Answers
1.
What are some shapes we can create (with a single function) in p5.js?
Rectangle
Circle
Triangle
All Of above
2.
What function do we use to add color to the OUTLINE of a shape in p5.js?
fill();
stroke();
outline();
line();
3.
Numbers inside of the parentheses following the name of the function, which provide information the function needs, are called ________.
Brackets
Ellipses
Variables
Parameters (or Arguments)
4.
What is the y coordinate of the following rectangle?rect(70, 120, 150, 180);
70
120
150
180
5.
What is the height of the following oval (aka ellipse)?ellipse(70, 120, 150, 180);
70
120
150
180
6.
What function do we use to add color to the INSIDE of a shape in p5.js?
fill();
color();
colorize();
paint();
7.
In a p5.js canvas, what are the coordinates of the top left corner?
0,0
100,100
-width, -height
It depends on the size of the canvas
8.
Which of the following has the correct function, parameters and 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);
9.
In this image, createCanvas and background are examples of _____.
Parameters
Variables
Functions
gloopity gloop
Report Question
Previous
Next
warning
Submit
access_time
Time
Report Question
A bunch of text
Support mcqmojo.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page