[#1] – Introduction to C++ – Questions


C++ is an object oriented programming language that allows programmers to build large and complex applications in a useful and efficient way. It enables programmers to improve the quality of code produced, thus making reusable code easier to write C++ is one of the universal language that is used by programmers around the world.


It is used for making real world applications. It is the key to increase productivity and improve reliability for making complex applications. It is flexible language that helps the programmer to write the bug free programs which are easier to maintain.

Key Points To Remember –

  1. C++ is an object oriented programming language which was developed by Bjarne Stroustrup at AT & T Bell Laboratories in Muarry Hill, New Jersey USA in 1983.
  2. In Monolithic programming languages like ASSEMBLY and BASIC the program consists of sequence of statements that modify data which is global throughout the whole program.
  3. In Procedural programming language like FORTRAN and COBOL, a program is divided into functions which performs a specific task and also provide a clearly defined interface to other functions in the program.
  4. In the Structured programming language like PASCAL and C, the program is divided into functions and modules. Each module has a set of related functions.
  5. In Object Oriented Programming approach, data and functions that operate on that data are combined together into a single unit called object. It is well suited for modeling real world problems as close as possible to the user’s perspective.
  6. Objects are real world entities that binds together data and functions that operate on the data. Object is an instance of a class. A class is a group of objects with same attributes and common behaviors.
  7. Instantiation is a process of creating an object from a class.
  8. Encapsulation refers to wrapping up of data and related functions in a single unit called Object. in C++, the concept of encapsulation is implemented using a class.
  9. Abstraction is a process that involves identifying the essential features without including the internal details.
  10. Inheritance is a process of deriving a new class from the existing class without modifying it. The derived class inherits all the features of the base class and you can also add some new features into it.
  11. A base class is the one from which one or more specialized classes are derived whereas a derived class is the one that inherits properties from a base class.
  12. Inheritance provides an important extension to the idea of Reusability. It offers the possibility of writing class is the one and then reusing that code over and over again.
  13. Polymorphism can be defined as the ability to use the same name for two or more related but technically different tasks.
  14. Message passing involves sending a message from one object to another object in the system. A message comprises of the name of the object, name of the function and any information to be sent to the object.
  15. Some of the popular Object Oriented languages are C++, Ada, Smalltalk, Eiffel Java.

Viva Voce Questions – 

Here are commonly asked questions with answers:

  1. Who developed C++ ?
    • Bjarne Stroustrup developed C++ language at AT & T Bell laboratories in Murray Hill, New Jersy, USA in 1983.
  2. Name two languages that follow structured programming approach ?
    • C and Pascal
  3. Name five languages that follow Object Oriented programming approach ?
    • C++, Java, Smalltalk, Python and Eiffel.
  4. What are the key features of Object Oriented programming languages ?
    • Encapsulation, data hiding, abstraction, inheritance, polymorphism, dynamic binding etc.

Other Similar Questions – 

  1. Discuss the evolution of C++ ?
  2. What are the different types of programming approach used ?
  3. What is Procedure Oriented Programming ? What are the main characteristics ?
  4. What are drawbacks of Conventional Programming Approach ?
  5. How is global data shared in Procedural Programming ?
  6. What is Structure Programming ? Discuss its Pros and cons
  7. Write short note on Object Oriented Programming Approach .
  8. Differentiate between Object Oriented Programming and Conventional Programming.
  9. What are characteristics of object Oriented Approach ?
  10. Explain Object Oriented Programming approach using suitable example.
  11. Differentiate between an object and a class.
  12. Explain the following concepts:
    • Inheritance
    • Data Abstraction
    • Polymorphism
    • Encapsulation
    • Dynamic binding
    • Message Passing
    • Data Hiding
    • Reusability
    • Class hierarchy
  13. What are the advantages and disadvantages of Object Oriented Programming Approach ?
  14. List the promosing applications of OOP technology.
  15. List the popular OOP language.
  16. How is state binding different form dynamic binding ?
  17. Using an example explain the concept of Polymorphism ?
You may also like:

Related Posts

Leave a Reply