<Ctrl+Alt+Debug>:Debugging Competition(Java)

<Ctrl+Alt+Debug>:Debugging Competition(Java)

University

20 Qs

quiz-placeholder

Similar activities

Recap B1 (version française)

Recap B1 (version française)

3rd Grade - University

25 Qs

Mock 2nd MCQ Python

Mock 2nd MCQ Python

University

25 Qs

Python Programming

Python Programming

University

25 Qs

Code war

Code war

University

30 Qs

IT 120 FFGG GROUP

IT 120 FFGG GROUP

University

25 Qs

Compro. Final 1/64 part1

Compro. Final 1/64 part1

University

25 Qs

GNIDOC ROUND 1

GNIDOC ROUND 1

University

25 Qs

Activity 4 - IAS 102

Activity 4 - IAS 102

University

25 Qs

<Ctrl+Alt+Debug>:Debugging Competition(Java)

<Ctrl+Alt+Debug>:Debugging Competition(Java)

Assessment

Passage

Computers

University

Easy

Created by

LivingWords A&B

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image
  1. 1.

The integer value is not enclosed in quotes.
The variable type is declared incorrectly.
The assignment of a string to an integer variable is incorrect.
The code is missing a semicolon at the end.

2.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

2

17

16

18

19

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

3

Accessing array[5]

Calling a method on a null object

Dividing by zero

Using a string literal

Answer explanation

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

4

i-- should be i++

Syntax Error

Wrong Condition

i is undeclared

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

5

Replace null with ""

Use "test".equals(s)

No issue

Use try-catch

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

6

Should be integers only

Will print Hello52

Syntax Error

Concatenation not allowed

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

7

Array with 5 elements

Run-time Error

Compile-time error

Zero-Length Array

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?