P5 Editor

Quiz
•
Computers
•
4th - 8th Grade
•
Medium
Natasha Mathew
Used 17+ times
FREE Resource
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
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
Which code sets the canvas' color to "pink" in p5.js?
background-color('pink');
bg('pink');
background('pink');
bg-color('pink');
Create a free account and access millions of resources
Similar Resources on Wayground
21 questions
Web Developer Career Quiz

Quiz
•
8th Grade
20 questions
tic tac toe with ai

Quiz
•
7th Grade
15 questions
Revision Quiz (Computer hardware - IPO Cycle)

Quiz
•
4th Grade
17 questions
Computer Programming Languages

Quiz
•
4th - 6th Grade
20 questions
Javascript Basics Test

Quiz
•
7th - 12th Grade
20 questions
JavaScript Basics Review

Quiz
•
7th - 12th Grade
18 questions
js basics

Quiz
•
4th Grade - University
20 questions
Spreadsheets Interim Homework

Quiz
•
8th 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
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
Keyboard Typing

Quiz
•
4th Grade
20 questions
Digital Citizenship

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

Quiz
•
8th - 9th Grade