P5 Editor

Quiz
•
Computers
•
4th - 8th Grade
•
Medium
Natasha Mathew
Used 14+ 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
20 questions
Unit 3 - Game Lab, Shapes, Var, Sprites (1 - 8)

Quiz
•
8th Grade
16 questions
Game Lab Shapes 1

Quiz
•
6th - 7th 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
20 questions
JavaScript Basics CodeHS

Quiz
•
7th - 12th Grade
20 questions
AQA GCSE Computer Science - 3.2.10 Subroutines

Quiz
•
8th - 10th Grade
16 questions
JAVAScript

Quiz
•
8th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade