a) ALGOL
b) COBOL
c) FORTRAN
d) None of the above
2. Which of the following programming approach used functions as a key concept to perform action-oriented tasks?
a) Structured programming
b) Modular programming
c) Procedure-oriented programming
d) Object-oriented programming
3. Identify the drawback of using procedure-oriented programming, if any:
a) Data is hidden from external functions
b) New functions can be added whenever necessary
c) Does not reflect real world problems
d) All of the above
4. Which is not associated with Object-oriented programming?
a) Data abstraction
b) Automatic initialization
c) Dynamic binding
d) None
5. The term operator overloading in C++ refers to:
a) Inheritance
b) Message passing
c) Polymorphism
d) None
6. Which one of the following OOP concepts enables reusability of components?
a) Inheritance
b) Encapsulation
c) Polymorphism
d) All of the above
7. The concept of hierarchical classification is related to:
a) Abstraction
b) Inheritance
c) Function overloading
d) None
8. Object-based programming languages do not support:
i. Inheritance
ii. Dynamic binding
iii. Encapsulation
iv. All of the above
a) Both i and ii
b) iii only
c) iv only
d) i, ii, and iii
9. C++ does not support
i. Genericity
ii. Early binding
iii. Garbage collection
iv. Multiple Inheritance
a) i only
b) ii only
c) iii only
d) ii, iii and iv
10. Which of the following is an Object-oriented programming language?
i. Smalltalk
ii. Object Pascal
iii. Java
iv. All of the above
a) Both ii and iii
b) i only
c) iii only
d) iv only
--------------------------------------------------------------------------------
Answers
--------------------------------------------------------------------------------
1. d) None of the above
2. c) Procedure-oriented programming
3. c) Does not reflect real world problems
4. d) None
5. c) Polymorphism
6. a) Inheritance
7. b) Inheritance
8. a) Both i and ii
9. a) i only
10. d) iv only
----------------------------
RAJ SOLUTION'S
www.rajsolution.com
www.sahinraj.blogspot.com
No comments:
Post a Comment