Monday, January 30, 2023

Dr. A.P.J. Abdul Kalam University BE VI SEM (CS) Principle of Programming Language [CS-602] June 2021 Question Paper

Dr. A.P.J. Abdul Kalam University

Bachelor of Engineering

Sixth Semester Examination, June-2021

Principle of Programming Language [CS-602]

Branch: CS

Time: 3:00 Hrs Max Marks 70

Note: 1. Attempt any five questions out of eight.

2. All question carry equal marks.

Q.1 (a) Explain language evaluation criteria? Discuss syntax directed control

flow.

 (b) What is meant by syntax and semantics of languages? Explain their

importance in programming.

Q.2 (a) Distinguish functional programming with logic programming? Explain

object oriented programming and logic programming with example.

 (b) Discuss the issues in language translation.

Q.3 (a) What is the steps of compilation in PPL?

 (b) Define following:-

(i) Parse tree (ii) CFG and BNF grammar

Q.4 (a) Describe the desirable features and design issues of programming

languages.

 (b) Differentiate records from variant records with suitable example.

Q.5 (a) Discuss the design issues of subprogram and operators.

 (b) Explain overloading of function with examples.

Q.6. (a) Explain different parameters passing mechanisms with the help of

examples.

 (b) Define Abstract data type. What is the design issues regarding abstract

data type?

Q.7 (a) Discuss the various storage management schemes in briefly.

 (b) Explain Inheritance concept in C++ and java with its advantages and

disadvantages.

Q.8 Define following:

 (i) Data abstraction (ii) Encapsulation

(iii) Garbage collection (iv) Message passing 

Scanned Copies:



Search Everything Here