Sense_The_Bug

Sense_The_Bug

University

15 Qs

quiz-placeholder

Similar activities

Functions and Modules

Functions and Modules

University

10 Qs

Python if/else

Python if/else

University

20 Qs

C programming-1

C programming-1

University

13 Qs

Basic C++ Programming Questions

Basic C++ Programming Questions

University

20 Qs

Array in C

Array in C

University

10 Qs

Python if statement

Python if statement

University

15 Qs

Java Method

Java Method

University

15 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Sense_The_Bug

Sense_The_Bug

Assessment

Quiz

Computers

University

Hard

Created by

Jagruti Patel

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

Identify the line/lines of code that have error:

8, 9, 10

10, 11, 12

5, 6, 7

7, 8, 9

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Debugging is the process of fixing a____in the software.

Warning

Exception

Bug

Function

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

The process of debugging begins as soon as the code of the software is____

Started

Completed

Both a & b

None of the above.

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

Identify Output of the following program.

1 1

1 2

Syntax error

Segmentation fault

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

Identify the output of the following program.

i+j=-5500

Illegal value for short i

Illegal value for short j

Compile time error

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

Identify the Output of the following code keeping in context the logic of the program.

The program works fine and is logically correct

The program gives the wrong answer but it is logically correct

The program gives the wrong answer and is logically incorrect

The program gives the correct answer but is logically incorrect

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

What will be the output of the following code?

The program will run 3 times and will print 123

The program will run 2 times and will print 12

The program will give an error

The program will run once and print 1

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?