wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

22AD003

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

which of the following is not a valid C variable name ?

a)

int number;

b)

float rate;

c)

int variable_count;

d)

int $main;

2.

Which of the following declarationis not supported by C language?

a)

String str

b)

char *str;

c)

float str=3e2;

d)

Both String str; & float str=3e2;

3.

Looking at the picture , his name is _______

a)

Guido van Rossum

b)

Dennis Ritchie

c)

James Gosling

d)

Brendan Eich

4.

If a robot is able to change its own trajectory as per the external conditions,then the robot is considered as the _____

a)

Mobile

b)

Non-servo

c)

Open Loop

d)

Intelligent

5.

What is the default value of char variable?

a)

’\u0000’

b)

0

c)

null

d)

not defined

6.

What happens when thread’s sleep() method is called?

a)

Thread return to the ready state.

b)

Thread returns to the waiting state.

c)

Thread starts running.

d)

None of the above.

7.

What will happen if static modifier is removed from the signature of the main method ?

a)

Compilation Error

b)

Run Time Error:NoSuchMethodError

c)

Program will compile and run without any output

d)

Program will compile and run to show the required output

8.

Which one of the following web browsers uses just-in-time(JIT) compiler?

a)

Netscape navigator

b)

HOT JAVA

c)

Internet Explorer   

d)

None of these

9.

Which is a kind of a self sufficient subprogram with a specific functional area?

a)

Functions     

b)

Inheritance

c)

Encapsulation

d)

Object

10.

The size of the IPv4 is

a)

32 Bits

b)

16 Bits

c)

64 Bits

d)

128 Bits