Be - Computer Engineering - Semester 4 - 2023 - February - Principles of Programming Languages PPL Pattern 2019
Be - Computer Engineering - Semester 4 - 2023 - February - Principles of Programming Languages PPL Pattern 2019
8
23
PA-4979 [Total No. Of Pages : 2
ic-
tat
[6008]-231
6s
S.E. (Computer Engineering) (Insem)
2:3
02 91
Principles of Programming Languages
5:3
0
31
(2019 Pattern) (Semester-II) (210255)
0/0 13
Time : 1 Hour] [Max. Marks : 30
0
4/2
.23 GP
8
C
23
3) Figures to the right indicate full marks.
ic-
16
tat
8.2
6s
.24
2:3
i) Hardware ii) Firmware iii) Software [5]
91
49
5:3
b) List the different classes of binding times. Explain with suitable example.
30
31
[5]
01
02
OR
CE
81
8
Q2) a) List attributes of a good programming language and explain any two in
23
.23
ic-
detail. [5]
16
tat
b) What are the different ways by which computer might be constructed.
8.2
6s
2:3
91
c) Consider the following program code and identify the semantic elements
49
5:3
same.
01
02
main( )
CE
81
{
.23
int x,y;
16
8.2
P. T. O
.24
49
scan f ("% d % d", & x, & y);
8
23
{ int temp;
ic-
tat
temp = x;
6s
x = y;
2:3
02 91
5:3
y = temp;
0
31
} 0/0 13
0
print f ("%d % d", x,y) ;
4/2
.23 GP
} [5]
E
81
8
Q3) a) Describe ordinal types: enumeration with 'C++' example. [5]
C
23
ic-
b) What are different parameters passing methods in programming languages
16
tat
with example. [5]
8.2
6s
c) What are the different primitive data types? Explain with the examples of
.24
2:3
syntax, size and ranges. [5]
91
49
5:3
OR
30
31
8
23
b) What are subprograms? List and explain the design issues for subprograms .
.23
ic-
[5]
16
tat
c) Write short note on:
8.2
6s
.24
2:3
5:3
4/2
GP
0/0
CE
81
.23
16
8.2
.24
[6008]-231 2
49