
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
10 questions
CS1010 Lab 02
Quiz
•
University
10 questions
TIU Quiz-9
Quiz
•
University
12 questions
Javascript
Quiz
•
University
10 questions
Programación II Parte 5
Quiz
•
University
10 questions
Què has après sobre el web ?
Quiz
•
University
10 questions
Lenguaje Perl
Quiz
•
University
10 questions
R Quiz
Quiz
•
University
10 questions
Workshop_2
Quiz
•
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