Font size
WorksheetsBasics of Programming with C
Total questions: 17
Worksheet time: 8mins
The minimum number of temporary variables needed to swap the contents of two variables is
1
2
3
0
Choose all the correct statements in reference to the programming language C
General purpose programming language
Middle level programming language
Structured programming language
Object oriented programming language
Array is a collection of
(a)
What is token in C programming?
Library function pow() belongs to which header file?
mathio.h
math.h
square.h
stdio.h
Libray function getch() belongs to which header file?
stdio.h
conio.h
stdlib.h
stdlibio.h
Who developed the C programming language?
Bjarne Stroustrup
James Gosling
Dennis Ritchie
Ray Boyce
A name having a few letters, numbers and special character _(underscore) is called
keywords
reserved keywords
tokens
identifiers
What will be the output of the C code?
Hello World! x;
Hello World! followed by a junk value
Compile time error
Hello World!
Is it possible to run program without main() function?
yes
no
-
-
Which of the following is not a correct variable type?
float
real
int
char
Every C Program Statement must be terminated with a
.
#
;
!
Evaluate(to true or false) each of the following expressions:
(1) 14 <= 14
(2) 14 < 14
false false
true true
true false
false true
Which of the following is the boolean operator for logical-AND?
&
&&
|
||
Identify this sound
Did you find this quiz helpful?
Yes
No
