NEW
Font size
S
M
L
XL
WorksheetsWho developed C language
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
Who developed c language
a)
Dennis M Ritchie
b)
Charles Babage
c)
both
d)
none of these
2.
Conditional operator also called as
a)
Shorthand operator
b)
Ternary operator
c)
binary operator
d)
unary operator
3.
Find the odd one out
a)
&&
b)
|
c)
&
d)
!
4.
main() is userdefined function
a)
True
b)
false
5.
multi line comment represented by
a)
/* */
b)
// //
6.
How many mandatory sections are there
a)
linking section and main() section
b)
definition section and linking section
7.
for( ; ; ) leads to
a)
infinite loop
b)
finite loop
c)
error
d)
none of these
8.
which are called entry controlled loops
a)
while and for loop
b)
do and for loop
c)
while loop
d)
do while loop
9.
break can be used in
a)
switch only
b)
loops only
c)
switch and loops
d)
none of these
10.
Execution of program starts from
a)
#include<stdio.h>
b)
#define pie 3.14
c)
main()
d)
none of these
Reset
