
Debugging
Quiz
•
Computers
•
3rd - 12th Grade
•
Practice Problem
•
Medium
Brenda McLachlin
Used 7+ times
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why isn't my square showing up?
background(255);
fill(0, 0, 255);
quad(150, 150, 75, 75);
There aren't enough numbers in background
There aren't enough numbers in quad
Quad cannot draw squares
There's no draw function
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why isn't my code running?
if (x > 12)
fill(0);
else
fill(255, 0, 0);
x can't be greater than 12
Missing braces after if and else
The first fill doesn't have enough numbers in it
Else is not a keyword in javascript
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why isn't my code working?
var draw = fuction() {
fill(255, 0, 255);
ellipse(x, 200, 50, 50);
x++;
};
Unnecessary semicolon
A word is misspelled
Missing a comma
= should be ===
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why isn't my code working?
for (var i = 0; 1 < 20; i++) {
ellipse(random(400), random(400), 50, 50);
}
Missing semicolon
Random doesn't have enough numbers in it
You wrote 1 instead of i
Improper definition of i
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why isn't my code working?
var Thing = {
x : 12,
size : 20,
};
var thing1 = new Thing();
Thing is not an object prototype
Size is a reserved word
Commas should be semicolons
You can't use numbers in variable names
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
I'm trying to reset my ellipse to the left side of the screen. Why has it disappeared?
if (x < 400) {
x = -50;
}
Less than sign should be greater than sign
= should be ===
Missing semicolon
Missing else statement
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What should I add to make my circle move across the screen?
var x = 0;
ellipse(x, 200, 50, 50);
x++;
A draw function
A background
A fill function
All three
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
13 questions
RAM&HDD/SSD
Quiz
•
10th - 12th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
18 questions
Scratch kl.V
Quiz
•
1st - 5th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
20 questions
City & Guilds Award in Business Processes
Quiz
•
12th Grade
15 questions
S2 Business Letters Assessment
Quiz
•
7th Grade
15 questions
7ICT - Algorithms Revision Quiz
Quiz
•
7th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th 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
40 questions
TSDE Semester Final Review
Quiz
•
8th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
13 questions
Computer/ Internet Company Trademark Logos
Quiz
•
7th 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
