APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 7

Year : 2019

Term : MAY

Scheme : 2015 Full Time

Course Code : CS 403

Page:1





PDF Text (Beta):

B G1033 Pages: 4

Reg No.:_ Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
SEVENTH SEMESTER B.TECH DEGREE EXAMINATION(S), MAY 2019

Course Code: CS403
Course Name: PROGRAMMING PARADIGMS

Max. Marks: 100 Duration: 3 Hours
PARTA
Answer all questions, each carries 4 marks. Marks
1 What is binding time? Explain the distinction between the lifetime of a name to object (4)

binding and its visibility.

2 Does C have enumeration controlled loops? Explain. (4)
3 What is a dope vector? What purpose does it serve? (4)
4 What is a higher order function? Give three examples. (4)
5 What are facts, rules and queries? (4)
6 How does an in-line subroutine differ from a macro? (4)
7 Explain how reader writer lock differs from a normal lock. (4)
8 What is busy waiting? What is its principal alternative? (4)
9 Does a constructor allocate a space for an object? Explain. (4)
10 What is a V-table? How is it used? (4)
PART ‏جا‎
‎Answer any two full questions, each carries 9 marks.
11 a) From the given fragment of code, identify the scope of each names used in code and (6)

also define closest nested scope rule.
procedure 01 (൧1 : 11);
var % : real;

procedure P2(A2 : 12);
procedure P3(A3 : 13);
begin

... (* body of P3 *)
end;

begin

... (* body of 22 *)

end;

procedure P4(A4 : T4);

Page lof 4

Similar Question Papers