Roll No.
Total No. of Questions : 09
Total No. of Pages : 02
--- Content provided by FirstRanker.com ---
B.Tech.(Electronics Engineering/Electrical & Electronics)
(E-1 2012 Onwards)
(Sem.-6)
OBJECT ORIENTED PROGRAMMING
Subject Code : BTEEE-603C
--- Content provided by FirstRanker.com ---
M.Code : 72844
Time: 3 Hrs.
Max. Marks : 60
INSTRUCTIONS 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.
--- Content provided by FirstRanker.com ---
SECTION-A
1. Answer briefly :
- a. Differentiate between type conversions.
- b. What is a static data member?
- c. What is meant by Overloading Operators?
- d. What do you understand by memory leaks?
- e. What is an Abstract class?
- f. What is Function Template?
- g. List the syntax of any two functions used to display output to the user in C++.
- h. What are the differences between sequential and random access files?
- i. What is an Uncaught Exception?
- j. What are C++ streams?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
--- Content provided by FirstRanker.com ---
2. Write a program to find whether a given number is prime or not using a function.
3. Explain the concept of Function Overloading and Function Overriding with the help of examples.
4. What is a constructor? Differentiate between Default and Parameterized Constructors with the help of examples.
5. Explain the concept of Virtual and Pure Virtual Functions with the help of examples.
6. What is Dynamic Memory Allocation? Explain with the help of an example how to create and destroy objects dynamically.
--- Content provided by FirstRanker.com ---
SECTION-C
7. Explain in detail the different features of Object Oriented Programming.
8. What is polymorphism? Explain in detail the different methods of implementing polymorphism in C++.
9. Write the different steps involved in processing a file. Write a program to write characters onto a file and to read characters from a file.
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 ---
Visit FirstRanker.com for more question papers.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU B.Tech 6th Semester Last 10 Years 2009-2019 Previous Question Papers|| Punjab Technical University