You are on page 1of 1

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

BE III SEM, I Internal Examinations - August 2019


Subject: Programming Languages (PC223CS)

Time: 1 Hour
Max.Marks:20
Branch: CSE Date: 28/08/2019 [FN]

PART-A

I. Answer all questions 2 X 4=8

1. Draw the diagram of von Neumann computer architecture.


2. Draw A parse tree for the statement A = B * (A + C)
3. Define ordinal, enumeration, and subrange types.
4. What is dangling pointer problem? How to tackle it?

PART-B

II. Answer all questions 6 X 2=12

5. a) Explain different phases of compiler with a neat diagram?


(Or)
b) Write a short notes on formal methods for describing syntax?

6. a) Distinguish between array and a record. Write about subscript binding and
array categories with advantages and disadvantages for each.
(Or)
b) Explain the following:
(i) Concept of Binding (ii) Heap management

You might also like