p5.js activity

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

Melida Grullon
Used 35+ times
FREE Resource
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
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
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
Which code sets the canvas' color to "pink" in p5.js?
background-color('pink');
background('pink');
bg('pink');
bg-color('pink');
Similar Resources on Wayground
10 questions
Básicas de JavaScript

Quiz
•
10th Grade
10 questions
Originality in Educational Game Projects Using p5.js

Quiz
•
12th Grade
10 questions
MPLS

Quiz
•
10th Grade
9 questions
مراجعة درس الموقع الإلكتروني التفاعلي

Quiz
•
9th - 12th Grade
12 questions
Examen Diagnostico Aplicaciones computacionales web y móviles V2

Quiz
•
12th Grade
10 questions
Avaliação 1T - JavaScript

Quiz
•
9th - 12th Grade
11 questions
Библиотека PyGame

Quiz
•
10th Grade
10 questions
Computer Programming - Reviewer 1

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade