Il 0% ha trovato utile questo documento (0 voti)
24 visualizzazioni3 pagine

PPL 2009

Copyright
© Attribution Non-Commercial (BY-NC)
Per noi i diritti sui contenuti sono una cosa seria. Se sospetti che questo contenuto sia tuo, rivendicalo qui.
Formati disponibili
Scarica in formato PDF o leggi online su Scribd
Il 0% ha trovato utile questo documento (0 voti)
24 visualizzazioni3 pagine

PPL 2009

Copyright
© Attribution Non-Commercial (BY-NC)
Per noi i diritti sui contenuti sono una cosa seria. Se sospetti che questo contenuto sia tuo, rivendicalo qui.
Formati disponibili
Scarica in formato PDF o leggi online su Scribd
Sei sulla pagina 1/ 3
NEAT ef IS) a4 [3563] — 196 T.E. (Computer) (Semester — II) Examination, 2009 PRINCIPLES OF PROGRAMMING LANGUAGES (2003 Course) ‘Time : 3 Hours Max. Marks : 100 Instructions : 1) Answer any three questions from each Section. 2) Answers to these Sections should be written in separate books. 3) Neat diagram must be drawn wherever necessary. 4) Figures to the right indicate full marks. 5) Assume suitable data, if necessary. SECTION ~ 1 1, a) State and explain different phases of programming language life cycle. 8 b) What is significance of scalar and composite data types ? Explain the implementation of these data types. 10 OR 2. a) What do you mean by programming paradigms ? State key features of following paradigms : 10 1) Procedural Programming 2) Object Oriented Programming, 3) Logic Programming 4) Functional Programming. b) What is the role of control flow statements ? List any four control statements. Explain control flow mechanism for these four control statements. 5 Write a single program/code to produce different results with respect to following parameter passing methods. 10 1) Call by Value 2) Call by Reference 3) Call by Name. b) What do you mean by storage management ? Explain static and dynamic storage management. 6 OR [3563] - 196 e INTE 0010 0 4, a) Comment on : 8 1) Lexical scope and renaming of locals 2) Macro expansion and dynamic scope. b) How Activation record serve as a run time image of a program ? With suitable diagram describe the representation of local, non local and global variables with respect to activation record. 8 5. a) What do you mean by Punctuators ? How different Punctuators act as syntactic elements of Program design ? 4 b) Consider a Pointer ‘P? and memory location ‘M’ pointed by pointer ‘P* Write a syntax for following operations : 4 1) to increase the value of pointer by one (to point ‘M+1’th memory location) 2) to increase value of location pointed by pointer ‘P* (Contain of ‘M’ to be increased by 1) c) What do you mean by Operator ? Explain all types of Operator used in “PASCAL’. 4 4d) What are typical execution steps associated with program written in Procedural Programming Language ? 4 OR 6. a) With suitable example, demonstrate how nested procedures and functions acts as a efficient program design construct. 8 b) Write short note on ‘Block Oriented’ structured programming. 4 c) What do you mean by type conversion ? When it is absolute necessary ? 4 7. a) Differentiate between 1) Constructor and Static itializers 2) Checked and Runtime Exception 3) Web Server and an Application server 4) Authorization and Authentication. b) List and explain different functions supported by C# for deligation and event handlers. OR 8. a) What do you mean by framework ? Explain role of following with respect to -NET framework : 1) CLR 2) CTS 3) Winforms 4) Webforms. b) What are different access specification mechanisms supported by Java ? c) Code reuse is the main purpose of Inheritance. Justify. 9. a) Explain facilities and deficiencies of PROLOG. b) Explain if-then-else control predicate of PROLOG. ©) With suitable example demonstrate merits and demerits of searching methods used in Logic Programming. OR 3 [3563] - 196

Potrebbero piacerti anche