0% found this document useful (0 votes)
56 views2 pages

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 (1)
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views2 pages

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 (1)
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Total No. of Questions : 4] SEAT No.

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

Instructions to the candidates :


1) Answer Q1 or Q2, and Q3 or Q4.
E

2) Neat diagrams must be drawn wherever necessary.


81

8
C

23
3) Figures to the right indicate full marks.

ic-
16

tat
8.2

Q1) a) Illustrate the Impact of machine architecture on programming languages.

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

c) Explain any two language paradigms with example. [5]


4/2
GP
0/0

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

Explain with example of web application. [5]


.24

2:3
91

c) Consider the following program code and identify the semantic elements
49

5:3

of the programming language along with type of binding. Describe the


30
31

same.
01
02

# include < stdio.h >


4/2
GP
0/0

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

Q4) a) Explain following concepts with example: [5]


01
02
4/2
GP

i) Overloaded unary operator


0/0

ii) Short circuit evaluation


CE
81

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

i) Mixed mode Assignment


91
49

5:3

ii) Unconditional branching. [5]


30
31
01
02

  
4/2
GP
0/0
CE
81
.23
16
8.2
.24

[6008]-231 2
49

You might also like