wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer programming for 2nd chap.

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

Which is true statement about C ?

a)

Difficult to learn.

b)

It produces less no. Of programs.

c)

It is structured language.

d)

It cannot handle low level activities.

2.

Who is the developer of C language?

a)

Kem Thompson.

b)

Martin Richards.

c)

Dennis Ritchie.

d)

Jim Devis.

3.

'#' what is the name of given symbol

a)

Exclamation mark.

b)

Colon.

c)

Number sign.

d)

Underscore.

4.

There are ........... keywords in C .

a)

63

b)

54

c)

32

d)

26

5.

Boolean literals are used to store.......

a)

The decimal value .

b)

The true or false values by using 1 and 0 .

c)

The character values.

d)

The integer values.

6.

Which of the following is not comes under identifier ?

a)

Function

b)

Variable name

c)

Keyword

d)

Template

7.

Strings are always enclosed with ........ sign.

a)

Colon

b)

Semicolon

c)

Double quotes

d)

Underscore

8.

The operator which required 3 operands to act upon.....

a)

Unary operator

b)

Ternary operator

c)

Bitwise operator

d)

Binary operator

9.

Memory size or space required to store unsigned long int .....

a)

2 bits

b)

4 bits

c)

2 bytes

d)

4 bytes

10.

Which is correct syntax for declaring the variable.

a)

variablename datatype;

b)

datatype variablename;

c)

datatype variablename:

d)

variablename= value;

11.

variablename=value;

In above syntax which type of operator has used?

a)

Bitwise operator

b)

Relational operator

c)

Conditional operator

d)

Logical operator

12.

.......... function is used to print the given information on the output screen

a)

scanf

b)

getch

c)

clrscr

d)

printf