Sunday, 13 March 2011

IMP QUESTIONS


OOPS through CPP

PART-A
                                                                   
1.      Diff b/w procedural oriented programming & object oriented programming. (i.e. c and c++)
2.            Explain the comments statements in C++
3.            List the advantages of C++
4.            What do you mean by a class? Give an example.
5.            Explain the class specification concept with an example in c++.
6.            List the C++ I/O operators and give their meaning.
7.            List the advantages of inline functions
8.            What are the characteristics of a friend function?
9.            State the usage of ‘this pointer’.
10.       What is reference variable.
11.       Explain the advantages and limitations of references.
12.       what do you mean by array of objects give example?
13.       What are new and delete operators?
14.       Difference between new operator and malloc ().
15.       Explain the need for inheritance
16.       write the syntax for single inheritance.
17.       What are the different forms of inheritance?
18.       What is a class?
19.       State the relation between base class and derived class.
20.       How do you meant by virtual base class?
21.       What is the hierarchy of stream classes?
22.       Write short notes on (a)put()  (b)get()
23.       Define virtual function and give its application.
24.       What is a pure virtual function?
25.       What are the binary I/O functions?
26.       Define template?
27.       What is the purpose (advantages) of templates?
28.       What is a class template? List its advantages.
29.       List I/O Manipulators in C++ and give their meaning
30.       List the file opening modes.

SECTION-B

31.       Explain the input and output statements of c++.
32.       Explain the properties of OOPS               12
33.       Explain the class specification concept with an example in c++
34.       Differentiate array, pointer, and reference variables.
35.       (a) explain how returning objects  concept with an example (b.) explain how to pass objects to a function with an example.
36.       What is array of objects? WAP to illustrate the use of array of objects
37.       WAP to illustrate array of pointers to objects.
38.       Explain pointer to object with the help of a program.
39.       (a) What is friend function? Write any example program (b) distinguish between constructors and destructors.
40.       (a)What is a constructor? Write the characteristics of constructors.(b.)Write a C++ program to generate the Fibonacci series using constructors.
41.       (a)Explain the object oriented approach of programming.                                                        (b)Write a C++ program to illustrate the use of inline functions.
42.       (a)Explain the advantages and limitations of references                                                   (b)Define inheritance and write a C++ program to illustrate inheritance with a suitable example.
43.       What is operator overloading? Explain operator overloading function for binary operators.
44.       WAP to overload the unary operator ++.
45.       Explain the concept of: (a) operator overloading (b) function overloading
46.       Write a cpp program using dynamic memory operators, explain about new and delete operators.
47.       What is multiple inheritances? Explain with a simple program.
48.       What are the various types of access controls?
49.       What are the various inheritance types?
50.       (b)Write a C++ program to read two integers from the keyboard and to perform simple arithmetic operations using the pointer technique. The memory space for the variables should be allocated by the new operator.
51.       (a)Explain the concept of inheritance.                     (b) Explain visibility modes in C++.
52.       Write a program to implement multi level inheritance in c++.
53.       (a)Explain the following file I/O functions.                       (b)Open (b)Close (c)read (d)Write  
54.       (a)Explain about C++ I/O.
55.       Explain about I/O manipulators with examples.
56.       Explain virtual functions and its applications? Write a C++ program using virtual function.
57.       (a) wap to illustrate the virtual base class   (b) (b)wap to illustrate the virtual base class.
58.       Explain creation of function based templates.
59.       Explain templates with multiple arguments types.( hint: write swap program for int, float, char
60.       Explain about: (a) function based templates.                  (b) Class based templates.
61.       What is class template and write program in C++ for creation of class template for Stack Data Structure.

No comments:

Post a Comment