P5.js Advanced

P5.js Advanced

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground 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

Access all questions and much more by creating a free account

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

Already have an account?