P5.js Advanced

P5.js Advanced

9th - 12th Grade

29 Qs

quiz-placeholder

Similar activities

Examen Trimestral de Informática 2°ABCDE

Examen Trimestral de Informática 2°ABCDE

8th Grade - University

25 Qs

Prueba - Bach Informática

Prueba - Bach Informática

11th Grade

25 Qs

Y7 Introduction to Computing Assessment

Y7 Introduction to Computing Assessment

8th - 9th Grade

25 Qs

ADM. INFRASTRUKTUR JARINGAN

ADM. INFRASTRUKTUR JARINGAN

12th Grade

25 Qs

grade 7- spreadsheet model- review-week 25,26

grade 7- spreadsheet model- review-week 25,26

3rd - 10th Grade

24 Qs

Quiz - DHCP Server DS

Quiz - DHCP Server DS

11th Grade

25 Qs

ULANGAN SEMESTER GENAP MAPEL SKD

ULANGAN SEMESTER GENAP MAPEL SKD

12th Grade - University

25 Qs

P5.js Advanced

P5.js Advanced

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Nicole Baz

Used 34+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following best describes p5.js?

An AI-tool

A Hyper Text Markup Language

A python-based programming language

A JavaScript library

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

console 
canvas
variable
palate

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

__________________ 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.

Brackets 
Ellipses
Variables
Parameters

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a built in variable in P5.js?

background
varX
mouseX
rect

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

Function setup is a loop and function draw only runs once.
There are no differences.
Function setup and function draw are both loops but they allow the programmer to do different things.
Function setup runs once and function draw is a loop.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

functions
custom variables
shapes
parameters

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

5
1
4
2

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?