PVP14
I.B.TECH
II
SEMESTER
C-Programming
(EE2T6,ME2T6,IT2T6)
Model
Paper
TIME: 3 HRS MAX
MARKS 70
PART A
Answer all Questions: 11x2=22
1. a) What is difference between
Compiler and Interpreter.
b) List the rules for
declaring variable.
c) What is use of exit()
function.
d) Differentiate break and
continue.
e) Why we use Arrays?
f) Define function and write
any two advantages.
g) Define recursion.
h) Write advantages of
pointers.
i) Explain #define directive.
j) What is a structure in C? How
is a structure declared?
k) What is the use of fseek()?
PART B
Answer Any Three Questions. 3x16=48
2. a)
Explain Structure of C Program. 7M
b)
Explain any three operators with example. 9M
3. a)Compare
and contrast for,while,do-while.
9M
b) List
Basic String functions explain any four
functions. 7M
4. a)Compare
Call by Value and Call by Reference.
8M
b)Discuss Storage Classes with examples.
8M
5. a) With
the help of examples Explain Dynamic Memory Allocation 8M
b)Give Examples for #include,#define 8M
6. a)Differentiate
between Structure and Union. 8M
b)Explain File I/O 8M