
DEMO 03 - Debugging
Authored by Brian Zajac
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with the variable "y"?
Compile error
Run-time error
Syntax error
Logic error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with the variable "TWO"?
Compile error
Run-time error
Syntax error
Logic error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with this line:
x / y = quotient
Compile error
Run-time error
Syntax error
Logic error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the user enters "0" for "y"?
Compile error
Run-time error
Syntax error
Logic error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with this line:
cout << x << " / " << y << " = " << quotient << endl
Compile error
Run-time error
Syntax error
Logic error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with this line:
if (quotient % TWO != 0)
Compile error
Run-time error
Syntax error
Logic error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with the "if" statement?
Compile error
Run-time error
Syntax error
Logic error
Access all questions and much more by creating a free account
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
11 questions
Egzaminas
Quiz
•
University
12 questions
Porcentajes
Quiz
•
University
10 questions
Java Quiz 1
Quiz
•
University
10 questions
Web-II-Loop and Function
Quiz
•
University
10 questions
Neural Networks Quiz
Quiz
•
University
10 questions
Condicionales en Racket
Quiz
•
University
10 questions
Troubleshooting and Computer Maintenance Quiz
Quiz
•
University
10 questions
PF Unit 10
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade