Total No. of Questions: 4] SEAT No.
:
[Total No. of Pages: 2]
FYPG
COMPUTER SCIENCE
Major
Paradigm of programming language (CS-MJ-513T)
(2023 Pattern) (Semester-I)
Time: 2 Hours Max. Marks: 30
=================================================================
=
Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.
=================================================================
=
Q.1) Answer the following questions.(Any Six) [06]
a) “Dataflow language provide inherently parallel model “,Justify true or false
b) Differentiate between compiler and interpreter.
c) List any 2 functions of ‘C’ preprocessor
d) What is binding time?
e) What is Object closure?
f) What is difference between discreate and Scalar types?
g) What is memorization?
h) What is heap-dynamic array?
Q.2) A) Answer the following questions. (Any two) [06]
a) What distinguishes declarative language from imperative language.
b) Explain different types of operators available in C
c) What is Dangling Reference? How to avoid dangling reference problem.
B) Answer the following questions.
[04]
a) Give syntax and use of following functions
i) getchar() ii) putchar()
b) What is meant by I-value and R-value?
Q.3) A) Answer the following questions. (Any two) [06]
a) Define polymorphism with example.
RBNB QP-Page 1 of 2
b) Explain Heap based allocation
c) Explain any two parameter passing modes with suitable example.
B) Answer the following questions.
[04]
a) Explain two techniques of Garbage Collection?
b) Explain different types of operators available in C?
Q.4) Answer the following questions. (Any two) [04]
A) What makes programming language successful? why?
OR
B) What is short-circuit Boolean evaluation? Why it is useful? .
RBNB QP-Page 2 of 2