P5.js Review - Part 2

Quiz
•
Computers
•
10th Grade
•
Medium
Mr. Kedwell
Used 7+ times
FREE Resource
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following for loop would repeat how many times?
for ( let num = 1; num < 3; num = num + 1 ){
}
0
1
2
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following for loop would repeat how many times?
for ( let num = 1; num <= 3; num = num + 1 ){
}
0
1
2
3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following for loop would repeat how many times?
for ( let num = 0; num < 6; num = num + 2 ){
}
0
1
2
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many lines would be drawn on the screen utilizing the following While Loop code?
let y = 0;
while (y <= 50) {
y = y + 10;
line(20, y, 50, y);
}
0
4
5
6
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This concept "helps with organizing and reusing code" best describes what?
functions
return
parameter
selection (If/else)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code will generate random numbers for x in what range?
function setup() {
createCanvas(400, 200);
let x = int(random(0, width));
}
0 to 399
0 to 200
200 to 400
1 to 400
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The description "This function is called once when a mouse button is pressed." aligns with what function?
mousePressed()
mouseReleased()
mouseDragged()
mouseClicked()
doubleClicked()
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Pengenalan Komputer

Quiz
•
10th Grade
25 questions
ULANGAN HARIAN

Quiz
•
10th Grade
25 questions
Electronic Components

Quiz
•
9th - 12th Grade
22 questions
Sistem Komputer v2

Quiz
•
10th Grade
21 questions
Componentes de um Computador

Quiz
•
10th - 12th Grade
21 questions
Підсумковий тест (Blender) 9 кл

Quiz
•
8th - 10th Grade
22 questions
AP CSP Midterm Review

Quiz
•
10th - 12th Grade
22 questions
Steve Jobs

Quiz
•
6th - 12th 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
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
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade