Solved question paper for C++ May-2016 (DIPLOMA 4th)

Solved Question Paper

Object oriented programming using c++ May-2016

PSBTE • DIPLOMA • Computer Science Engineering • 4th • May-2016

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. ……….is process by which objects of one class acquire the properties of objects of another class.
    Fill in the Blanks 1 Marks May-2016 • PSBTE DIPLOMA
  2. An instance of a class is called……….
    Fill in the Blanks 1 Marks May-2016 • PSBTE DIPLOMA
  3. The name of the constructor is same as name of the…………..
    Fill in the Blanks 1 Marks May-2016 • PSBTE DIPLOMA
  4. …………. means one name having multiple forms.
    Fill in the Blanks 1 Marks May-2016 • PSBTE DIPLOMA
  5. What is extension of C++ program?
    Very Short Answer 1 Marks May-2016 • PSBTE DIPLOMA
  6. Inheritance aids data hiding.
    True / False 1 Marks May-2016 • PSBTE DIPLOMA
  7. A pure function has no body.
    True / False 1 Marks May-2016 • PSBTE DIPLOMA
  8. The end of file function is detected by using function………..
    Fill in the Blanks 1 Marks May-2016 • PSBTE DIPLOMA
  9. Switch case statement is preferred over Nested –If statement.
    True / False 1 Marks May-2016 • PSBTE DIPLOMA
  10. A friend function is a non member function.
    True / False 1 Marks May-2016 • PSBTE DIPLOMA
  11. The value of expression 13%4 is 3.
    True / False 1 Marks May-2016 • PSBTE DIPLOMA
  12. String is array of………….
    Fill in the Blanks 1 Marks May-2016 • PSBTE DIPLOMA
  13. Loop within loop is called Nested loop.
    True / False 1 Marks May-2016 • PSBTE DIPLOMA
  14. Binary operator work on…….. Operands.
    Fill in the Blanks 1 Marks May-2016 • PSBTE DIPLOMA
  15. The operator << is called………….
    Fill in the Blanks 1 Marks May-2016 • PSBTE DIPLOMA
  16. What is purpose of Break statement? Explain.
    Short Answer 5 Marks May-2016 • PSBTE DIPLOMA
  17. What is constructor? How do we invoke a constructor function?
    Short Answer 5 Marks May-2016 • PSBTE DIPLOMA
  18. Write a program in C++ to print the number in reverse order.
    Long Answer 5 Marks May-2016 • PSBTE DIPLOMA
  19. Write a program in C++ to input two numbers and find their sum and average.
    Long Answer 5 Marks May-2016 • PSBTE DIPLOMA
  20. What is friend function? Explain by giving suitable example.
    Short Answer 5 Marks May-2016 • PSBTE DIPLOMA
  21. What do you mean by function overloading? Explain with example.
    Short Answer 5 Marks May-2016 • PSBTE DIPLOMA
  22. Differentiate between Structure and Union with example.
    Short Answer 5 Marks May-2016 • PSBTE DIPLOMA
  23. What do you mean by operator overloading? Explain with example.
    Short Answer 5 Marks May-2016 • PSBTE DIPLOMA
  24. Explain the use of switch statement with example.
    Short Answer 5 Marks May-2016 • PSBTE DIPLOMA
  25. Explain different forms of inheritance with suitable example for each.
    Long Answer 15 Marks May-2016 • PSBTE DIPLOMA
  26. How is polymorphism achieved at compile time and run time?
    Long Answer 15 Marks May-2016 • PSBTE DIPLOMA
  27. Explain all the basic features of object oriented programming language.
    Long Answer 15 Marks May-2016 • PSBTE DIPLOMA
  28. Write a program to overload a unary minus operator in C++ language.
    Long Answer 15 Marks May-2016 • PSBTE DIPLOMA
  29. What are various file opening modes? Write a program in C++ for creating file with constructor function.
    Long Answer 15 Marks May-2016 • 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.