wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Technical Quiz - Round 2

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What will be the output of the following code?

a)

12

b)

24

c)

20

d)

18

2.

What will be the output of the code?

a)

JAVA

b)

java

c)

418

d)

None of the Options

3.

What will be the output of the code?

a)

Error: invalid identifier

b)

25

c)

55555

d)

None of the options

4.

What will be the output of the C program?

a)

Compilation

Error

b)

Infinite Loop

c)

Loop Loop Loop Loop Loop

d)

None of the Options

5.

Consider the following Java Code. What is the correct option?

a)

Infinite Loop

b)

Error: Condition Expression of for

c)

Prints Hello

d)

None of the Options

6.

What is the output of the code Snippet

a)

0

b)

1

c)

Compilation

Error

d)

RunTime

Error

7.

What is the output of the following code?

a)

8

b)

10

c)

Compilation

Error

d)

RunTime

Error

8.

Guess the output of the given code.

a)

1

b)

-1

c)

2

d)

-2

9.

_____ Tells a compiler that the data would be defined somewhere and it would be connected to the Linker.

a)

Variable

b)

yvals

c)

errno

d)

extern

10.

Identify the programming Language

a)

Golang

b)

Kotlin

c)

Swift

d)

Python

11.

Guess the output of the given code

a)

1

b)

120

c)

0

d)

None of the choices

12.

Which is the correct absolute path of a file in Java?

a)

C:\Program Files\Java\jdk1.8.0_131\bin\file_name.txt

b)

C:\Program Files\Java\file_name.txt

c)

C:\Program Files\Java\jdk1.8.0_131\file_name.txt

d)

C:\Program Files\Java\jdk1.8.0_131\bin\File Handling\file_name.txt

13.

Guess the output of the below Program

a)

-2147483648 and 1

b)

0x80000000 and

0x00000001

c)

-2147483648 and -1

d)

1 and -2147483648

14.

Which is a valid declaration within an interface?

a)

public static short stop = 23;

b)

protected short stop = 23;

c)

transient short stop = 23;

d)

final void madness(short stop);

15.

Identify the father of the swift programming language?

a)

JetBrains

b)

Christopher Arthur Lattner

c)

Grace Murray Hooper

d)

Brendan Eich