Object Oriented System Design with C++ Unit 4 – C++ Basics and Functions: AKTU previous year questions
8 AKTU questions from Unit 4 (C++ Basics and Functions) asked in 2024–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); 7 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)
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: 3 asked in 2024–2026
- 7-mark questions: 5 asked in 2024–2026
- About 24 marks from Unit 4 in every paper
- 7 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: 1 Unit 4 question asked (2 marks across that year's papers)