Sunteți pe pagina 1din 3

Important Questions Computer SCIenCe paper-II

Important Questions

Unit- 1
Q1. Write any three differences between C and C++
Ans: Important Question

For answer refer Unit-I, Page No. 2, Q.No. 3.


Q2. Deine an object.
Ans: Important Question

For answer refer Unit-I, Page No. 2, Q.No. 4.


Q3. List out various operators of C++.
Ans: Important Question

For answer refer Unit-I, Page No. 4, Q.No. 6.


Q4. Deine a function.
Ans: Important Question

For answer refer Unit-I, Page No. 3, Q.No. 10.


Q5. Explain in detail various data types in C++.
Ans: Important Question

For answer refer Unit-I, Page No. 7, Q.No. 15.


Q6. discuss about if and if-else statements.
Ans: Important Question

For answer refer Unit-I, Page No. 15, Q.No. 22.


Q7. How do you declare and initialize the string variable?
Ans: Important Question

For answer refer Unit-I, Page No. 33, Q.No. 38.


Q8. Write in brief about inline functions.
Ans: Important Question

For answer refer Unit-I, Page No. 52, Q.No. 52.

Unit- 2
Q1. How to declare a class? Give its syntax.
Ans: Important Question

For answer refer Unit-II, Page No. 68, Q.No. 1.

Q2. What is operator overloading?


Ans: Important Question

For answer refer Unit-II, Page No. 68, Q.No. 3.


SIA PUBLISHERS and dISTRIBUTORS PVT. LTd. IQ.1
Computer SCIenCe paper-II Programming in C++
Q3. Deine object. How is an object created in C++?
Ans: Important Question

For answer refer Unit-II, Page No. 69, Q.No. 4.

Q4. Deine aggregation.


Ans: Important Question

For answer refer Unit-II, Page No. 70, Q.No. 10.

Q5. Deine constructor. Explain various types of constructors in C++.


Ans: Important Question

For answer refer Unit-II, Page No. 75, Q.No. 16.

Q6. Explain the creating and accessing of array of objects with an example program.
Ans: Important Question

For answer refer Unit-II, Page No. 81, Q.No. 20.

Q7. How operator overloading is done? Explain.


Ans: Important Question

For answer refer Unit-II, Page No. 87, Q.No. 26.

Q8. Discuss about object conversion.


Ans: Important Question

For answer refer Unit-II, Page No. 89, Q.No. 27.

Unit- 3
Q1. What is inheritance?
Ans: Important Question

For answer refer Unit-III, Page No. 98, Q.No. 1.

Q2. What are the differences between inheriting a class with public and private visibility modes?
Ans: Important Question

For answer refer Unit-III, Page No. 98, Q.No. 3.

Q3. List the C++ streams.


Ans: Important Question

For answer refer Unit-III, Page No. 99, Q.No. 6.

Q4. What are stream classes?


Ans: Important Question

For answer refer Unit-III, Page No. 100, Q.No. 8.

Q5. Deine inheritance. Explain various types of inheritance.


Ans: Important Question

For answer refer Unit-III, Page No. 101, Q.No. 11.


IQ.2 SIA PUBLISHERS and dISTRIBUTORS PVT. LTd.
Important Questions Computer SCIenCe paper-II
Q6. What is polymorphism? Explain different types of polymorphism.
Ans: Important Question

For answer refer Unit-III, Page No. 113, Q.No. 20.

Q7. Explain the concept of abstract base class.


Ans: Important Question

For answer refer Unit-III, Page No. 117, Q.No. 24.

Q8. Explain formatted I/O functions with examples.


Ans: Important Question

For answer refer Unit-III, Page No. 123, Q.No. 29.

Unit- 4
Q1. What happens if an exception is not caught?
Ans: Important Question

For answer refer Unit-IV, Page No. 136, Q.No. 2.

Q2. What are the steps involved in working of function template?


Ans: Important Question

For answer refer Unit-IV, Page No. 137, Q.No. 7.

Q3. discuss about class template with more parameters.


Ans: Important Question

For answer refer Unit-IV, Page No. 138, Q.No. 9.

Q4. Write a sample C++ program to swap two numbers using template class.
Ans: Important Question

For answer refer Unit-IV, Page No. 138, Q.No. 10.

Q5. Explain in detail how exceptions are handled.


Ans: Important Question

For answer refer Unit-IV, Page No. 142, Q.No. 15.

Q6. What is a template? State the need for template also give the classiication of templates.
Ans: Important Question

For answer refer Unit-IV, Page No. 151, Q.No. 21.

Q7. Explain the creating of classes based on templates.


Ans: Important Question

For answer refer Unit-IV, Page No. 157, Q.No. 27.

Q8. Explain the components of Standard Template Library (STL).


Ans: Important Question

For answer refer Unit-IV, Page No. 162, Q.No. 31.


SIA PUBLISHERS and dISTRIBUTORS PVT. LTd. IQ.3

S-ar putea să vă placă și