2024 Aug CST424-D
2024 Aug CST424-D
PART A
Answer all questions, each carries 3 marks. Marks
Page 1of 2
0400CST424102302
Module II
13 a) Define static, fixed stack-dynamic, stack-dynamic, fixed heap-dynamic, and heap- (10)
dynamic arrays. What are the advantages of each?
b) What is short–circuit Boolean evaluation? Why is it useful? How it is (4)
implemented?
OR
14 a) Explain static and dynamic type checking with example (7)
b) Describe the lazy and eager approaches for reclaiming garbage. (7)
Module III
15 a) Illustrate the different categories of iteration control statements. (8)
b) Differentiate coroutines from conventional subprograms. (6)
OR
16 a) Explain various parameter passing mechanisms in programming languages. (8)
b) Describe overloaded subprograms. (6)
Module IV
17 a) Describe the design issues in object-oriented languages. (8)
b) Write dynamic method binding in detail. (6)
OR
18 a) What is meant by an exception handler? Explain how exceptions are handled in (8)
object-oriented languages.
b) Explain the different categories of inheritance. (6)
Module V
19 a) What are the applications of logic programming languages? (8)
b) Compare functional and imperative programming languages. (6)
OR
20 a) Explain the basic elements of Prolog programming language. (9)
b) Define synchronous message passing. (5)
****
Page 2of 2