TEST 12.10

TEST 12.10

Assessment

Flashcard

Computers

1st Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

How do you create a canvas with a width of 800 pixels and a height of 600 pixels in p5.js? You have 30 seconds to answer. Options: createCanvas(600, 800);, createCanvas(800, 600);, canvas(800, 600);, canvas(600, 800);

Back

createCanvas(800, 600);

2.

FLASHCARD QUESTION

Front

In p5.js, what function is used to draw a rectangle?

Back

rect()

3.

FLASHCARD QUESTION

Front

How would you set the background color of the canvas to a shade of gray in p5.js? You have 30 seconds to answer. Options: background(grey);, backgroundColor(grey);, background(128);, setCanvasColor(128);

Back

background(128);

4.

FLASHCARD QUESTION

Front

In a classroom, Luna is working on a p5.js canvas. What are the coordinates of the top left corner?

Back

0,0

5.

FLASHCARD QUESTION

Front

What is the height of the following oval (aka ellipse)? ellipse(70, 120, 150, 180);

Back

180

6.

FLASHCARD QUESTION

Front

What is the y coordinate of the following rectangle? You have 30 seconds to answer.
rect(70, 120, 150, 180);

Back

120

7.

FLASHCARD QUESTION

Front

What function do we use to add color to the INSIDE of a shape in p5.js?

Back

fill();

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?