This download link is referred from the post: PTU B.Tech Question Papers 2020 March (All Branches)
Roll No. Total No. of Pages : 02
Total No. of Questions : 09
--- Content provided by FirstRanker.com ---
B.Tech.(Electronics & Electrical Engg.) (2012 to 2017 EL-I) (Sem.-6)OBJECT ORIENTED PROGRAMMING
Subject Code : BTEEE-603C
M.Code : 71139
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 FIVE questions carrying FIVE marks each and students have to attempt any FOUR questions.
- SECTION-C contains THREE questions carrying TEN marks each and students have to attempt any TWO questions.
SECTION-A
--- Content provided by FirstRanker.com ---
- Answer briefly :
- Define Object.
- Define Function Overloading.
- What do you mean by data abstraction?
- Explain copy constructor with an example.
- Define Virtual Function
- Define Destructor.
- Write down operator precedence for C++ operator.
- What do you mean by generic function?
- Write down difference between private and public.
- Define Stream.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
- Write a program to compute square of an int and float number using overloaded function.
- Write a short note on use of scope resolution operator in inheritance.
- Write a program in C++ to swap to number using call by reference.
- Write a C++ program that overload the operator +, * and ? to perform matrix addition, multiplication and division.
- How virtual functions are used in C++? Explain with any program.
--- Content provided by FirstRanker.com ---
SECTION-C
- State the important features of object oriented programming. Compare object oriented programming with procedure oriented programming.
- How generic functions are overloaded in C++? Write a C++ program to arrange set of integer and floating point values in ascending order by using a function template.
- Write a program to use the default constructor and copy constructor for a bookshop application.
--- 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.Tech Question Papers 2020 March (All Branches)