p5.js Week1 PREtest

p5.js Week1 PREtest

7th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

Logos - Digital Images

Logos - Digital Images

2nd - 10th Grade

10 Qs

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

CLASS 7 COMPUTER CH-3 QUIZ

CLASS 7 COMPUTER CH-3 QUIZ

7th Grade

11 Qs

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Grade 11 Term 4 Practice 2

Grade 11 Term 4 Practice 2

11th Grade

10 Qs

Micro:bit assessment 1

Micro:bit assessment 1

7th - 8th 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

Already have an account?