DEMO 03 - Debugging

DEMO 03 - Debugging

University

7 Qs

quiz-placeholder

Similar activities

Quiz 2

Quiz 2

University

11 Qs

Third Year Placement Training Revision Test

Third Year Placement Training Revision Test

University

10 Qs

PF101 - Pretest 1

PF101 - Pretest 1

University

10 Qs

๋Chapter 1 Java Basic

๋Chapter 1 Java Basic

University

10 Qs

JSP Topic

JSP Topic

University

10 Qs

C Classes

C Classes

University

10 Qs

STM 20483 QUIZ 1

STM 20483 QUIZ 1

University

10 Qs

Java Quiz2

Java Quiz2

University

11 Qs

DEMO 03 - Debugging

DEMO 03 - Debugging

Assessment

Quiz

Computers

University

Hard

Created by

Brian Zajac

Used 4+ times

FREE Resource

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