wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

bt_m -1 2023

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Among the following which contains date information.

a)

java.sql timestamp

b)

java.io time

c)

java.io.timestamp

d)

java.sql.time

2.

The father of machine learning is _____________

a)

Geoffrey Everest Hinton

b)

Geoffrey Hill

c)

Geoffrey Chaucer

d)

None of the above

3.

Find the output of the following program.

public class Solution{

       public static void main(String[] args){

                     byte x = 127;

                     x++;

                     x++;

                     System.out.print(x);

       }

}

a)

-127

b)

128

c)

127

d)

2

4.

Which of the following function is used to write the integer in a file?

a)

getw()

b)

putw()

c)

int value

d)

f_int()

5.

Which of the following header files is used in C++  language?

a)

<assert.h>

b)

<ctype.h>

c)

<iostream.h>

d)

<locale.h>

6.

What will be the output of the following code snippet?

a = [1, 2, 3, 4]

b = [3, 4, 5, 6]

c = [x for x in a if x not in b]

print(c)

a)

[1,2]

b)

[5,6]

c)

[3,4]

d)

[1,2,5,6]

7.

Guess the Logo

a)

tacobell

b)

bel groups

c)

Bp

d)

xerox

8.

 What is the maximum possible length of an identifier?

a)

16

b)

32

c)

64

d)

None of these above

9.

Predict the logo

a)

Mondelez

b)

Kraft Heinz

c)

Danone

d)

Ingredion

10.

To include the HTTP server in the node module, what function do we use?

a)

get()

b)

require()

c)

createServer()

d)

None of the above