I-MIDTERM
EXAMINATION- SEP.-2008
III
YEAR (CSE) (PPL)
MM-30 TIME-1
Hr.
Note: attempt all questions.
All
questions are equal marks.
Q-1. Attempt any one part of following. 10
a) Explain the factors influencing the
evolution of programming language?
Ans. Topics:
Following are the factors
which are influencing the evolution of programming language:
·
Computer
capabilities
·
Applications
·
Programming
methods
·
Implementation
method
·
Theoretical
studies
·
Standardization
b) Define the characteristics of good
programming language?
Ans. Topics:
Following are the characteristics
of good programming language:
·
Clarity,
simplicity and unity.
·
Naturalness for
the applications
·
Support for
abstractions
·
Easy of program
verification
·
Programming
environment
·
Portability of
programs
·
Cost of use
Q-2. Attempt any two parts of following. (5 * 2)
a) Define in brief about the development of programming
methodologies?
Ans. Topics:
Following points are the development
of programming methodologies:
·
Imperative or
procedural language
·
Applicative or
functional language
·
Rule based or
logical language
·
Object oriented
language
b) Explain the syntax and semantics in brief?
Ans. Topics:
Syntax
describes the structure of program and semantics defines the relationship
between the syntax and the computational modal. To simplify the task of
reasoning about programs, the syntax of programming language should be closely
related to the computational modal.
In
brief saw the PPL notes.
c) Explain
the design issues of the programming language?
Ans. Topics:
About the design issues the
main topic is scope rule.
Q-3. Attempt any one part of following. 10
a) Explain about the programming processors with figure?
Ans. Topics:
About the programming
processors following topics will covered:
·
Basic features
and terminology
·
Language
translator
·
Compiler
·
Interpreter
·
Stages of
compiling
·
Errors in
compiling
b) What is binding and binding time. Also
define about execution time binding and
translation time binding?
Ans. Topics:
For binding and binding time
following topics are covered:
1. About
binding
2. Classes of
binding time
3. Execution
time (run time binding)
·
On entry to a subprogram or block
·
At arbitrary points during execution
4. Translation
time (compile time binding)
·
Binding chosen by the programmer
·
Binding chosen by the translator
·
Binding chosen by the loader