p5.js Week1 PREtest

p5.js Week1 PREtest

7th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

HTML

HTML

8th - 12th Grade

15 Qs

Q1 M 2 - TOPIC 2 / Check your understanding

Q1 M 2 - TOPIC 2 / Check your understanding

10th Grade

10 Qs

ICT - Networks and communication

ICT - Networks and communication

9th Grade

11 Qs

4Q Week3 Review Quiz (Who missed the Quiz ONLY))

4Q Week3 Review Quiz (Who missed the Quiz ONLY))

9th Grade

10 Qs

Traffic Light Project Quiz

Traffic Light Project Quiz

9th Grade

17 Qs

Cell Phone Vocabulary

Cell Phone Vocabulary

9th - 12th Grade

12 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

HARDWARE AND SOFTWARE

HARDWARE AND SOFTWARE

2nd - 10th Grade

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

AI

Enhance your content in a minute

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

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

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?