Roll No. ___________ Total No. of Pages : 02
Total No. of Questions : 07
BCA (2014 to 2018)/B.Sc. (IT) (2015 & Onward)
--- Content provided by FirstRanker.com ---
(Sem.-2)
OOPS USING C++
Subject Code : BSBC-203
M.Code: 10052
Time : 3 Hrs. Max. Marks : 60
--- Content provided by FirstRanker.com ---
INSTRUCTION TO CANDIDATES :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains SIX questions carrying TEN marks each and a student has to attempt any FOUR questions.
SECTION-A
1) Answer briefly :
--- Content provided by FirstRanker.com ---
- What are characteristics of object oriented languages?
- Differentiate between Structures and Unions.
- Give the concept of Array within a class with suitable example.
- When inline functions are used?
- What is the benefit of copy constructor?
- Differentiate between privately derived and publicly derived single inheritance.
- List the operators that cannot be overloaded.
- What is early Binding?
- How to read and write character from a file in C++?
- What is this pointer? Give suitable example.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
- What is object oriented programming? Explain any five characteristics of object oriented programming languages.
- What is the constructor? List some of the special properties of the constructor functions. Describe the importance of destructor. Explain the use of destructor with the help of an example.
- What are the different forms of inheritance? Give examples of each. Describe the syntax of single inheritance in C ++.
- Given a class Complex with real and imaginary part as data members. Write a C++ program to overload plus operator and minus operator to add and subtract two real numbers respectively.
- What is the virtual function? Why do we need virtual functions? When do we make virtual function pure? Give suitable example of pure virtual function.
- What is static data member and static member function? Write a C++ program demonstrating the use of it.
--- Content provided by FirstRanker.com ---
NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any page of Answer Sheet will lead to UMC against the Student.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU BCA Last 10 Years 2011-2021 Previous Question Papers