ptupaper.com
Roll No……….
Total No. of Questions: 13]
Paper ID [A0402]
M.Sc. (IT)/PGDCA
(102) (New) (Sem. -1st)
PROGRAMMING IN C
Time: 3 hours Maximum
Marks:75
Instruction to Candidates:
1)
Section-A is Compulsory.
2)
Attempt any Nine questions from Section-B.
Section-A
(15
x 2=30)
Q1.
a) What
do you understand by pseudo codes?
b) Differentiate
between compiler and interpreter.
c) What
are short-circuit operators in C?
d) Differentiate
between break and continue.
e) What
is the significance of ternary operators?
f) List
advantages of arrays.
g) Is
array index out of bounds allowed in C? Justify your answer.
h) What
are the advantages of recursion?
i) Briefly
state the association of parameter passing in functions with stacks in C with example.
j) What
is dynamic memory allocation?
k) List
the applications of pointers in C.
l) What
are the conditions to perform recursion?
m) What
are the limitations of union?
n) What
are the advantages of data file over other data types?
o) What
are the advantages of structures?
Section-B
(9 x 5=45)
Q2. Explain basic data types available
in C with the help of example.
Q3.Explain with example arithmetic
expression and its evaluation.
Q4. Write the algorithm and draw the
flow chart to find roots of a quadratic equation.
Q5. Explain briefly various character input/output functions with examples.
Q6. Discuss various string handling
functions with examples.
Q7. Write a program using recursion to
find GCD and LCM of two numbers.
Q8. Discuss various techniques of
parameter passing in C.
Q9. Explain the concept of passing array
to functions with example.
Q10. Explain differences between
structure and union with example.
Q11. Discuss pointer arithmetic with
examples.
Q12. Write a short note on Random Access
Files.
Q13. Explain with example arrays of structures.
0 comments:
Post a Comment
North India Campus