The following for loop would repeat how many times?
for ( let num = 1; num < 3; num = num + 1 ){
}
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()
22 questions
IST CodeHS Unit 8 JavaScript Review
Quiz
•
9th - 12th Grade
22 questions
Sistem Komputer v2
Quiz
•
10th Grade
27 questions
Quiz 5: Codes for the introduction cards
Quiz
•
7th - 12th Grade
23 questions
Coding 1 Midterm Prep
Quiz
•
10th - 12th Grade
30 questions
Greenfoot Vocabulary
Quiz
•
9th - 12th Grade
30 questions
Python L2 Programming Challenge
Quiz
•
3rd - 12th Grade
24 questions
Scratch Test
Quiz
•
6th Grade - University
25 questions
R097 - TA1
Quiz
•
10th - 11th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes
Quiz
•
9th - 12th Grade