P5.js Advanced

P5.js Advanced

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

28 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which of the following best describes p5.js? Options: An AI-tool, A Hyper Text Markup Language, A python-based programming language, A JavaScript library

Back

A JavaScript library

2.

FLASHCARD QUESTION

Front

The area where all drawn graphics are displayed is known as the...

Back

canvas

3.

FLASHCARD QUESTION

Front

__________________ are the values inside of the parentheses following the name of the function. These values will be different based on the information that the function needs.

Back

Parameters

4.

FLASHCARD QUESTION

Front

Which of the following is an example of a built in variable in P5.js? Options: background, varX, mouseX, rect

Back

mouseX

5.

FLASHCARD QUESTION

Front

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

Back

Function setup runs once and function draw is a loop.

6.

FLASHCARD QUESTION

Front

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

Back

functions

7.

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

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?