Home › AKTU PYQ › Object Oriented System Design with C++ › PYQ Questions › Unit 4

Object Oriented System Design with C++ Unit 4 – C++ Basics and Functions: AKTU previous year questions

26 AKTU questions from Unit 4 (C++ Basics and Functions) asked in 2021–2026, tagged by marks, year and topic. In short: about 24 marks of every paper come from this unit; the most asked topic is C Plus Plus Functions (20 times); 25 questions came back in a later year. The latest ones are listed below; on the page you can filter them by 2-mark or long questions, topic and repeats.

Unit 4 previous year questions

  • Differentiate between macro and inline function. (2 marks, 2026, C Plus Plus Functions)
  • Explain the features of C++ that support object-oriented programming. Write a C++ program to demonstrate call by value and call by reference. (7 marks, 2026, C Plus Plus Functions)
  • Write a C++ program to demonstrate function overloading. Explain default arguments and friend functions with suitable C++ programs. (7 marks, 2026, C Plus Plus Functions)
  • Describe the structure of a C++ program. Explain virtual functions and their role in runtime polymorphism. (7 marks, 2026, C Plus Plus Functions)
  • Demonstrate the use of enumerations and constants. (2 marks, 2025, C Plus Plus Basics)
  • Write a C++ program to demonstrate the use of inline functions. Compare their performance with macros in terms of memory usage and execution speed. (7 marks, 2025, C Plus Plus Functions)
  • Create a program in C++ that uses function overloading to calculate the volume of a cube, cylinder, and sphere. Provide detailed commentary on the code. (7 marks, 2025, C Plus Plus Functions)
  • Explain typecasting in C++.. (2 marks, 2024, C Plus Plus Basics)
  • Explain friend function with example. (10 marks, 2024, C Plus Plus Functions)
  • Discuss virtual function. How it is different from pure virtual function? Write a program in C++ for it. (10 marks, 2024, C Plus Plus Functions)
  • Describe the term enum. (2 marks, 2023, C Plus Plus Basics)
  • Define friend function with example. (2 marks, 2023, C Plus Plus Functions)

Most asked Unit 4 topics

  • C Plus Plus Functions – asked 20 times
  • C Plus Plus Basics – asked 6 times
  • C Plus Plus Types

Unit 4 question pattern

  • 2-mark questions: 13 asked in 2021–2026
  • 7-mark questions: 5 asked in 2021–2026
  • 10-mark questions: 8 asked in 2021–2026
  • About 24 marks from Unit 4 in every paper
  • 25 questions were asked again in a later year

Unit 4 questions year by year

  • 2026: 4 Unit 4 questions asked (23 marks across that year's papers)
  • 2025: 3 Unit 4 questions asked (16 marks across that year's papers)
  • 2024: 3 Unit 4 questions asked (22 marks across that year's papers)
  • 2023: 7 Unit 4 questions asked (38 marks across that year's papers)
  • 2022: 7 Unit 4 questions asked (38 marks across that year's papers)
  • 2021: 2 Unit 4 questions asked (4 marks across that year's papers)