You are on page 1of 2

Introduction to C++ Programming

SIMP Questions -22SCHEME


BY TIE REVIEW TEAM -SVIT and KSIT

Average time to be spent per module- 60 Mins

Module-1(Study any 5 Questions)

1. Explain the overview of C++ language considering a program as an example.


2. Explain the following:
i) Encapsulation
ii) Abstraction and abstract classes
iii) Inheritance
iv) Polymorphism
v)Function overloading
3. What are objects and classes? Explain with examples
4. What is object oriented programming? Explain with example how it is different from
object based programming
5. Explain message passing in with a suitable example

Module-2(Study any 5 Questions)

1. What is a function? How to declare and define functions in C++? Explain with
examples
2. Explain call by reference and value with example
3. List out and explain the different variables and operations used in C++ with
examples, explain briefly the importance of Scope resolution operators
4. What is an inline function? How is it different from normal function?
5. What is function overloading? Explain with examples
6. What is a default argument? Explain with examples.
7. explain C++ Tokens and reference variables in C++ with examples.

Module-3(Study any 5 questions)

1. Explain multilevel and multiple inheritance with the help of programming examples
2. Describe the importance of constructor and destructor. Explain its use with a program
3. illustrate the use of hierarchical inheritance with a programming example
4. Explain base and derived classes pertaining to inheritance with examples
5. What is hybrid inheritance? Explain with example

Module-4 (Study any 5/all questions)

1. With a neat diagram, discuss stream class hierarchy in C++.


2. Write the various functions used to open, close, read and write data in text files
3. Explain how to write and read time in/from binary file using fstream using a program
4. What are text files and binary files? Explain with programming examples
5. Explain get (), put( ) and getline( ) functions with examples

Module- 5(Study any 5 questions)

1. Discuss exception handling mechanisms in C++ with snippets


2. Explain exception handling, Write a function which throws a division by zero
exception and catch it in the catch block. Write a C++ program to demonstrate usage
of try, catch and throw to handle exceptions.
3. Discuss catching class types as exceptions and re-throwing an exception with
examples.
4. Explain the use of try, catch and throw statements in exception handling with
examples.
5. Explain pre-defined exception in C++ with example
6. Explain how array of bounds exceptions is handled, Write a C++ program function
which handles an array of bounds exceptions using C++.

You might also like