Semester : SEMESTER 7
Subject : Programming Paradigms
Year : 2019
Term : DECEMBER
Branch : COMPUTER SCIENCE AND ENGINEERING
Scheme : 2015 Full Time
Course Code : CS 403
Page:1
Reg No.:_ Name:
Max. Marks: 100
ಲಾ ~ +> ~ ہبہ ॐ بث
11
12
13
14
a)
b)
a)
b)
a)
b)
a)
G192033 Pages: 2
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
Course Code: CS403
Course Name: PROGRAMMING PARADIGMS
PARTA
Answer all questions, each carries 4 marks.
What is Referencing Environment? Explain the difference between Deep and
Shallow binding of Referencing Environment?
What are holes? Why do they arise in records? What problems do they cause?
What can be done to reduce these problems?
What are variant records? Give a sample and its memory layout.
Compare co-routine and subroutine?
Distinguish the three access specifiers in C++.
Differentiate Abstract classes and Concrete classes.
What are the benefits of Java Virtual Machine?
Define Horn clause and its components.
Differentiate between co-routines and threads.
What is RPC and stub compiler?
PART 13
Answer any two full questions, each carries 9 marks.
Name the seven categories of control flow mechanisms in various programming
languages. Explain each one with sample code.
Define orthogonality as a language design tool
Compare primitive and composite data types.
Explain static and dynamic type checking with example
What is the problem of dangling references? How is it addressed in different
languages?
What is short-circuit Boolean evaluation? Why is it useful? How it is
implemented?
PART ட
Answer any two full questions, each carries 9 marks.
What are the purposes of stack pointer and frame pointer registers? Explain how
Page lof 2
SEVENTH SEMESTER B.TECH DEGREE EXAMINATION(R&S), DECEMBER 2019
Duration: 3 Hours
Marks
(4)
(4)
(4)
(4)
(4)
(4)
(4)
(4)
(4)
(4)
(7)
(2)
(4)
(5)
(5)
(4)
(5)