Solved question paper for OOP May-2023 (B-TECH 3rd)
Solved Question Paper
Object oriented programming May-2023
PTU • B-TECH • Information Technology • 3rd • May-2023
object oriented programming previous year question papers on BRpaper are organized for students of Punjab Technical University’s Bachelor of Technology program in the Information Technology stream, 3rd semester. This section makes it easier to browse subject-wise old question papers for object oriented programming, so students can review how questions are typically framed in past exams and get a sense of the exam pattern. Many students search for object oriented programming question bank while preparing for exams, and this page is built to support exactly that kind of subject-wise browsing and revision. BRpaper is not the official website of Punjab Technical University or any institution, and it does not publish official notices or academic updates.
These Questions are downloaded from www.brpaper.com. You can also download previous years question papers of 10th and 12th (PSEB & CBSE), B-Tech, Diploma, BBA, BCA, MBA, MCA, M-Tech, PGDCA, B-Com, BSc-IT, MSC-IT.
1. Object-Oriented Programming Concepts: Introduction, comparision between procedural
programming paradigm and object-oriented proramming paradigm, basic concepts of objectoriented
programming — concepts of an object and a class, interface and implementation of a class,
operations on objects, relationship among objects, abstraction, encapsulation, data hiding, inheritance,
overloading, polymorphism, messaging.
2. Standard Input/Output: Concept of streams, hierarchy of console stream
classes, input/output
using overloaded operators >> and << and memberv functions of i/o stream classes, formatting output,
formatting using ios class functions and flags, formatting using manipulators. members, access
specifiers, static members, use of const keyword, friends of a class, empty classes, nested classes, local
classes, abstract classes, container classes, bit fields and classes.
4. Pointers and Dynamic Memory Management: Declaring and initializing pointers, accessing
data through pointers, pointer arithmetic, memory allocation (static and dynamic), dynamic memory
management using new and delete operators, pointer to an object, this pointer, pointer related problems
- dangling/wild pointers, null pointer assignment, memory leak and allocation failures.
5. Constructors and Destructors: Need for constructors and destructors, copy
constructor, dynamic constructors, explicit constructors, destructors, constructors and destructors
with static members, initializer lists.
6. Operator Overloading and Type Conversion: Overloading operators, rules for overloading
operators, overloading of various operators, type conversion - basic type to class type, class type to
basic type, class type to another class type.
7. Inheritance: Introduction, defining derived clases, forms of inheritance, ambiguity in multiple
and multipath inheritance, virtual base class, object slicing, overriding member functions, object
composition and delegation, order of execution of constructors and destructors.
8. Virtual functions & Polymorphism: Concept of binding - early binding and late binding, virtual
functions, pure virtual functions, abstract clasess, virtual destructors.
9. Exception Handling: Review of traditional error handling, basics of exception handling,
exception handling mechanism, throwing mechanism, catching mechanism, rethrowing an exception,
specifying exceptions.
10. Templates and Generic Programming: Template concepts, Function templates, class templates,
illustrative examples.
11. Files: File streams, hierarchyof file stream classes, error handling during file operations,
reading/writing of files, accessing records randomly, updating files.
Solved Questions
Solved-
What are identifiers and keywords? Give examples.Very Short Answer 2 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
What is the use of break and continue statements?Very Short Answer 2 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
Differentiate between switch and nested if.Very Short Answer 2 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
How you can open and close a file?Very Short Answer 2 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
Differentiate between early and late binding.Very Short Answer 2 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
Discuss different methods to pass arguments to a function.Very Short Answer 2 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
Dec 2024 Explain the different ways to pass arguments to a function with the help of suitable example.
-
-
What do you mean by an abstract class? Discuss its usage with example.Very Short Answer 2 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
What do you mean by function overloading? Give example.Very Short Answer 2 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
Discuss various file accessing modes.Very Short Answer 2 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
What is an inline function? How it is used?Very Short Answer 2 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
Dec 2024 What is an inline function? What is the benefit of using inline functions?
-
-
Explain various looping statements of C with suitable examples.Long Answer 5 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
Dec 2024 Explain various control statements of C with suitable examples.
-
-
What is a friend function? Explain its importance with an example.Long Answer 5 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
What do you mean by Multiple Inheritance? Explain with the help of an example.Long Answer 5 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
Dec 2024 What do you mean by Inheritance? Explain various types of inheritance with the help of suitable examples.
-
-
What is a constructor? Write its main characteristics. Discuss its types.Long Answer 5 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
Dec 2024 Explain various types of constructor with examples.
-
-
Explain various files operations in C++ with examples.Long Answer 5 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
What is an exception? How exceptions are handled in C++? Explain with the help of a suitable example.Long Answer 10 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
What is Polymorphism? How do we attain Run time Polymorphism? Explain with an example.Long Answer 10 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
-
WAP using array of objects to enter roll no, name and marks of students. Find average marks of the students.Long Answer 10 Marks May-2023 • PTU B-TECH
Existing answers are stored as HTML; you can edit directly without converting to Markdown.
Explore all data
PTU
PU Chandigarh
- BCOM |
- BA/BSC |
- BCA |
- MA |
- PGDCA |
- MCOM |
- MSC-Math |
- Addon |
- BBA |
- B-ARCH |
- B-LIB |
- B-EDU |
- B-PHAR |
- BA-HONS-ECON |
- BA-HONS-SS |
- BE |
- MA-Punjabi |
- MA-English |
- MA-History |
- MCA |
- MBA |
- MBA-CIT |
- MBA-Executive |
- MCOM-AF |
- MCOM-BE |
- MCOM-BI |
- MCOM-MEFB |
- BSC-Agri |
- BSC-FD |
- BSC-HS |
- ME-CSE |
- ME-IT |
- ME-ME |
- ME-ECE |
- MSC-Chemistry |
- MSC-Physics |
- MSC-Botany |
- MSC-Zoology |
- MA-Economics |
- MA-Hindi |
- LLB |
- BPED |
- LLM |
- BFA |
- B. Voc |
- BHM |
- BTM |
- M. Arch |
- M. Pharm |
- MFA |
- MTM |
- MHM |
- M.ED |
- M-Lib |
- MPED |
- MFDM |
- MGL |
- Shastri |
- M.TECH |
- ME-CHEMICAL |
- ME-FT |
- ME-ELECTRIC |
- M.TECH-ME |
- M.TECH-NN |
- M.E-BIO |
- MA-Sociology |
- MA-Political Science |
- MSc Biotechnology |
- MSc IT |
- MSc MB |
PSBTE
- DIPLOMA |
PSEB(School)
- Class 10th |
- Class 12th |
- Class 8th |
PU-PATIALA
- BCA |
- BBA |
- MBA |
- MCOM |
- BCOM |
- BCOM-HONS |
- BSC-NM |
- BA |
- B.EDU |
- BSC-AGRI |
- BA-B.EDU |
- BLIB |
- MSC-IT |
- PGDCA |
- MSC-MB |
- MSC-physics |
- BA-ENGLISH |
- MA-Punjabi |
- MSC-chemistry |
- MSC-maths |
- BSC-Medical |
- MSC-FDT |
- MSC-FN |
- MSC-BT |
- BSC-Hons-BT |
- BSC-CS |
- BSC-Hons-Math |
- BSC-CSM |
- BSC-FT |
HPTSB
- Diploma |
MRSPTU
- B-TECH |
- M-TECH |
- Ph.D (Computer Appli |
- M.Sc (Mathematics) |
- MBA |
- M.Sc (Chemistry) |
- B.Sc (Forensic Scien |
- MBA (Aviation Manage |
- B.Sc (Chemistry) |
- BBA (Aviation Manage |
- B.Sc (Mathematics) |
- BCA |
- M.Sc (Microbiology) |
- M.Planning |
- B.Sc (IT) |
- B.Sc (Dialysis Techn |
- B.Sc (Food Science & |
- B.Sc (Hons.) Mathema |
- M.Sc (Physics) |
- M.Pharmacy |
- B.Sc (MLS-MLT) |
- BMS (ATH) |
- B.Architecture |
- B.Com |
- B.Com (E-Commerce) |
- B.Sc (Operation Thea |
- M.Pharma (Pharmaceut |
- B.Sc (Fashion Design |
- M.Sc (Computer Scien |
- BA (Computer Science |
- B.Sc (Hons.) Agricul |
- B.Sc (Hons.) Aircraf |
- B.Sc (Anesthesia Tec |
- BCA & B.Sc (IT) |
- B.Sc (Graphics & Web |
- B.Sc (Hons.) Physics |
- M.Pharma (Pharmacolo |
- B.Fine Arts |
- MBA (Hospital Admini |
- B.Sc (Hons.) Chemist |
- B.Pharmacy |
- M.Sc (IT) |
- BA (Journalism and M |
- B.Design (Interior D |
- B.Com-M.Com Dual Deg |
- BCA-MCA Dual Degree |
- B.Sc (Physics) |
- B.Sc (Physics) |
- B.Sc (Cardiac Care T |
- M.Com |
- B.Sc (Cardiac Care T |
- M.Com |
- B.Sc (Non-Medical) |
- B.Sc (Non-Medical) |
- Computer Maintenance |
- B.Sc (Optometry) |
- CMPA |
- B.Sc (Fashion Techno |
- Computer Maintenance |
- B.Sc (Optometry) |
- CMPA |
- B.Sc (Fashion Techno |
- BMS (HMCT) |
- B.Com (Aviation, Log |
- BMS (HMCT) |
- BBA |
- B.Com (Aviation, Log |
- BBA |
- M.Sc (Fashion Techno |
- B.Pharmacy (Practice |
- B.Sc (Agriculture) |
- M.Sc (Fashion Techno |
- B.Pharmacy (Practice |
- B.Sc (Agriculture) |
- PGDCA |
- MCA |
- Pharm.D |
- PGDCA |
- B.Com (Hons.) |
- MCA |
- Pharm.D |
- B.Com (Hons.) |
- B.Sc (Food Science) |
- M.Sc (Food Science & |
- B.Sc (Food Science) |
- BBA-MBA Dual Degree |
- M.Sc (Food Science & |
- M.Pharma (Pharmacogn |
- BBA-MBA Dual Degree |
- M.Pharma (Pharmacogn |
FAQ
Frequently Asked Questions
Answers about this subject, solved papers, and preparation.
01 Where can I find object oriented programming previous year question papers for Bachelor of Technology Information Technology, 3rd semester?
This page lists object oriented programming question papers uploaded for Punjab Technical University Bachelor of Technology Information Technology, 3rd semester, organized for subject-wise browsing where available.
02 Are these official Punjab Technical University question papers?
BRpaper is not the official website of Punjab Technical University. These papers are shared for reference and revision purposes only and are not official university material.
03 How can previous year object oriented programming papers help in exam preparation?
Reviewing past papers can help you understand how questions are typically framed, notice commonly repeated topics, and get a sense of the exam pattern before your own exam.
04 What kind of topics does object oriented programming usually cover?
The question papers here relate to the official object oriented programming syllabus set by the university for this course and semester.
05 Does this page include a object oriented programming question bank or solved answers?
This page focuses on providing access to the previous year question papers themselves. A separate question bank or solved answers may not be available for every paper.
06 Can I find papers for other subjects in the same Bachelor of Technology Information Technology?
Yes, BRpaper organizes papers by university, course, stream, and semester, so you can browse other subjects within the same Punjab Technical University Bachelor of Technology Information Technology.