Btech Cse It Principles Progrmmng Language 20161460440258
Btech Cse It Principles Progrmmng Language 20161460440258
PART– B
Answer any one full question out of the two from each module
MODULE – I
6)
a) Consider the following records of a particular language. Let the size of each char
variable be 1 byte, int variable be 4 bytes and double be 8 bytes.
OR
7)
a) Which of the programming language uses nested-scope rule? Explain the concept of
nested-scope rule with an example. 10
b) What is the use of static links? Compare declaration order in Pascal, Modula-3 and
C++. 10
MODULE - II
8)
a) Explain static link, dynamic link and activation record with help of given figure. 10
9)
OR
11)
a) Write short note on Dynamic Method Binding of object oriented languages. 10
b) Consider the following program
class student: public person, public gp_list_node {…
Explain the type of inheritance is used in this program? 6
c) Write a short note on constructors? 4
MODULE - IV
12)
. OR
13) Explain the working principles of threads. With a neat diagram show the architecture of
thread? 20