wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz on Programming in C

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Who is the Father of C Language

a)

Dr. E.F. Codd

b)

Bjarne Stroustrup

c)

James A. Gosling

d)

Dennis Ritchie

2.

C language developed at

a)

AT&T Bell Laboratory

b)

MIT University

c)

Stanford Lab

d)

Haward University

3.

Structure mean ------------?

a)

Same data types

b)

Different data types

c)

Both a and b

d)

None of these

4.

4. Name the one which is not a looping statement

a)

for

b)

while

c)

do-while

d)

if

5.

What is an array?

a)

Same data types

b)

Dissimilar data types

c)

Both a and b

d)

None of these

6.

Constant is ------------------

a)

Fixed values

b)

Unknown values

c)

Values changes during execution

d)

None of these

7.

Every C statement ends with ------------?

a)

.

b)

;

c)

,

d)

}

8.

----------------- are used in C programming to manipulate the data at bit level

a)

Logical operator

b)

Bitwise operator

c)

Additional operators

d)

None of the above

9.

What is the extension of C program?

a)

.cpp

b)

.py

c)

.c

d)

.java

10.

In switch statement Case Labels must ends with --------

a)

;

b)

:

c)

,

d)

}

11.

while loop is a --------------------------- loop.

a)

Entry-controlled

b)

Exit-controlled

c)

Not controlled

d)

None of these

12.

Final step of the for loop is ----------------------------

a)

Incrementing

b)

decrementing

c)

Both

d)

Incrementing / decrementing

13.

We can initialize a two-dimensional array in the form of ---------

a)

Searching

b)

increment

c)

matrix

d)

none of these

14.

Structure keyword is -------------

a)

struct

b)

array

c)

main

d)

none of these

15.

A sequence of instructions form a ------------.

a)

syntax

b)

program

c)

both

d)

none of these