P5 Editor

P5 Editor

4th - 8th Grade

20 Qs

quiz-placeholder

Similar activities

SD1 MLS1 EXCUL

SD1 MLS1 EXCUL

KG - 4th Grade

15 Qs

Revision quiz

Revision quiz

5th - 6th Grade

15 Qs

Grade 5 (Third Quarter)

Grade 5 (Third Quarter)

6th Grade

15 Qs

Do You Know Your Keyboard?

Do You Know Your Keyboard?

5th - 10th Grade

15 Qs

News and computers today revision

News and computers today revision

4th Grade

20 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

DPS Jorhat - Robotics Skill Assessment

DPS Jorhat - Robotics Skill Assessment

6th - 8th Grade

20 Qs

image in a document

image in a document

5th Grade

15 Qs

P5 Editor

P5 Editor

Assessment

Quiz

Computers

4th - 8th Grade

Practice Problem

Medium

Created by

Natasha Mathew

Used 19+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is p5.js ?

It is a header file

It is programming language

It is a Javascript library

It is an online compiler

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function in p5 is executed only once?

draw()

rect()

setup()

createCapture()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function do we use to create circle?

ellipse()

line()

arc()

circle()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct code to create a rectangle in p5.js?

rect();

rectangle(20,20,40,50);

rect(40,120,120,40);

rect(40,120);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function do we use to add color to a shape in p5.js?

color();

fill();

paint();

noFill();

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Which are correct ways to add color to a shape in p5.js?

fill(‘yellow’);

fill(amarillo);

fill(255,255,0);

fill(‘#ebe12d’);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which code sets the canvas' color to "pink" in p5.js?

background-color('pink');

bg('pink');

background('pink');

bg-color('pink');

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?