p5.js Week1 PREtest

p5.js Week1 PREtest

Assessment

Flashcard

Computers

7th - 12th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

13 questions

Show all answers

1.

FLASHCARD QUESTION

Front

In this image, createCanvas and background are examples of _____.

Back

Functions

2.

FLASHCARD QUESTION

Front

Numbers inside of the parentheses following the name of the function, which provide information the function needs, are called ________.

Back

Parameters (or Arguments)

3.

FLASHCARD QUESTION

Front

What is the difference between function setup () and function draw()?

Back

Function setup runs once and function draw is a loop.

4.

FLASHCARD QUESTION

Front

In a p5.js canvas, what are the coordinates of the top left corner?

Back

0,0

5.

FLASHCARD QUESTION

Front

'Background, arc, and ellipse' are all examples of ______________ in p5.js.

Back

functions

6.

FLASHCARD QUESTION

Front

How many parameters are there in the code for drawing a line in p5.js?
Hint: line(x1,y1,x2,y2)

Back

4

7.

FLASHCARD QUESTION

Front

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

Back

180

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?