p5.js activity
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Melida Grullon
Used 35+ times
FREE Resource
Enhance your content in a minute
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
12 questions
Remidi TLJ
Quiz
•
12th Grade
10 questions
Bài 21-Câu lệnh lặp while
Quiz
•
10th Grade
9 questions
Измерение информации
Quiz
•
8th - 10th Grade
10 questions
Cuestionario Steve Jobs
Quiz
•
12th Grade - University
10 questions
8° / 9° Pensamento Computacional
Quiz
•
9th Grade
10 questions
Основы программирования на языке Паскаль
Quiz
•
8th - 11th Grade
12 questions
Clase de Computación: Excel
Quiz
•
11th Grade
10 questions
สอบปลายภาคเรียน2/64 วิทยาการคำนวณ
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
