Skip to main content

Object Oriented Programming in 'C++' Question Paper - 2012

VI Semester B.com Examination, April/May 2012
(Semester Scheme)
COMMERCE (Elective Paper - 4 (f))
Object Oriented Programming in 'C++'

Time: 3 Hours                                                                               Max. Marks : 90
Instruction:  1) Answers Should be written completely only in English. 
                        2) Answer all the Sections.



SECTION - A


Answer any 10 sub-questions. Each sub-question carries 2 marks.                            (10x2=20)

1. a) What is an object ?
    b) What is a base class ?
    c) Mention the access specifiers in C++.
    d) What is an identifier ?
    e) What is a structure ?
    f) What is a function ?
    g) Define hybrid inheritance.
    h) What are inline functions ?
    i) What is polymorphism ?
    j) State difference between Union and Structure.
    k) What is Header file ?
    l) How pointers to void  are defined in C++ ?

SECTION - B

Answer any 5 of the following questions. Each question carries 5 marks.                              (5x5=25)

2. What are objects ? How are they created in C++ ?
3. Give general syntax of a class declaration.
4. State the difference between do-while and while loop.
5. What are Constructors and Destructors?
6. Explain briefly data abstraction and data encapsulation.
7. State any five features of pointers.
8. What is a friends function ? Explain.
9. What is polymorphism ? Explain with one example. 

SECTION - C

Answer any 3 of the following questions. Each question carries 15 marks.                              (3x15=45)

10. What is OOP ? Briefly explain the features and benifits of OOP.
11. Explain with example
     a) Operator overloading
     b) Function overloading
12. a) Give the syntax of switch statement in C++.
      b) Write a program illustrating the usage of inline function.
13. Write short notes on :
     a) Pointers
     a) Structures
     a) Functions.
14. a) What is array ? How are array elements accessed ? Explain.
      b) Write any five special characteristics of constructors.


Comments

Popular posts from this blog

B.com I Sem - Company Law and Secretarial Practice(CLSP) Question Paper 2011

I Sem B.com Examination, Nov/Dec 2011  (Semester Scheme) (2011-12 Batch and Onwards)  COMMERCE  Company Law and Secretarial Practice  Time : 3 Hrs                                                                                                     Max. Marks: 90  SECTION - A  1. Answer any 10 sub-questions. Each sub-question carries 2 marks (10x2=20) a) What are the different kinds of company ? b) Who is ‘Pro-tem Secretary’ ?  c) Who are the promoters of Company ?  d)  What is certificate of incorporation ?  e)  What is statutory report ?  f) What is Reserve Capital ?  g ) Who is a company secretary ?  h) What do you mean by statement in lieu of prospectus ?  i) What is meeting ?  j) What is Quoram ?  k) Who is a Director of a Company ? l) What is a share warrant ?