p5.js Week1 PREtest

p5.js Week1 PREtest

7th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

Quiz sobre p5.js (aulas 3 e 4)

Quiz sobre p5.js (aulas 3 e 4)

10th Grade - University

10 Qs

JavaScript

JavaScript

9th - 12th Grade

12 Qs

Quiz sobre Funções em p5.js

Quiz sobre Funções em p5.js

1st Grade - University

10 Qs

Exploring p5.js Drawing Properties

Exploring p5.js Drawing Properties

8th Grade

10 Qs

Quiz sobre p5.js: Criatividade e Programação Visual

Quiz sobre p5.js: Criatividade e Programação Visual

12th Grade

11 Qs

Quiz: 802/841

Quiz: 802/841

7th - 8th Grade

18 Qs

JavaScript Graphics

JavaScript Graphics

9th - 12th Grade

10 Qs

Quiz de Funções em p5.js

Quiz de Funções em p5.js

10th Grade - University

10 Qs

p5.js Week1 PREtest

p5.js Week1 PREtest

Assessment

Quiz

Computers

7th - 12th Grade

Medium

Created by

Alicia Kostecki

Used 49+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Parameters

Variables

Functions

gloopity gloop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Brackets

Ellipses

Variables

Parameters (or Arguments)

3.

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.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

0,0

100,100

-width, -height

It depends on the size of the canvas

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

'Background, arc, and ellipse' are all examples of ______________ in p5.js.
functions
custom variables
shapes
parameters

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What are some shapes we can create (with a single function) in p5.js?

Rectangle

Circle

Dog

Triangle

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

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?