Skip to main content

Command Palette

Search for a command to run...

Unit 1 Expected Questions

Published
2 min read

I. Principles of Object-Oriented Programming (Chapter 1)

  1. What do you think are the major issues facing the software industry today?

  2. Briefly discuss the software evolution during the period 1950 -1990.

  3. What is procedure-oriented programming? What are its main characteristics?

  4. Discuss an approach to the development of procedure-oriented programs.

  5. Describe how data are shared by functions in a procedure-oriented program.

  6. What is object-oriented programming? How is it different from the procedure-oriented programming?

  7. How are data and functions organized in an object-oriented program?

  8. What are the unique advantages of an object-oriented programming paradigm?

  9. Distinguish between the following terms:

    • Objects and classes

    • Data abstraction and data encapsulation

    • Inheritance and polymorphism

    • Dynamic binding and message passing

  10. What kinds of things can become objects in OOP?

  11. Describe inheritance as applied to OOP.

  12. What do you mean by dynamic binding? How is it useful in OOP?

  13. How does object-oriented approach differ from object-based approach?

  14. List a few areas of application of OOP technology.

  15. State whether the following statements are TRUE or FALSE:

    • In procedure-oriented programming, all data are shared by all functions.

    • The main emphasis of procedure-oriented programming is on algorithms rather than on data.

    • One of the striking features of object-oriented programming is the division of programs into objects that represent real-world entities.

    • Wrapping up of data of different types into a single unit is known as encapsulation.

    • One problem with OOP is that once a class is created it can never be changed.

    • Inheritance means the ability to reuse the data values of one object by another object.

    • Polymorphism is extensively used in implementing inheritance.

    • Object-oriented programs are executed much faster than conventional programs.

    • Object-oriented systems can scale up better from small to large.

    • Object-oriented approach cannot be used to create databases.

26 views