Solved question paper for C++ May-2022 (DIPLOMA 4th)
Solved Question Paper
Object oriented programming using c++ May-2022
PSBTE • DIPLOMA • Computer Science Engineering • 4th • May-2022
object oriented programming using c++ for Punjab State Board of Technical Education Diploma in Engineering, Computer Science Engineering, 4th Semester, helps students find subject-wise previous year question papers and old papers for exam preparation. On this page, students can use the papers to revise key concepts, understand the exam pattern, and practice the kinds of questions repeated in semester exams. It is useful for quick review before tests and for checking how C++ questions are usually asked. BRpaper is not the official website of Punjab State Board of Technical Education and does not publish official content on behalf of the board. It only helps students access previous year question papers and related preparation material for this subject.
Solved Questions
Solved-
Execution of C++ programs begins at ___________.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2017 Execution of C++ programs begins at _________.
-
May 2015 Every C++ program begins execution from __________.
-
May 2015 Every C++ program begins execution from __________.
-
-
The operator << is called ___________.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2018 The operator << is called________.
-
May 2016 The operator << is called………….
-
-
The operator && is an example of ___________ Operator.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2016 The operator && is an example of _____________ Operator.
-
-
A function return a value by reference (T/F)True / False 1 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2018 A function return a value by reference (T/F)
-
-
Constructor are used to __________ the objects.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2018 Constructor are used to _________ the objects.
-
-
A constructor name must be same as name of class (T/F)True / False 1 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2018 A constructor name must be same as name of class (T/F)
-
-
A Friend function is a Non- Member Function. (T/F)True / False 1 Marks May-2022 • PSBTE DIPLOMA
-
May 2018 A Friend function is a Non- Member Function. (T/F)
-
-
Wrapping up of data and functions is called encapsulation (T/F)True / False 1 Marks May-2022 • PSBTE DIPLOMA
-
An object is ____________ of a class.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
May 2019 An instance of a class is called __________.
-
Dec 2017 The instance of a class is called _______.
-
May 2016 An instance of a class is called……….
-
Dec 2016 An object is ____________ of a class.
-
May 2015 An instance of a class is called __________.
-
May 2015 An instance of a class is called __________.
-
-
STL Stands for ___________.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
May 2019 STL stands for ____________
-
-
A child class is said to be __________ from base class.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2018 A child class is said to be ______ from base class.
-
-
The process of linking of a procedure call with the code to be executed is called a ___________.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2018 The process of linking of a procedure call with the code to be executed is called a__________.
-
-
A destructor takes ____________ arguments.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
May 2019 A destructor takes _________ arguments.
-
-
__________means one name having multiple forms.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
May 2016 …………. means one name having multiple forms.
-
-
__________ is used to read a single character from the file.Fill in the Blanks 1 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2018 ________ is used to read a single character from the file.
-
-
Different between procedure oriented programming and object oriented programming.Short Answer 5 Marks May-2022 • PSBTE DIPLOMA
-
May 2021 Differentiate between Procedure oriented programming and Object oriented programming.
-
May 2020 Differentiate between procedure oriented programming and object oriented programming.
-
May 2019 Differentiate between Procedure Oriented Programming and Object Oriented Programming.
-
Dec 2018 Difference between procedure oriented programming and object oriented programming.
-
May 2015 Differentiate between procedure oriented programming and object oriented programming.
-
May 2015 How procedural programming is different from object oriented programming.
-
May 2015 Differentiate between procedure oriented programming and object oriented programming.
-
May 2015 How procedural programming is different from object oriented programming.
-
-
What is friend function? Explain by giving suitable example?Short Answer 5 Marks May-2022 • PSBTE DIPLOMA
-
May 2020 What is Friend Function? Explain with suitable example.
-
May 2018 What is Friend Function? Explain with suitable example.
-
Dec 2018 What is friend function? Explain by giving suitable example?
-
Dec 2017 What is friend function? Explain by giving suitable example.
-
May 2016 What is friend function? Explain by giving suitable example.
-
Dec 2016 Explain friend Function.
-
-
Write a Program to demonstrate Multiple Inheritance.Short Answer 5 Marks May-2022 • PSBTE DIPLOMA
-
May 2019 Write a Program to demonstrate Single Level Inheritance.
-
-
What is operator overloading in C++?Short Answer 5 Marks May-2022 • PSBTE DIPLOMA
-
May 2022 What is operator overloading in C++? Give a suitable example.
-
May 2021 What is Operator Overloading? Write a program in C++ to overload a unary operator.
-
May 2020 What is the need of operator overloading? Explain with example.
-
May 2018 What do you mean by operator overloading? Write a program to overload unary operator.
-
Dec 2018 What do you mean by unary operator overloading? Explain with the help of suitable program.
-
Dec 2017 What is the need of operator overloading? Explain with example.
-
May 2016 What do you mean by operator overloading? Explain with example.
-
Dec 2016 What do you mean by operator overloading? Explain.
-
-
Explain different File modes in C++.Short Answer 5 Marks May-2022 • PSBTE DIPLOMA
-
Write any five differences between constructor and destructor.Short Answer 5 Marks May-2022 • PSBTE DIPLOMA
-
May 2020 Differentiate between constructor and destructor.
-
May 2019 Differentiate between Constructor and Destructor with the help of suitable example.
-
Dec 2018 Difference between constructor and destructor.
-
-
What is class concept? Explain with suitable example.Short Answer 5 Marks May-2022 • PSBTE DIPLOMA
-
May 2020 What is class concept? Explain with suitable example.
-
Dec 2018 What is class concept? Explain with suitable example.
-
Dec 2017 What is class concept? Explain with suitable example.
-
-
Define polymorphism and its typesShort Answer 5 Marks May-2022 • PSBTE DIPLOMA
-
May 2015 Define polymorphism. What are its types?
-
May 2015 Define polymorphism. What are its types?
-
-
What is an array? How it is declared in C++Short Answer 5 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2017 What is an array? How it is declared and used in C++.
-
Dec 2016 What is an array? How it is declared and used in C++.
-
May 2015 What is an array? How is it declared and used in C++?
-
May 2015 What is an array? How is it declared and used in C++?
-
-
Explain various types of loops used in C++ with suit able example.Long Answer 10 Marks May-2022 • PSBTE DIPLOMA
-
May 2020 Explain various types of loops used in C++ with suitable example.
-
May 2019 Explain loop control structures available in C++.
-
Dec 2018 Explain various types of loops used in C++ with suitable example.
-
Dec 2017 Explain various types of loops used in C++ with suitable example.
-
-
Explain Arithmetic and Relational operators in C++.Long Answer 10 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2016 Explain different types of operators used in C++.
-
-
Define the following:
(i) Preprocessor Directives
(ii) Static functions
(iii) Data hiding and Encapsulation.Long Answer 10 Marks May-2022 • PSBTE DIPLOMA -
What is operator overloading in C++? Give a suitable example.Long Answer 10 Marks May-2022 • PSBTE DIPLOMA
-
May 2022 What is operator overloading in C++?
-
May 2021 What is Operator Overloading? Write a program in C++ to overload a unary operator.
-
May 2020 What is the need of operator overloading? Explain with example.
-
May 2018 What do you mean by operator overloading? Write a program to overload unary operator.
-
Dec 2018 What do you mean by unary operator overloading? Explain with the help of suitable program.
-
Dec 2017 What is the need of operator overloading? Explain with example.
-
May 2016 What do you mean by operator overloading? Explain with example.
-
Dec 2016 What do you mean by operator overloading? Explain.
-
-
Explain standard input and output streams of file in C++.Long Answer 10 Marks May-2022 • PSBTE DIPLOMA
-
Dec 2018 Explain all input and output functions of files in C++.
-
Explore all data
FAQ
Frequently Asked Questions
Answers about this subject, solved papers, and preparation.
01 Where can I find PSBTE Diploma CSE 4th semester C++ previous year papers?
You can use this subject page to look for previous year question papers and old papers for object oriented programming using c++ in the 4th semester.
02 Are the C++ question papers available as PDF?
This page is meant to help students find question papers in a practical format, including PDF-style search intent where available on the site.
03 How do these previous year papers help in exam preparation?
They help you revise important topics, understand the exam pattern, and practice frequently asked questions from past papers.
04 Can I find solved papers or answer keys here?
This page focuses on previous year and old question papers. It does not claim to provide solved papers or official answer keys.
05 Why should I use subject-wise papers for C++?
Subject-wise papers make it easier to study one topic at a time and identify repeated questions for better revision.