Object Oriented System Design with C++ (BCS054) Important Questions
AKTU B.Tech · 3rd Year · Departmental Elective I · Exam 2026-27. Worked out from 7 real papers, 2020-21 to 2025-26.
- 7AKTU papers analysed
- 19must-do topics
- 15repeated 2-mark questions
The PDF has every topic with the years it came, a unit-wise plan and the sources. Free. Share it with your class.
Most likely question in each unit
| Unit | Most likely | Backup topics |
|---|---|---|
| 1Introduction: object orientation, identity, encapsulation, information hiding, polymorphism, genericity; modelling principles; UML conceptual model & architecture | UML conceptual model / architecture (6/7) | Encapsulation & information hiding (7/7) · importance & principles of modelling · OO concepts with object identity and generosity |
| 2Structural, behavioural & architectural modelling: class/object, collaboration, sequence, use case, activity, state machine, package, component & deployment diagrams | Class diagram with all relationships (7/7) | Collaboration / sequence diagram for a given system (6/7) · component & deployment diagrams · state chart / activity diagram |
| 3Object-oriented analysis & design, SA/SD, JSD, mapping OO to non-OO languages, OO programming style, procedural vs OOP | SA/SD and JSD (6/7) | OOA/OOD: three models, design optimization, adjustment of inheritance · mapping OO to non-OO languages · reusability, extensibility, robustness |
| 4C++ basics, functions (inline, friend, overloading, default arguments, virtual), objects & classes, static members, constructors, destructors, operator overloading | Friend function program (6/7) or constructors & constructor overloading (6/7) | Inline vs macro · operator overloading program · static members (object counter) · function overloading |
| 5Inheritance (types, protected, overriding, virtual base class) & polymorphism (pointers, this pointer, virtual & pure virtual functions) | Virtual vs pure virtual function with program (6/7) | Multiple / hybrid inheritance with virtual base class (6/7) · this pointer |
Must-do topics
These came in most of the 7 papers. Prepare them first.
Encapsulation, information hiding & data abstraction
came in 7 of 7 papersUnit 1 · 2020-21 to 2025-26
How to answer: Encapsulation = binding data and functions in a class; information hiding = private members reachable only through public methods; abstraction = showing what an object does, not how. Write a small C++ BankAccount class (private balance, public deposit/withdraw) and a UML class box with - and + visibility. Say how they help security and maintainability.
Last asked (2025-26 (carry-over), Section C): Discuss encapsulation and information hiding. Analyze their impact on maintainability and security.
Class & object diagrams: relationships (link, association, aggregation, generalization, multiplicity)
came in 7 of 7 papersUnit 2 · 2020-21 to 2025-26
How to answer: Draw one neat class diagram showing association (with multiplicity 1, 0..1, *), aggregation (hollow diamond), composition (filled diamond), generalization (hollow triangle), dependency; link = instance of an association. Object diagram with derived attributes (library: due date, late charge). Qualification reduces multiplicity; candidate keys of associations.
Last asked (2025-26 (carry-over), Section C): Demonstrate the different relationships used in class diagram with their notations with the help of a neat class diagram.
UML: conceptual model, building blocks & architecture
came in 6 of 7 papersUnit 1 · 2021-22 to 2025-26
How to answer: Conceptual model = building blocks (things: structural, behavioural, grouping, annotational; relationships: dependency, association, generalization, realization; diagrams), rules and common mechanisms. Architecture = 4+1 views: use case, design, process, implementation, deployment (draw it). List UML's advantages.
Last asked (2025-26 (carry-over), Section B): Explain the conceptual model of UML and its key building blocks.
Interaction diagrams: collaboration & sequence (event trace, messages, polymorphism)
came in 6 of 7 papersUnit 2 · 2020-21 to 2025-26
How to answer: Sequence diagram: lifelines, activation bars, synchronous (filled arrow) vs asynchronous (open arrow) messages, return, self-call, call-back, broadcast, time ordering. Collaboration (communication) diagram: numbered messages on links, iteration (*), self link, polymorphism shown by a message to a superclass object. Practise: hotel room booking, online shopping, farmer-goat-lion event trace.
Last asked (2025-26 (carry-over), Section C): Draw and explain a use case diagram and sequence diagram for an Online Shopping System.
SA/SD, JSD & OMT (comparison with object-oriented analysis and design)
came in 6 of 7 papersUnit 3 · 2020-21 to 2025-26
How to answer: SA/SD: DFDs (functional decomposition), data dictionary, structure charts. JSD: entity-action step, entity-structure step, initial model, function, timing, implementation. OMT: object, dynamic and functional models. Make a table: SA/SD vs OMT, SA/SD vs JSD, SA/SD vs OOAD (online bookstore example).
Last asked (2025-26 (carry-over), Section C): Describe Structured Analysis and Structured Design (SA/SD) in detail.
Friend functions
came in 6 of 7 papersUnit 4 · 2020-21 to 2025-26
How to answer: Non-member function declared with 'friend' inside the class, can access private data; not called with an object; useful for operating on two classes. Write: class A, B with friend int sum(A, B); and '+' overloaded as a friend to concatenate two strings.
Last asked (2025-26 (carry-over), Section C): What is friend function in C++? Write a program in C++ to implement friend function.
C++ basics: program structure, namespace, identifiers, constants, enum, typecasting, control structures
came in 6 of 7 papersUnit 4 · 2021-22 to 2025-26
How to answer: Structure: #include, using namespace std, class, main(). Namespace, identifiers, variables, constants (const), enum (enum colour {red, green};). Typecasting: implicit vs explicit (C-style, static_cast, dynamic_cast, const_cast, reinterpret_cast). Scope resolution ::. Control structures: if, switch, loops, break/continue. Short program: sin(x) by series.
Last asked (2025-26 (carry-over), Section B): Explain control structures in C++ and analyze their effect on program flow.
Constructors & destructors (types, overloading, vs member functions)
came in 6 of 7 papersUnit 4 · 2020-21 to 2025-26
How to answer: Constructor: same name as class, no return type, called automatically; types: default, parameterized, copy, overloaded (multiple constructors), dynamic. Destructor ~ClassName() frees resources, called in reverse order. Program with all three constructors + destructor printing messages.
Last asked (2025-26 (carry-over), Section C): What is a constructor? Write its characteristics. Write a C++ program for constructor overloading.
Polymorphism: virtual & pure virtual functions, run-time vs compile-time, early vs late binding
came in 6 of 7 papersUnit 5 · 2020-21 to 2025-26
How to answer: Compile-time (function / operator overloading, early binding) vs run-time (virtual functions, late binding through the vtable). Base pointer to derived object calls the derived version only if the function is virtual. Pure virtual: virtual void draw() = 0; makes the class abstract. Program: Shape → Circle, Rectangle with area().
Last asked (2025-26 (carry-over), Section C): Discuss virtual function. How is it different from pure virtual function? Write a program in C++ for it.
Inheritance: types (multiple, hybrid), virtual base class, ambiguity, containership
came in 6 of 7 papersUnit 5 · 2020-21 to 2025-26
How to answer: Single, multiple, multilevel, hierarchical, hybrid (draw each). Diamond problem in hybrid inheritance solved by 'class B : virtual public A'. Ambiguity resolved with the scope resolution operator. Containership (has-a) vs inheritance (is-a). Program: class Student, Sports, Result with multiple / hybrid inheritance.
Last asked (2025-26, Section C): Explain different types of inheritance with diagrams and examples.
Object orientation: object identity, polymorphism, generosity, OO features & pros/cons of OO technology
came in 5 of 7 papersUnit 1 · 2020-21 to 2025-26
How to answer: Define object orientation and its characteristics: identity (each object distinct even with equal values), classification, encapsulation, inheritance, polymorphism, genericity (generosity = templates). List features of OO languages and the pros (reuse, maintainability, modelling the real world) and cons (learning curve, size, speed) of OO technology with an example.
Last asked (2025-26, Section B): Explain the concept of object orientation. Discuss object identity, information hiding, polymorphism and generosity with suitable examples.
Architectural modelling: component, deployment & package diagrams
came in 5 of 7 papersUnit 2 · 2022-23 to 2025-26
How to answer: Component diagram: components, provided/required interfaces, dependencies (draw for a web app). Deployment diagram: nodes (devices, execution environments), artifacts, communication paths. Package diagram: packages, import/access dependencies (library system: UI, Catalogue, Members, Loans).
Last asked (2025-26 (carry-over), Section A): What is architectural modeling? Name any two architectural diagrams.
OO programming style (reusability, extensibility, robustness) & procedural vs OOP
came in 5 of 7 papersUnit 3 · 2020-21 to 2025-26
How to answer: Reusability (small coherent methods, inheritance), extensibility (encapsulate classes, hide data structures), robustness (protect against errors, validate arguments), programming in the large. Procedural vs OOP table: focus on functions vs objects, top-down vs bottom-up, data security, reuse; with a C++ example of each.
Last asked (2025-26, Section B): Explain reusability, extensibility and robustness in object-oriented programming (with abstraction and encapsulation).
Inline functions & macro vs inline
came in 5 of 7 papersUnit 4 · 2021-22 to 2025-26
How to answer: inline int sq(int x) { return x * x; } is expanded at the call site by the compiler, with type checking. #define SQ(x) x*x is text replacement by the preprocessor (no type check, side-effect bugs: SQ(a+1)). Use inline for small, frequently called functions; the compiler may ignore the request.
Last asked (2025-26 (carry-over), Section A): Differentiate between macro and inline functions.
Pointers, this pointer & pointers to objects
came in 5 of 7 papersUnit 5 · 2020-21 to 2025-26
How to answer: Pointer declaration, pointer to object (p->show()), const pointer vs pointer to const, void pointer. 'this' holds the address of the calling object: used to resolve name clashes (this->x = x) and to return *this for chaining. Write a short program for each.
Last asked (2025-26, Section C): What is pointer in C++? Write a C++ program to demonstrate the use of this pointer.
Importance & principles of modelling (object-oriented vs structured modelling)
came in 4 of 7 papersUnit 1 · 2022-23 to 2025-26
How to answer: Why model: visualise, specify, construct, document; manage complexity. Four principles: the choice of model shapes the solution; models at different levels of precision; best models are connected to reality; no single model is enough. OO vs structured (function-based) modelling with a banking / hospital example.
Last asked (2025-26 (carry-over), Section A): What is the importance of modelling in software development?
State machine & activity diagrams (swimlanes)
came in 4 of 7 papersUnit 2 · 2020-21 to 2025-26
How to answer: State chart: states, events, guards, actions, transitions, initial/final, composite states; practise an electric bulb and a coin vending machine. Activity diagram: action nodes, decision/merge, fork/join, swimlanes (one lane per actor/department).
Last asked (2025-26, Section C): Explain activity diagrams and state machine diagrams with suitable illustrations.
Object-oriented analysis & design: combining three models, design optimization, adjustment of inheritance, implementation of control
came in 4 of 7 papersUnit 3 · 2020-21 to 2025-26
How to answer: OMT's three models (object, dynamic, functional with DFD) and how they combine into operations. Object design steps: designing algorithms, design optimization (extra associations, derived attributes, re-ordering), implementation of control (procedure-driven, event-driven, concurrent), adjustment of inheritance (rearrange, abstract out common behaviour, delegation). Use-case driven OOA vs OOD.
Last asked (2025-26 (carry-over), Section C): Explain implementation of control and adjustment of inheritance in object-oriented design.
Operator overloading (binary, friend, matrix) & overloading vs overriding
came in 4 of 7 papersUnit 4 · 2020-21 to 2025-26
How to answer: Syntax: ReturnType operator+(const T&). Unary and binary overloading as member vs friend (friend takes both operands). Operators that cannot be overloaded (:: . .* ?: sizeof). Practise: Complex + Complex, matrix addition/subtraction, string concatenation. Overloading (compile time, same scope) vs overriding (run time, base/derived).
Last asked (2025-26, Section C): Discuss operator overloading and type conversion in C++.
High-chance topics
- Use case diagramsUnit 2 · came in 3 of 7 papers
- Object representation, physical packaging, documentation & mapping OO concepts to non-OO languagesUnit 3 · came in 3 of 7 papers
- Functions: overloading, default arguments, call by value / reference, callbacksUnit 4 · came in 3 of 7 papers
- Static data members & static member functionsUnit 4 · came in 3 of 7 papers
- Classes & objects: access specifiers, abstract class, array of objects, linked-list classUnit 4 · came in 3 of 7 papers
Repeated 2-mark questions (Section A)
- Macro vs inline function / when to make a function inlineasked 3 times
- Define friend function (use, example)asked 3 times
- Describe generalization (vs inheritance)asked 3 times
- Link vs association / association and aggregationasked 3 times
- Features of object-oriented languages / paradigmasked 3 times
- What is UML / conceptual model of UMLasked 3 times
- Encapsulation / information hidingasked 3 times
- Importance / significance / principles of modellingasked 3 times
- Optimization of design / inheritance adjustmentasked 3 times
- Constructor and destructor (purpose)asked 3 times
- Virtual vs pure virtual function / overriding / polymorphism in C++asked 3 times
- Explain typecasting in C++asked 2 times
- Explain the this pointerasked 2 times
- enum / enumerations and constantsasked 2 times
- Procedural vs OOP / structured vs object-oriented approachasked 2 times
The 10 diagrams and programs to practise
- Class diagram (hospital / library) with association, multiplicity, aggregation, composition, generalization
- Sequence diagram with synchronous, asynchronous and call-back messages (online shopping)
- Collaboration diagram for hotel room booking, showing polymorphism
- State chart of a coin vending machine; activity diagram with swimlanes
- Component and deployment diagram of a web application
- C++: friend function adding private data of two classes; '+' overloaded to join strings
- C++: constructor overloading (default, parameterized, copy) + destructor
- C++: static data member counting objects; inline vs macro example
- C++: virtual vs pure virtual function (Shape → Circle, Rectangle)
- C++: hybrid inheritance with virtual base class; this pointer example
Get the Object Oriented System Design with C++ PDF
Not official AKTU material. The important questions are based on 7 previous year papers (2020-21 to 2025-26). The real paper can differ. Syllabus cross-checked with the official AKTU B.Tech CSE 3rd-year scheme 2024-25 (BCS054). Research date: 20 Nov 2026.
More subjects: all B.Tech papers. Practise coding for free on Kinetic CodeGuide.