What is wrong with the variable "y"?
DEMO 03 - Debugging

Quiz
•
Computers
•
University
•
Hard

Brian Zajac
Used 4+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Compile error
Run-time error
Syntax error
Logic error
Similar Resources on Quizizz
10 questions
C Classes

Quiz
•
University
10 questions
Java Static

Quiz
•
University
10 questions
LOOPS IN C++

Quiz
•
10th Grade - University
10 questions
java operators

Quiz
•
University
10 questions
Python For

Quiz
•
University
10 questions
defensive design

Quiz
•
University
10 questions
ECE-C Quiz _3

Quiz
•
University
10 questions
JSP Topic

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade