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

What is Programming Language???

In computer system ,there are lot of programming language avialable there.for example c,c++,pascal,cobol,etc. there are lot of language are their. basically these are divided into some catagories such as:machine,assembly and high level language.
MACHINE LANGUAGE: Machine language are language which are written in the form of 0 and 1. it is also known as binary language. this is the language which is not understand by user directly,it should be converted first into high level language to user understandable with the help of compiler. it is written in form of 0 or 1 that meanse power supply off or on respectivley.

ASSEMBLY LANGUAGE: Assembly language is written in the form of 0 or 1 as well as mnemonics code.i.e. ADD,MUL,SUB,DIV etc.

HIGH LEVLE LANGUAGE: High levle language are those language which are human understandable. Human being can directly understand this language. Now a days ,some popular high levle language are c,c++,cobol,basic,java,fortran etc.

Popular Posts

Recent Posts