Which one of the following states the correct difference between object-oriented programming and object-based programming?

13. Which one of the following states the correct difference between object-oriented programming and object-based programming?

  1. A procedure-oriented language emphasizes data rather than procedure.
    An object-oriented language emphasizes doing things or algorithms.
  2. A procedure-oriented language emphasizes doing things or algorithms.
    An object-oriented language emphasizes data rather than procedure.
  3. In procedure-oriented programs are decomposed into functions.
    In an object-oriented language, large programs are decomposed into functions.
  4. In procedure-oriented language, large programs are decomposed into functions
    In an object-oriented language, programs are decomposed into functions.
  5. Both (a) and (b)
  6. Both (b) and (d)

Answer: F) Both (b) and (d)

Explanation:

A Procedure-oriented language emphasizes doing things or algorithms and object-oriented language emphasizes data rather than procedure.

In procedure-oriented language, large programs are decomposed into functions and in an object-oriented language, programs are decomposed into functions.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.