This download link is referred from the post: OU BSc Computer Science 2021 Important Question Bank || Osmania University (Important Questions)
Subject Title: Programming in C++
Year: |
Semester: II
--- Content provided by FirstRanker.com ---
Prepared by: Kishore Bezawada
Updated on: 22-03-
SHORT ANSWER QUESTIONS:
Unit - I:
- Structure of C++ Program
- Tokens
- Storage Classes
- Operator Precedence & Associativity
- Expressions
- While Vs. Do-While
- Dynamic Arrays
- Pointers
- Recursion
- C Vs. C++ (or) Procedure-oriented Vs. Objected Oriented Programming
- Benefits of OOP
- Applications of OOP
- Linear Search
- Binary Search
- Bubble Sort
- Selection Sort
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Unit - II:
- Class & Object (or) Instantiation (or) Data Encapsulation
- Scope Resolution Operator
- Constructor
- Destructor
- const keyword
- Function Overloading
- Operator Overloading Rules
- Constructor Overloading
- Member-wise Assignment
- This pointer
- new & delete operators (Dynamic Memory Allocation & Deallocation)
- Type Conversion (Casting)
- Aggregation
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Unit - III:
- Inheritance (Reusability) (Derivation)
- Access Modifiers ( Access Controls or Access Specifiers or Visibility Modes)
- Order of constructor call
- Data Abstraction
- Polymorphism
- Method Overriding (Function Overriding)
- Upcasting
- Streams
- Manipulators
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Unit - IV:
- Exceptions
- Try...Catch
- Throw Vs. Rethrow
- Class Template
- Function Template
- STL
--- Content provided by FirstRanker.com ---
LONG ANSWER QUESTIONS:
Unit - I:
- What is a Data Type? Explain different data types in C++.
- Explain different types of Operators in C++.
- Explain about different Control Structures in C++.
- What is an Array? Explain how arrays are implemented in C++ with example.
- Explain about the Searching Techniques in C++ with suitable program.
- Explain about the Sorting Techniques in C++ with suitable program.
- What is a Function? Explain how a function can be declared and defined in C++.
- What is a Function Call and explain different types of function calls with examples.
- Write about Basic functional concepts (Features or Benefits) of Object-Oriented Programming (OOP).
- Explain different String handling functions in C++.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Unit - II:
- Define a Class & Object. Explain how an object is created with suitable example.
- What is a Constructor? Explain different types of constructors with examples.
- Explain the usage of Array of objects.
- What is Function Overloading? Explain it with suitable program.
- What is Constructor Overloading? Explain how to implement it with a suitable program.
- Explain the purpose of Friend function & class with suitable example.
- Explain the importance of Inline functions with example program.
- Write a program to show the usage of Static data members and functions.
- What is an Operator overloading? Write a program to overload an unary operator (unary minus or ++ Or --).
- What is an Operator overloading? Write a program to overload an Binary operator (Arithmetic Operator or Relational Operator).
- Write a program to overload Binary operator using Friend function.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Unit - III:
- What is an Inheritance (Reusability)? Explain different types of inheritance with examples.
- Write about Access Controls (Visibility Modes) in Inheritance.
- Explain how Static functions can be implemented in Inheritance.
- What is Upcasting in C++? Explain it with suitable example.
- Explain why Base class constructor is called inside derived class with suitable program.
- What is Polymorphism? Explain the types of Polymorphism.
- What is Virtual Function? Explain it with a suitable example.
- What is Pure Virtual Function? Explain it with a suitable example.
- What is an Abstract Class? Explain how Data Abstraction is implemented with suitable example.
- What are Stream Classes in C++ and Explain about Input / Output streams?
- Explain how Unformatted I/O operators are implemented with examples.
- Explain how Formatted Console I/O operators are implemented with examples.
- Write about Manipulator functions used in C++.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Unit - IV:
- What is an Exception handling? Explain it with a suitable example.
- Explain how multiple catch statements can be implemented with suitable example.
- Differentiate Throwing and Rethrowing with suitable example.
- What is a Template in C++? Explain how the templates are implemented in C++.
- Illustrate Class Template with an example.
- Illustrate Function Template with an example.
- Write a program to overload functions using template.
- What is STL? Explain the components of STL.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: OU BSc Computer Science 2021 Important Question Bank || Osmania University (Important Questions)