wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Programming concepts in c - Quizizz-III

Total questions: 20

Worksheet time: 40mins

Name
Class
Date
1.

Who developed the C language?

a)

Ken Thompson

b)

Bjarne Stroustrup

c)

Dennis Ritchie

d)

Kernighan

2.

C program should be written in

a)

Upper case

b)

Title case

c)

Sentense case

d)

lower case

3.

Every statement in a C program should end with a -----

a)

Colon(:)

b)

semicolon(;)

c)

comma(,)

d)

fullstop(.)

4.

else is a ----------------------------------------------

a)

digit

b)

identifier

c)

keyword

d)

datatype

5.

The symbol of a new line character is ---------------

a)

\n

b)

\t

c)

\d

d)

\f

6.

The Unary operator is ------------

a)

>>

b)

++ and --

c)

==

d)

??

7.

---------------- statement should be the last statement in each case in switch() statement

a)

break()

b)

default()

c)

goto

d)

until

8.

%f specifies ---------------- data type

a)

float

b)

int

c)

char

d)

string

9.

Do not use ‘&’ symbol in ---------------------- output function

a)

getch()

b)

continue()

c)

printf()

d)

jump()

10.

switch() statement should have at most -------------- label

a)

case

b)

default

c)

continue

d)

break

11.

Switch statement is a -----------------------------

a)

multi-way decision

b)

one-way-decision

c)

two-way decision

d)

above all

12.

Commonly used input function is ----------

a)

scanf()

b)

printf()

c)

total()

d)

goto()

13.

In switch() statement, the case labels must end with -------

a)

colon(:)

b)

semicolon(;)

c)

fullstop(.)

d)

none

14.

while() loop is a ---------------------------- control loop

a)

entry

b)

exit

c)

both

d)

middle

15.

---------- loop performs the test at the bottom of the loop

a)

do-while

b)

while

c)

goto

d)

continue

16.

The keyword of the external variable is --------

a)

auto

b)

memory

c)

extern

d)

else

17.

Every C program must contain at least one function named as --------------

a)

main()

b)

continue()

c)

jump()

d)

goto()

18.

The parameter list in main function represent ---- parameter

a)

formal parameter

b)

argument list

c)

actual parameter

d)

parameter list

19.

The function name and the parameter list together constitute the ---------------

a)

function signature

b)

main function

c)

input function

d)

output function

20.

------------------ function copies a string to another

a)

strcpy()

b)

strcat()

c)

strcmp()

d)

strlen()