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

PPL Question Bank Unit 1 and 2

The document contains questions from two units of the Principles of Programming Languages course. Unit I questions cover fundamentals of programming languages including what they are, why they are studied, characteristics of good languages, how application domains and machine architecture influence language design. Unit II questions cover topics around structuring data, computations and programs including data types, arrays, pointers, references, expressions, selection/iteration statements, subprograms and parameter passing methods. The document provides a question bank to assess students' understanding of key concepts in programming language principles and design.

Uploaded by

priyankanarode16
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)
153 views2 pages

PPL Question Bank Unit 1 and 2

The document contains questions from two units of the Principles of Programming Languages course. Unit I questions cover fundamentals of programming languages including what they are, why they are studied, characteristics of good languages, how application domains and machine architecture influence language design. Unit II questions cover topics around structuring data, computations and programs including data types, arrays, pointers, references, expressions, selection/iteration statements, subprograms and parameter passing methods. The document provides a question bank to assess students' understanding of key concepts in programming language principles and design.

Uploaded by

priyankanarode16
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

Amrutvahini College of Engineering, Sangamner

Department of Computer Engineering


Principles of Programming Languages
Question Bank
Unit-I: Fundamentals of Programming
1. What is programming language? Why there is need to study various programming Languages?
2. What is importance of studying programming languages?
3. Explain characteristics of good language?
4. Why role of programming languages is changed?
5. What is syntax and semantics? Illustrate with example how syntax and semantics are useful in
programming language design?
6. What are the effect programming environments on language design??
7. What is impact of machine architecture on language design in terms of hardware, firmware and
virtual computer?
8. Explain with example how application domains lead to development of programming languages.
9. Explain the operation of computer in language Design.
10. How the translation and interpretation is performed in various languages? Differentiate between
them.
11. What is importance of binding time? Explain various classes of binding time.
12. Differentiate and demonstrate which programming paradigm is better to solve complex problems
imperative and object oriented programming paradigm.

Unit-II: Structuring the Data, Computations and Program


1. What is a data type? Explain primitive data types and types of ordinal data type with example.
2. What is subscript binding? Explain various types of arrays: static array, fixed stack-dynamic
array, fixed heap-dynamic array and heap-dynamic array?
3. Explain slices in arrays with example. What is associative array? How rectangular arrays differ
from jagged arrays.
4. Explain difference between arrays, records and unions?
5. Differentiate between free union and discriminated union.
6. Explain how pointers differ from references with example?
7. What is dangling pointer and lost heap dynamic variables? How dangling pointer problem is
solved?
8. What is type conversion? Explain various types of type conversion?
9. What is a mixed-mode expression? Explain short circuit evaluation with example.
10. Why precedence and associativity is important in expression evaluation?
11. Why selection and iteration statements are used in programming languages. What is the
general form of a two-way selector?
12. What is unconditional branching? What is subprogram? Give an example of subprogram
prototype and definition of subprogram? What are characteristics of subprograms?
13. What is local variable? Explain local referencing environment.
14. What is subprogram? What are design issues in subprograms?
15. What are semantic models of parameter passing? Explain various parameter passing methods
with example
16. Why abstraction and encapsulation are powerful features of object oriented programming
languages? Explain with Example naming encapsulation.

You might also like