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

Comp 410: Evolution Of Programming Languages Y4s1 Question Paper

Comp 410: Evolution Of Programming Languages Y4s1 

Course:Bachelor Of Science In Computer Science

Institution: Kabarak University question papers

Exam Year:2009



INSTRUCTIONS:
Answer Question 1 and two other Questions

Question 1 (30 Marks)
(a) Explain the following as used in programming language paradigms and their importance.
(i) Syntax (2 Marks)
(ii) Semantics (2 Marks)
(iii) Concepts (2 Marks)
(iv) Paradigm (1 Mark)
(v) Reliability (2 Marks)
(vi) Readability (2 Marks)
(b) Describe the following
(i) aspect oriented programming (2 Marks)
(ii) Procedural programming (3 Marks)
(c) (i) what is operator overloading? (1 Mark)
(ii) Explain why arithmetic operator + is overloaded in C programming language
(1 Mark)
(iii) Discuss advantages and disadvantages of operator overloading (2 Marks)
(d) Describe how Exception handling has been implemented in c++ (5 Marks)
(e) Explain five costs of using a programming language to developed software. (5 Marks)
Question 2 (20 Marks)
(a) Explain five design issues of pointers (5 Marks)
(b) (i) Explain characteristics of modular programs, and give their advantages. (6 Marks)
(ii) How are characteristics in b(i) implemented in object oriented languages?
(4 Marks)
(c) Discuss portability issues of .Net Framework (5 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 (3 Marks)
(iii) if else (3 Marks)
(iv) Explain any two above issues of c++ for loop (2 Marks)
(b) Discuss C Programming language subprogram design (8 Marks)
Question 4 (20 Marks)
(a) (i) Write a C++ abstract Queue program (6 Marks)
(ii) Discuss the following for abstract Queue program in a(i)
1. Readability (5 Marks)
2. Writeability (4 Marks)
(b) (i) Describe the BNF language used to represent the syntax of programming
languages (3 Marks)
(ii) Use BNF to represent a C++ numbers and letters (2 Marks)
Question 5 (20 Marks)
(a) Describe the following data types and their implementation in different programming
languages
(i) Record type (2 Marks)
(ii) Associative Arrays (2 Marks)
(iii) Strings (2 Marks)
(b) Describe the syntax of a CLIPS rule (2 Marks)
(c) (i) Explain six design issues of arithmetic expressions (6 Marks)
(ii) Explain how they have been implemented in imperative languages (6 Marks)






More Question Papers


Popular Exams



Return to Question Papers