Roll No. Total No. of Pages : 02
Total No. of Questions : 07
--- Content provided by FirstRanker.com ---
B.Sc.(CS) (2013 & Onwards) (Sem.-2)
OBJECT ORIENTED PROGRAMMING IN C++
Subject Code : BCS-205
M.Code : 71510
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 ---
- Difference between class and an object.
- What are structures?
- Define Encapsulation.
- List types of operators.
- What is friend function?
- Discuss the use of pointers.
- What are multidimensional arrays?
- What is static and dynamic binding?
- Discuss function overloading.
- What are streams in C++?
--- 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 are the differences between public, private and protected variables?
- a) Discuss the rules of constructors.
b) What is unary and binary operator overloading? - Differentiate between Call by Value and Call by Reference with the help of examples.
- Define Inheritance. Explain single Inheritance and multiple inheritances with the help of examples.
- Discuss the concept of file input and output functions using File handling in C++.
--- 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 B-Sc CS-IT 2020 March Previous Question Papers
--- Content provided by FirstRanker.com ---