Download PTU (I.K. Gujral Punjab Technical University Jalandhar (IKGPTU) ) BE/BTech CSE/IT (Computer Science And Engineering/ Information Technology) 2020 March 3rd Sem BTCS 302 18 Object Oriented Programming Previous Question Paper
Roll No. Total No. of Pages : 02
Total No. of Questions : 18
B.Tech.(CSE) (2018 Batch) (Sem.?3)
OBJECT ORIENTED PROGRAMMING
Subject Code : BTCS-302-18
M.Code : 76437
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks
each.
2. SECTION-B contains FIVE questions carrying FIVE marks each and students
have to attempt any FOUR questions.
3. SECTION-C contains THREE questions carrying TEN marks each and students
have to attempt any TWO questions.
SECTION-A
Write briefly :
1. Define Class.
2. What is Pointer operator? State with example?
3. What are the special characteristics of friend function?
4. What is pure virtual function?
5. What is mean by Polymorphism?
6. How static data member of class is defined?
7. List the operators which are not possible to overload.
8. Benefits of Object oriented Programming.
9. Types of Inheritance.
10. What is a token?
FirstRanker.com - FirstRanker's Choice
1 | M-76437 (S2)- 380
Roll No. Total No. of Pages : 02
Total No. of Questions : 18
B.Tech.(CSE) (2018 Batch) (Sem.?3)
OBJECT ORIENTED PROGRAMMING
Subject Code : BTCS-302-18
M.Code : 76437
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks
each.
2. SECTION-B contains FIVE questions carrying FIVE marks each and students
have to attempt any FOUR questions.
3. SECTION-C contains THREE questions carrying TEN marks each and students
have to attempt any TWO questions.
SECTION-A
Write briefly :
1. Define Class.
2. What is Pointer operator? State with example?
3. What are the special characteristics of friend function?
4. What is pure virtual function?
5. What is mean by Polymorphism?
6. How static data member of class is defined?
7. List the operators which are not possible to overload.
8. Benefits of Object oriented Programming.
9. Types of Inheritance.
10. What is a token?
2 | M-76437 (S2)- 380
SECTION-B
11. Write C++ program to overload + operator to add two matrices.
12. How are exception handle in class?
13. Explain Virtual function.
14. Write a C++ program to concatenate two strings.
15. What are the drawbacks of procedural and structural programming language?
SECTION-C
16. Write a C++ program that erases all the elements in a list using iterators.
17. What is Multi-level inheritance? Explain it with suitable example.
18. Describe goto, break, continue & return with suitable example.
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.
FirstRanker.com - FirstRanker's Choice
This post was last modified on 21 March 2020