Home »
MCQs »
OOPs MCQs
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?
- A procedure-oriented language emphasizes data rather than procedure.
An object-oriented language emphasizes doing things or algorithms.
- A procedure-oriented language emphasizes doing things or algorithms.
An object-oriented language emphasizes data rather than procedure.
- In procedure-oriented programs are decomposed into functions.
In an object-oriented language, large programs are decomposed into functions.
- In procedure-oriented language, large programs are decomposed into functions
In an object-oriented language, programs are decomposed into functions.
- Both (a) and (b)
- 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.