ExamsSCHOOL OF SCIENCE AND TECHNOLOGY

National Open University Exam Past Question – CIT 383 OCTOBER/NOVEMBER 2014 EXAMINATION

NATIONAL OPEN UNIVERSITY OF NIGERIA CIT 383 Introduction to Object-Oriented Programming

14-16 AHMADU BELLO WAY, VICTORIA ISLAND LAGOS SCHOOL OF SCIENCE AND TECHNOLOGY OCTOBER/NOVEMBER 2014 EXAMINATION

 

 

Course Title: Introduction to Object-Oriented Programming

 

Course Code:  CIT 383 – (2 Credits )

 

Total Score is 70 and each question is 171/2 marks

 

Answer any four (4) questions in 21/2 Hours.

 

 

 

1a. Explain the term “ Object Oriented Programming Language” (3 marks)

 

1b. Give the full meaning of the following acronyms: (i)     WYSIWYG

(ii)       OSI (iii)      PCS (iv)      RDO (v)       ADT (vi)      OOD (vii)     JVM (viii)    API (ix)      DLSs (x)       SNMP

(1 mark each)

 

 

 

2

1c.List three main features of Object Oriented Programming?(41/

marks)

 

 

 

 

 

2a. What do you understand by Operator Overloading? (4 marks)

 

2b. List and explain three key restrictions to overloading the conversion operators  (9 marks)

 

2

2c.List the three (3) logical operators that can be directly overloaded for a class (41/

marks)

 

 

 

 

3a. What is the difference between a Class and an Object? (8 marks)

3b. What do you understand by the term “methods” ?          (5 marks)

 

2

3c. List three (3) examples of methods           (41/

YOU MAY ALSO LIKE  National Open University Exam Past Question – BIO 308 October, 2013 Examination

marks)

 

 

 

 

 

4a. What do you understand by Operator Overloading? (4 marks)

 

4b. List and explain three key restrictions to overloading the conversion operators  (9 marks)

 

2

4c.List the three (3) logical operators that can be directly overloaded for a class     (41/

marks)

 

 

 

5a. Write a short note on each of the following:

(i)        Overloaded Method and Overridden Method (ii)       (ii) Local Variables and Instance Variables (iii)      Set and Get Methods

 

(3 marks each)

 

5b. What do you understand by Recursive Operator  (4 marks)

 

 

2

5c. Mention the three (3) ways to call a method        (41/

marks)

 

 

 

 

6a. What is the value of x after each of the following statement is executed:

 

  1. a. x=Maabs(-7.5);
  2. x=Math.floor(-2.7);
  3. c. x=Maceil(6.3); d. x=Math.floor(4.1); e. x=Math.ceil(-2.5); f. x=Math.pow(4,6);

h.x=Math.ceil(-Math.abs(-5+Math.floor(-3.2)));

 

(11/

2  marks each)

 

6b. Differentiate between an instance variable and a static field? (4 marks)

6c. List two advantages of software reusability ( 3 marks)

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button