Solved question paper for C++ Dec-2017 (DIPLOMA 4th)

Solved Question Paper

Object oriented programming using c++ Dec-2017

PSBTE • DIPLOMA • Computer Science Engineering • 4th • Dec-2017

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
  1. The instance of a class is called _______.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  2. Objects are used to model ________ entities.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  3. Define preprocessor.
    Short Answer 1 Marks Dec-2017 • PSBTE DIPLOMA
  4. Define encapsulation.
    Short Answer 1 Marks Dec-2017 • PSBTE DIPLOMA
  5. A function can return ________ value via return statement.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  6. Execution of C++ programs begins at _________.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  7. ________ refers to the names of variables, functions, arrays, classes etc.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  8. Objects are destroyed in order of their creation.
    True / False 1 Marks Dec-2017 • PSBTE DIPLOMA
  9. A bit field can be of integer type only.
    True / False 1 Marks Dec-2017 • PSBTE DIPLOMA
  10. The constructors that take arguments are called ____________.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  11. A class is a way to bind ______ and ______ together in a single unit.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  12. Unary operators work on _________ operands.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  13. Operator overloading is giving new meaning to __________ operators.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  14. A full statement can be represented by a _________.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  15. The extension of a C++ program is ___________.
    Fill in the Blanks 1 Marks Dec-2017 • PSBTE DIPLOMA
  16. Difference between structure and union. Explain with example.
    Long Answer 5 Marks Dec-2017 • PSBTE DIPLOMA
  17. What is friend function? Explain by giving suitable example.
    Long Answer 5 Marks Dec-2017 • PSBTE DIPLOMA
  18. What is the difference between nesting and inheritance?
    Long Answer 5 Marks Dec-2017 • PSBTE DIPLOMA
  19. What is the need of operator overloading? Explain with example.
    Long Answer 5 Marks Dec-2017 • PSBTE DIPLOMA
  20. What is an array? How it is declared and used in C++.
    Long Answer 5 Marks Dec-2017 • PSBTE DIPLOMA
  21. Why files are used in OOP?
    Short Answer 5 Marks Dec-2017 • PSBTE DIPLOMA
  22. What is class concept? Explain with suitable example.
    Long Answer 5 Marks Dec-2017 • PSBTE DIPLOMA
  23. Explain the importance of destructors.
    Short Answer 5 Marks Dec-2017 • PSBTE DIPLOMA
  24. What is difference between while and do-while loop?
    Short Answer 5 Marks Dec-2017 • PSBTE DIPLOMA
  25. Explain various types of loops used in C++ with suitable example.
    Long Answer 10 Marks Dec-2017 • PSBTE DIPLOMA
  26. Write a program to overload unary minus operator in C++.
    Long Answer 10 Marks Dec-2017 • PSBTE DIPLOMA
  27. Define the following (any two): (i) Data hiding and Encapsulation. (ii) Static functions. (iii) Virtual destructor.
    Short Answer 10 Marks Dec-2017 • PSBTE DIPLOMA
  28. What is the use of constructor function in a class? Give a suitable example.
    Long Answer 10 Marks Dec-2017 • PSBTE DIPLOMA
  29. Explain the difference between single and multiple inheritances with example.
    Long Answer 10 Marks Dec-2017 • PSBTE DIPLOMA

Explore all data

FAQ

Frequently Asked Questions

Answers about this subject, solved papers, and preparation.

Updated regularly
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.