UGC NET STUDY MATERIALS

The C++ programming language was developed at AT & T Bell Labs, during 1980 by Bjarne Stroustrup. more information

objective questions for smu students:

1. Which of the following languages is not a procedure-oriented programming language?

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

Popular Posts

Recent Posts