Object oriented concepts UE Past Papers Questions.


View All Courses

(41) Question Category: Long answers

Briefly explain the following terms as applied in object oriented programming.

  1. A Class
  2. An Object

Answer / Solution

Unlock

(108) Question Category: Short answers

With examples ( if any ) describe the following terms

  • Data abstraction
  • Polymorphism
  • Modularity
  • ``is a`` relationship

Answer / Solution

Unlock

(109) Question Category: Short answers

Briefly differentiate the following terms

  • Methods and messages
  • Procedural programming and object - oriented programming
  • Class and objects
  • Dynamic binding and static binding

Answer / Solution

UNSOLVED

(110) Question Category: Short answers

Consider a student registration program used by the registrar`s office. The program keeps track of students who are registered for a given semester. For each student registered, the program maintains the student`s name, address, phone number, the number of subject in which the student is enrolled and total credit hours. The program also keeps track of the total number of registered students.

  • With reasons identify instances and class variables of a student class that is suitable for this program.
  • Propose any three methods in the student class above.
  • Implement above student class using Java.

Answer / Solution

UNSOLVED

(111) Question Category: Short answers

Consider the following scenarios and outline the objects ( at most three objects) and their interactions in terms of massages and arguments:

  • A passenger buying a bus ticket
  • A student borrowing a book in library
  • A lecturer delivering his/her lecture to a class of students

Answer / Solution

UNSOLVED

View All Courses
News & Updates | Recently
Recent Updates
questions

2024-05-02: questions

Questions Uploaded on 2024-05-02


questions

2024-03-29: questions

Questions Uploaded on 2024-03-29


questions

2024-03-19: questions

Questions Uploaded on 2024-03-19

Dismissible in 10 seconds