Get premium membership and access revision papers, questions with answers as well as video lessons.

Evolution Of Programming Languages Question Paper

Evolution Of Programming Languages 

Course:Bachelor Of Science In Computer Science

Institution: Kabarak University question papers

Exam Year:2009



COURSE CODE: COMP 410
COURSE TITLE: EVOLUTION OF PROGRAMMING
LANGUAGES
STREAM: Y4S1

INSTRUCTIONS:
Answer Question 1 and two other Questions

QUESTION 1 (30 MARKS)
(a) Describe the following semantics
(i) Denotational semantics (1 Mark)
(ii) Operational semantics (2 Marks)
(b) Use BNF to describe the syntax of simple CLIPS program consisting of rule that calls
function (3 Marks)
(c) Compare C++ and Java programming language object oriented design features (four points)
(6 Marks)
(d) Explain the following factors that determine write ability of a language
(i) Orthogonality and simplicity (2 Marks)
(ii) Abstraction (2 Marks)
(e) Discuss how any 3 programming language exception handling design issues are likely to
affect reliability of programs written in language (6 Marks)
(f) Describe the following programming language paradigms
(i) Rule based (1 Mark)
(ii) Common model multiple programming languages (1½ Marks)
(iii) Logic (1½ Marks)
(g) Discuss Readability of LISP programming Language (4 Marks)
QUESTION 2 (20 MARKS)
(a) Explain four design issues of pointers (6 Marks)
(b) Explain the following syntactical elements and how they have been implemented in Lisp
language
(i) Delimiters ( ½ Mark)
(ii) Free or Fixed Statement format (½ Mark)
(iii) Statements (1 Mark)
(iv) Arithmetic expressions (½ Mark)
(v) Comments (½ Mark)
(vi) Expressions (1 Mark)
(c) (i) Discuss how learning programming language concepts can assist you learn a new
programming language that has recently been developed by Kabarak University.
(3 Marks)
(ii) Discuss some factors that would determine whether new a language would be widely
used (3 Marks)
(iii) What would determine if language in c (i) is portable (4 Marks)
QUESTION 3 (20 MARKS)
(a) Explain design issues of following programming language constructs and their variation in
programming languages
(i) Counter controlled loops (4 Marks)
(ii) Logically controlled loops (2 Marks)
(b) (i) Compare Design Goals of C++ and CLIPS programming languages (6 Marks)
(ii) Give possible reasons why CLIPS is not as widely used as C++ (2 Marks)
(c) (i) Describe five elements of ECMA language standards (4 Marks)
(ii) What are two advantages of a designer of programming basing his language on this
standard. Explain. (2 Marks)
QUESTION 4 (20 MARKS)
(a) Write a C++ abstract stack program (6 Marks)
(b) Discuss how architecture of .NET framework meets its design goals (8 Marks)
(c) Explain four Sub program design issues and how they are implemented in programming
languages. (6 Marks)
QUESTION 5 (20 MARKS)
(a) Discuss design goals of ADA programming Language (4 Marks)
(b) Explain six design issues of arithmetic expressions (6 Marks)
(c) Write a LISP program to reverse a List. (6 Marks)
(d) Explain implementation of Object oriented Dynamic binding of method calls to
methods (4 Marks)






More Question Papers


Popular Exams



Return to Question Papers