PRASAD V POTLURI SIDDHARTHA INSTITUTE OF TECHNOLOGY
(AUTONOMOUS) Principle of Programming Languages Model Paper II B.Tech II Semester
Subject: Principles of Programming Languages Subject Code: CS4T2
Time : 3 Hours Max Marks : 70 ____________________________________________________________________________ 1) a) Explain Language Evolution criteria & the characteristics that affect them [6M] b) What are the three general Methods of Implementing a Programming Language [8M] 2) List out Formal Methods of describing Syntax. Explain any Three Methods with an Example? [14M] 3) a) Explain the distinction between Type Conversion, Type Coercion, Non Converting Type Casts? [5M] b) What is a Dangling Reference? [4M] c) Define Array & Associative Array, their Structure & Operations? [5M] 4) a) Discuss about Functional Side Effects with an Example [8M] b) Explain Dijkstra’s selection construction & Loop Structure? [6M] 5) a) what is a Sub Program? What are the design issues of Sub Programs? [6M] b) What are the Semantic Models of Parameter Passing? Explain in Detail? [8M] 6) a) Describe the concept of Abstract Data Type(ADT) in terms of User Defined Data Types? [6M] b) Explain the Following Terms: i) Message Passing [4M] ii) Monitors [4M] 7) a) What are the different conditions possible in ADA give their respective meaning? [6M] b) What is meant by Logic Programming? Explain about different types of applications in Logic Programming? [8M] 8) a) What are the Functional Forms provided by LISP? [5M] b) Write briefly about HASKELL? [4M] c) What Scoping Rules is used in COMMON LISP,ML? [5M]