P5.js Quiz

P5.js Quiz

6th - 8th Grade

28 Qs

quiz-placeholder

Similar activities

CodeHS Canvas and Graphics

CodeHS Canvas and Graphics

6th - 10th Grade

30 Qs

Full Stack Web and Mobile with Nuxt NodeJS and Flutter

Full Stack Web and Mobile with Nuxt NodeJS and Flutter

7th Grade

30 Qs

Javascript Basics

Javascript Basics

7th Grade - University

24 Qs

MIT APP INVENTOR Review

MIT APP INVENTOR Review

6th - 8th Grade

30 Qs

Photoshop Midterm Review Nathan Ulatowski

Photoshop Midterm Review Nathan Ulatowski

6th Grade - Professional Development

25 Qs

5.6 Excel Quizizz

5.6 Excel Quizizz

8th - 12th Grade

24 Qs

Windows OS: Topic 1

Windows OS: Topic 1

7th Grade

25 Qs

P5.js Quiz

P5.js Quiz

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Digital dreams

Used 3+ times

FREE Resource

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What function do we use to create rectangles?

ellipse()

line()

arc()

rect()

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is a function?

A toaster

Lines of code that perform specific tasks

Input

Kale Chip

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Parameters

Variables

Functions

gloopity gloop

4.

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)

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

What is the y coordinate of the following rectangle?

rect(70, 120, 150, 180);

70

120

150

180

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following has the correct function, parameters and syntax for drawing a rectangle?

Rect(x,y,width,height);

rect(x,y,width,height);

rect(width, height, x, y)

rect(x1, x2, y1, y2, width, height);

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?