p5.js activity

p5.js activity

9th - 12th Grade

7 Qs

quiz-placeholder

Similar activities

Validación de Datos

Validación de Datos

10th Grade

10 Qs

10° Bimestral informática 3° periodo

10° Bimestral informática 3° periodo

10th Grade

10 Qs

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

1st - 10th Grade

10 Qs

Tecnología Digital

Tecnología Digital

12th Grade

12 Qs

Nhanh tay- Nhanh trí - Bài 1-Tin9

Nhanh tay- Nhanh trí - Bài 1-Tin9

7th Grade - University

10 Qs

Structs em C

Structs em C

9th - 12th Grade

10 Qs

Ley de Ohm

Ley de Ohm

10th Grade

10 Qs

Uji Coba Khu

Uji Coba Khu

10th - 12th Grade

8 Qs

p5.js activity

p5.js activity

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Melida Grullon

Used 35+ times

FREE Resource

AI

Enhance your content in a minute

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

7 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

What are some shapes we can create with p5.js?

Rectangle

Circle

Dog

Triangle

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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

rectangle(40,120);

rect(40,120,120,40);

rectangle(40,120,120,40);

rect();

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

How do I create a rectangle located 50px to the right and 80px down on the canvas?

rect(40,100,80,50);

rect(100,40,50,80);

rect(80,50,100,40);

rect(50,80,100,40);

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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

fill();

color();

colorize();

paint();

5.

MULTIPLE SELECT QUESTION

2 mins • 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’);

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which code makes an ellipse measuring 140px width and 100px height?

ellipse(175, 130, 100, 140);

circle(175, 130, 140, 100);

ellip(175, 130, 140, 100);

ellipse(175, 130, 140, 100);

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

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

background-color('pink');

background('pink');

bg('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?