Skip to content
Previous Year Question Paper

CSIT-503 (C) - Principles of Programming Languages

November 2023•CSIT•SEMESTER-5
November 2023
Max Marks: 70
Duration: 3 Hours
Instructions:

• Attempt any five questions.

• All questions carry equal marks.

Q.1
a)Unit 1

What do you understand by programming paradigms? Explain in detail.

b)Unit 1

Discuss attributes of good programming language. Differentiate between syntax and semantics by suitable example.

Q.2
a)Unit 1

What do you mean by compilation of program? Discuss different stages used in compilation process.

b)Unit 2

Explain primitive and user defined data types with suitable example.

Q.3
a)Unit 2

What is type checking? Discuss static and dynamic type checking.

b)Unit 2

Discuss sequence control in various statements with suitable examples.

Q.4
a)Unit 3

What do you understand by parameter passing? Discuss parameter passing by call by value and call by reference method.

b)Unit 3

What is function? Define function prototype in detail with suitable program in C/C++.

Q.5
a)Unit 4

What is abstract data type? Define abstract class and abstract method with suitable example.

b)Unit 4

Discuss static and stack-based storage management. Also discuss their advantages.

Q.6
a)Unit 5

What is logic programming? Discuss its applications and advantages.

b)Unit 5

What is Prolog? Discuss its basic fields, syntax and advantages.

Q.7
a)Unit 4

What is Inheritance? Discuss different types of inheritance used in JAVA.

b)Unit 5

Discuss different types of operators used in prolog with suitable syntax and program.

Q.8
a)Unit 4

Monitors

b)Unit 4

Java Threads

c)Unit 4

C# threads