VTU Computer Science (Semester 6)
Programming Languages
May 2016
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1(a) List the different classes of languages. What makes a programming language successful?
10 M
1(b) What is binding time? Explain object lifetime in storage allocation mechanism.
10 M

2(a) Explain categories of control flow mechanism.
8 M
2(b) What is tail-recursive function? Explain with an example.
6 M
2(c) Explain structured alternative to goto.
6 M

3(a) What does it mean for a language to be strongly types? Statically typed? What prevents say C from being strongly typed?
8 M
3(b) Discuss denotational, constructive and abstraction based views of types.
6 M
3(c) What is garbage? Explain Mark and Sweep and stop and copy garbage collection.
6 M

4(a) Explain in detail, the calling sequence of subroutine.
8 M
4(b) What is an event in programming language?
6 M
4(c) Explain parameter passing modes.
6 M

5(a) List and explain three defining characteristics of OOP object oriented programming.
10 M
5(b) Explain important of this parameter in OOP.
5 M
5(c) Explain dynamic method binding.
5 M

6(a) What are normal order evaluation, applicative evaluation and lazy evaluation? With an example.
9 M
6(b) Explain characteristics of functional program.
5 M
6(c) Describe three ways in which prolog programs can depart from pure logic.
6 M

7(a) Explain motivation of concurrency. Give the contrast between concurrency and parallelism. Explain the implementation levels at which parallelism appears.
10 M
7(b) What is a race condition? What is synchronization?
4 M
7(c) Describe different mechanism to create new threads.
6 M

8(a) Define virtual machine. Explain Jvm in brief (Java Virtual Machine).
10 M
8(b) What is a JIT compiler? (JUST in TIME).
4 M
8(c) Give the difference between JVM and CLI (Common Language Infrastructure).
6 M



More question papers from Programming Languages
SPONSORED ADVERTISEMENTS