CS-701 Software Architectures

Software Architectures (CS-701) Important Questions

RGPV · B.Tech · CSE · Semester 7 · Current scheme · 6 papers (2020 to 2025)

  1. Read the answers

    Start with the topics that come every year.

  2. Revise unit notes

    Go through each unit once to score more.

Paperwala Imp Topics - Software Architectures important questions

Download Paperwala Imp Question & Answer (PDF)

Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.

Software Architectures important questions with answers

Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.

Q1. Software development models and their issues (spiral, RAD)

Asked 6 times in 2020, 2022, 2023, 2024, 2025 · Unit 1

From the papers

  • “Describe various models of software development with their issues.” (2020, 2024)
  • “Compare different software development models and discuss their associated challenges.” (2025)
  • “What is Rapid Application Development Methodology? Explain its advantages and disadvantages.” (2023)

The short answer

A software development model is the order in which a team does the work of building software: requirements, design, coding, testing and delivery. Each model fits some projects and brings its own problems.

Write these points

  1. Waterfall: each phase ends before the next one starts. It is simple to plan. Its issue is that a wrong requirement is found only at testing, when a change costs the most.
  2. Incremental and iterative: the system is built in small parts. Each part is a working release. Users see results early. The issue is that a weak first design can make later parts hard to add.
  3. Prototyping: a quick model is built to find out what users want, then thrown away or improved. The issue is that users may take the prototype for the real product.
  4. Spiral (Boehm): every loop of the spiral has four parts. The team sets objectives, studies risks and builds a prototype, develops and tests, then plans the next loop. It suits large, risky projects. Its issues are high cost and the need for skilled risk analysts.
  5. RAD (Rapid Application Development): the system is built in short time boxes of 60 to 90 days with reusable parts and code tools. Its phases are requirements planning, user design, construction and cutover. It is fast. It needs active users and a project that can be split into modules.
  6. Agile (Scrum, XP): work is done in sprints of 1 to 4 weeks with daily contact with the customer. Change is welcome. The issue is weak documentation and a hard to fix budget.
ModelBest forMain issue
WaterfallClear, fixed requirementsLate feedback, costly change
SpiralLarge, high risk workCostly, needs risk experts
RADModular systems, tight datesNeeds users and skilled team
AgileChanging requirementsLess documentation

Choosing a model for two projects.

Project A: a satellite control system. Budget 40 crore, 3 years, a wrong design is very costly. Risk is the main concern, so the spiral model fits. Each loop ends with a risk review.

Project B: a college event app. 8 weeks, 4 developers, the screens split into modules (login, events, tickets). Speed matters most, so RAD fits. Each module is built in a 2 to 3 week time box.

Rule used: high risk and large size point to spiral; short time and modular parts point to RAD.

Real-life example

ISRO cannot test a rocket by launching it again and again. Its large projects study risk at every stage, as in the spiral model. A startup building a food app in two months works in quick RAD or Agile cycles instead.

Figure: one loop of the spiral model
Figure: one loop of the spiral model

Same or opposite: spiral model and RAD

PointSpiralRADSame or opposite
Main focusRisk analysisSpeedOpposite
Project sizeLarge, riskySmall to medium, modularOpposite
CostHighLowerOpposite
Builds prototypesYesYesSame

Exam tip. For the spiral question, draw the four quadrants and name each one. Most of the marks are for the figure. Always write advantages and issues for each model. The question asks for issues by name.

Back to the topic list

Q2. Need of documentation and principles of sound documentation

Asked 5 times in 2020, 2022, 2023, 2024, 2025 · Unit 5

From the papers

  • “What are the principles of sound software architecture documentation?” (2025)
  • “Define Refinement. Explain the principles of sound documentation.” (2024)
  • “What are the basic principles of Sound Documentation? Explain in detail.” (2023)

The short answer

Architecture documentation records the structures of a system so that people can learn, build and judge it. Sound documentation follows seven rules that make it useful to its readers.

Write these points

  1. Need of documentation: it teaches new team members. It is the main way stakeholders talk about the system. It is the base for analysis, building and testing.
  2. 1. Write from the point of view of the reader. Write for the people who will read it, not for the writer.
  3. 2. Avoid needless repetition. Keep each fact in one place and refer to it.
  4. 3. Avoid ambiguity. Explain what every box, line and symbol means, or use a standard notation such as UML.
  5. 4. Use a standard organisation. A fixed template helps readers find things and shows what is still missing.
  6. 5. Record rationale. Write why a choice was made and which options were rejected.
  7. 6. Keep documentation current but not too current. Update it at planned points, not after every small change.
  8. 7. Review documentation for fitness of purpose. Ask its real readers whether it meets their needs.

Example.

Refinement means showing an element again in more detail. Decomposition refinement opens one box to show its parts. Implementation refinement shows the same element with more of its real code structure. A context diagram then shows how the refined part fits in its surroundings.

Real-life example

When a new developer joins a bank's IT team, the architecture document tells them how the systems fit together. Without it they would spend weeks asking around.

Figure: seven rules of sound documentation
Figure: seven rules of sound documentation

Same or opposite: good and poor documentation

PointSound documentationPoor documentationSame or opposite
Written forThe readerThe writerOpposite
Rationale recordedYesNoOpposite
Kept currentAt planned pointsRarelyOpposite
Describes the architectureYesYesSame

Exam tip. List all seven principles. A one line meaning for each is enough for 7 marks. If the question also asks for refinement, define both kinds: decomposition and implementation.

Back to the topic list

Q3. Architectural styles and patterns: client-server, master-slave, MVC

Asked 5 times in 2020, 2022, 2023, 2025 · Unit 1

From the papers

  • “List and define any two software architecture styles with their characteristics.” (2025)
  • “What is Model View Architecture? Explain its characteristics in detail.” (2023)
  • “What is a software architecture framework? Write the difference between client-server and master-slave software architecture patterns.” (2022)

The short answer

An architectural style (or pattern) is a named, reusable way to arrange components and connectors, with rules on how they may work together. A software architecture framework is a set of standard views and rules for describing an architecture, such as the 4+1 view model or ISO/IEC 42010.

Write these points

  1. Client-server: many clients send requests to a central server, which does the work and replies. Example: a browser and a web server. The server can become a bottleneck.
  2. Master-slave: a master splits one job, gives the parts to slaves, then joins their results. The slaves do not talk to each other. Example: database replication, where the master takes writes and slaves hold copies.
  3. MVC (Model View Controller): the model holds data and rules. The view shows the data. The controller takes user input and updates the model. One model can have many views, so the UI can change without touching the logic.
  4. Event driven (publish and subscribe): components publish events to a bus. Every subscriber reacts. Senders do not know the receivers, so new parts plug in easily. The flow is hard to trace and test.
  5. Other styles to name in a comparison: layered, pipe and filter, repository (shared data store, such as a blackboard) and broker.
PointClient-serverMaster-slave
Who starts workClient sends a requestMaster hands out tasks
Who does the workServer serves many clientsMany slaves do parts of one job
AimShare one serviceParallel work, copies of data
ExampleBrowser and web serverDB replication, MapReduce

One login request in MVC.

1. The user submits the login form. The LoginController receives the user name and password.

2. The controller calls UserModel.check(name, password). The model looks up the users table and returns true.

3. The controller selects DashboardView. The view reads the user's name from the model and shows "Welcome, Riya".

If the password is wrong, the model returns false and the controller selects LoginView with an error message.

Real-life example

Gmail in a browser is client-server. A MySQL setup with one main server and read copies is master-slave. Most web frameworks, such as Django and Spring, follow MVC.

Figure: MVC, how one request moves through controller, model and view
Figure: MVC, how one request moves through controller, model and view
Figure: request flow in MVC
Figure: request flow in MVC

Same or opposite: client-server and master-slave

PointClient-serverMaster-slaveSame or opposite
Who starts workClient sends a requestMaster hands out tasksOpposite
AimShare one serviceParallel work, copies of dataOpposite
Central part can be a bottleneckYesYesSame
ExampleBrowser and web serverDatabase replicationOpposite

Exam tip. Give each style its parts, one real example and one drawback. In MVC the view never changes the model directly. User input goes through the controller.

Back to the topic list

Q4. Pipes and filters (data flow) architecture

Asked 4 times in 2020, 2022, 2023, 2024 · Unit 2

From the papers

  • “Explain pipes and filters in detail.” (2020, 2023)
  • “Short note: Data flow architecture.” (2024)
  • “Write a short note on pipes and filter architecture.” (2022)

The short answer

Pipes and filters is a data flow style. Independent filters each read a stream, change it and pass it on through pipes to the next filter.

Write these points

  1. A filter does one job, such as remove, sort or convert. It knows nothing about the filters before or after it.
  2. A pipe moves data in one direction and may buffer it. A data source feeds the first filter. A data sink takes the last output.
  3. Filters can run at the same time, since each one starts on data as soon as it arrives.
  4. Data flow variants: in batch sequential, each step finishes the whole data before the next starts, as in old payroll runs. Pipe and filter streams the data through. Process control uses a feedback loop, such as a thermostat.
  5. Advantages: filters are easy to reuse and swap. New filters can be added. The design is easy to understand as a series of steps.
  6. Disadvantages: it does not suit interactive systems. Each filter may parse and format data again. An error in the middle is hard to handle.

Example.

Unix shell: cat marks.txt | grep CSE | sort | uniq. Here cat is the source. grep, sort and uniq are filters. Each | is a pipe. A compiler is another example: lexical analysis, parsing, code generation.

Real-life example

A video app uploads a clip, then compresses it, then adds subtitles, then makes thumbnails. Each step is a filter. The queue between steps is a pipe.

Figure: pipes and filters in a compiler
Figure: pipes and filters in a compiler
Figure: a pipe and filter chain
Figure: a pipe and filter chain

Same or opposite: batch sequential and pipe and filter

PointBatch sequentialPipe and filterSame or opposite
Data passes asWhole batch after each stepA stream, piece by pieceOpposite
Steps run at the same timeNoYesOpposite
ExampleOld payroll runUnix shell pipelineOpposite
Data flow styleYesYesSame

Exam tip. Draw source, at least two filters, pipes and a sink. Label which part is a pipe. Filters keep no shared state. That is why they can be reused and run in parallel.

Back to the topic list

Q5. Architecture Description Language (ADL) and its features

Asked 4 times in 2020, 2022, 2023, 2025 · Unit 3

From the papers

  • “What is an Architecture Description Language (ADL)? Explain with suitable examples.” (2022, 2025)
  • “What is architecture description language? Outline the features of architecture description languages.” (2020, 2023)

The short answer

An Architecture Description Language (ADL) is a formal language for writing down the architecture of a system as components, connectors and their configuration. Because it is formal, tools can check and analyse the design before code is written.

Write these points

  1. Components: the units of computation or data, such as a client or a database. Each has ports, which are its points of contact.
  2. Connectors: the links between components, such as a procedure call, a pipe or an event bus. Each has roles, which are its ends.
  3. Configuration: how ports are attached to roles. This is the shape of the whole system.
  4. Features of a good ADL: clear syntax and meaning, types for components and connectors and constraints the design must keep. It also allows hierarchy, where one component holds a subsystem, with analysis and tool support.
  5. Uses: it removes the doubt of box and line drawings. Tools can check it for deadlock or performance. It guides code generation.
  6. Examples: Acme (exchange of designs between tools), Wright (connector behaviour, deadlock checks), Rapide (event simulation), Darwin (distributed systems), AADL (embedded systems) and xADL (XML based).

Example.

System simple_cs has a client component with port send-request and a server component with port receive-request.

Connector rpc has two roles: caller and callee.

Attachments: client.send-request goes to rpc.caller. server.receive-request goes to rpc.callee.

Real-life example

Aircraft and car software is often described in AADL, an ADL. Tools then check timing and safety from that description before any code runs in the vehicle.

Figure: what an ADL describes
Figure: what an ADL describes

Same or opposite: ADL and UML

PointADLUMLSame or opposite
Formal meaningStrictLooserOpposite
Main focusComponents, connectors, configurationMany kinds of design modelsOpposite
Tool analysisStrongLimitedOpposite
Describes software structureYesYesSame

Exam tip. Name the three parts (components, connectors, configuration) and give at least two real ADLs. Ports belong to components and roles belong to connectors. Do not mix them up.

Back to the topic list

Q6. ATAM (Architecture Tradeoff Analysis Method) and its phases

Asked 4 times in 2020, 2022, 2023, 2025 · Unit 4

From the papers

  • “Explain the Architecture Tradeoff Analysis Method (ATAM) with an example.” (2020, 2023, 2025)
  • “Write down the steps to analyse quality of software architecture using Trade-off Analysis (ATAM) Method.” (2022)

The short answer

ATAM (Architecture Tradeoff Analysis Method) is the SEI method for checking an architecture against its quality goals. It finds risks and tradeoffs before the system is built, using scenarios that stakeholders agree on.

Write these points

  1. Phase 0, partnership and preparation: the evaluation team and the client agree on scope, people and dates.
  2. Phase 1, evaluation with the architect and project leaders (steps 1 to 6): present ATAM, the business drivers and the architecture. Then identify the approaches, build the utility tree and analyse the approaches against the top scenarios.
  3. Phase 2, evaluation with all stakeholders (steps 7 to 9): brainstorm and vote on scenarios, analyse the approaches again with them and present the results.
  4. Phase 3, follow up: the team writes the final report and reviews how well the evaluation went.
  5. Outputs: risks, non-risks, sensitivity points and tradeoff points. A sensitivity point is a choice that one quality depends on. A tradeoff point affects two qualities, such as encryption that adds security but costs speed.

Example.

A bank app has the scenario: 1,000 users log in at 9 a.m. and each login takes under 2 seconds. The team sees one database server. That is a risk for performance and availability. Adding a replica is a tradeoff point, since it helps both but adds cost and sync delay.

Real-life example

A bank wants its new payment system fast and also very secure. Extra security checks slow it down. ATAM brings the team together to find such trade-offs before the system is built.

Figure: phases of ATAM
Figure: phases of ATAM

Same or opposite: ATAM and ARID

PointATAMARIDSame or opposite
Design stageComplete architecturePartial designOpposite
ChecksQuality attribute trade-offsWhether the design is usableOpposite
DurationSeveral daysAbout two daysOpposite
SEI review methodYesYesSame

Exam tip. Write all nine steps in order. Many students forget the utility tree in step 5. Know the four outputs by name. Define sensitivity point and tradeoff point.

Back to the topic list

Q7. Active Reviews for Intermediate Design (ARID)

Asked 4 times in 2022, 2023, 2024, 2025 · Unit 4

From the papers

  • “Explain Active Reviews for Intermediate Design (ARID) and Attribute Driven Design (ADD) methods.” (2025)
  • “Define ARID with its characteristics.” (2024)
  • “Write a note on Active Reviews for Intermediate Design.” (2023)

The short answer

ARID (Active Reviews for Intermediate Design) is an SEI method for reviewing a design that is only partly done, such as the interface of one subsystem. It mixes Parnas's Active Design Reviews with the scenario idea of ATAM.

Write these points

  1. Its aim is to check whether the design can be used by the people who must build on it, before the full architecture exists.
  2. The people are a facilitator, a scribe, the lead designer and reviewers, who are the future users of the design, such as the programmers of other modules.
  3. Phase 1, rehearsal by the designer and facilitator (steps 1 to 4): identify the reviewers, prepare the design briefing, prepare seed scenarios and prepare the materials.
  4. Phase 2, review by everyone (steps 5 to 9): present ARID and the design, then brainstorm and rank scenarios. Reviewers write pseudo code that uses the design to solve each scenario. Last, the issues found are summarised.
  5. Step 8 makes the review active. A reviewer who must write the calls finds missing functions and unclear rules quickly.
PointATAMARID
Design stateFull architecturePartial, intermediate design
ChecksAll quality attributesFitness for use by its users
EffortSeveral days, many peopleAbout two days, small group
OutputRisks and tradeoffsIssues list for the designer

ARID on a payment API.

A team has designed only the interface of a payment subsystem: pay(), refund() and status().

The reviewers are the app developers who will call it. Seed scenario: refund half of a paid order.

A reviewer writes pseudo code: status(order), then refund(order, amount / 2). The design has no way to pass a part amount.

Issue recorded: refund() needs an amount field. It is fixed before the rest of the subsystem is built.

Real-life example

A team building an app's payment module asks other developers to write real code against its half-finished interface. If they get stuck, the interface needs work. ARID reviews a design this way.

Figure: steps of ARID
Figure: steps of ARID

Same or opposite: ARID and a normal design review

PointARIDNormal reviewSame or opposite
ReviewersWrite tasks using the designRead and commentOpposite
FindsUsability of the interfaceGeneral faultsOpposite
StageIntermediate designAnyOpposite
Improves the designYesYesSame

Exam tip. The benefits over ATAM are that ARID is cheaper, works early and checks usability of the design by its users. Remember the two phases and the nine steps. Step 8 is the heart of ARID.

Back to the topic list

Q8. Attribute Driven Design (ADD) method and its steps

Asked 5 times in 2022, 2024, 2025 · Unit 4

From the papers

  • “Illustrate the Attribute Driven Design (ADD) method with a case study.” (2025)
  • “Explain Active Reviews for Intermediate Design (ARID) and Attribute Driven Design (ADD) methods.” (2025)
  • “Explain attribute driven design method of architecture analysis.” (2022)

The short answer

ADD (Attribute Driven Design) is the SEI method for designing an architecture from its quality attribute requirements. It breaks the system down step by step and picks patterns and tactics that meet the most important qualities first.

Write these points

  1. Input: functional requirements, quality attribute scenarios and constraints. The quality scenarios drive the choices.
  2. Output: the first layers of decomposition into modules and components, their responsibilities and their interfaces.
  3. ADD is recursive. Each child element is designed by running the same steps again.
  4. Architecturally significant requirements (ASRs) are the few requirements that shape the structure, such as 2 second response time or 99.9 percent uptime.

Steps

  1. Confirm there is enough requirement information to start.
  2. Choose an element of the system to decompose (at first, the whole system).
  3. Identify the ASRs for that element and rank them.
  4. Choose a design concept (pattern or tactic) that meets the top ASRs.
  5. Instantiate child elements and give each one its responsibilities.
  6. Define the interfaces between the child elements.
  7. Verify and refine the requirements, turning them into constraints for the children.
  8. Repeat for the next element until the design is complete.

Example.

Case study, a ticket booking site. The top ASR is 10,000 users at release time with response under 3 seconds. The design concept is load balancing with stateless web servers and a cache. The children are the load balancer, web servers, booking service and seat database, joined by REST calls and SQL. The next round adds a database replica for availability.

Real-life example

If an online exam site must stay up for lakhs of students at one time, availability drives its design. ADD starts from such quality needs and picks patterns, such as load balancers, to meet them.

Figure: steps of ADD
Figure: steps of ADD

Same or opposite: ADD and ATAM

PointADDATAMSame or opposite
PurposeDesign an architectureEvaluate an architectureOpposite
InputQuality attribute requirementsA finished architectureOpposite
Uses quality attributesYesYesSame
OutputModule structureRisks and trade-offsOpposite

Exam tip. Write the steps in order and show that the method loops. Quality attributes drive ADD, not functions. Say that in the first line.

Back to the topic list

Q9. Java RMI, CORBA and RMI vs RPC

Asked 5 times in 2020, 2022, 2024 · Unit 3

From the papers

  • “Compare RMI and RPC.” (2024)
  • “Write brief note: RMI.” (2020)
  • “Short note: CORBA and RMI.” (2022, 2024)

The short answer

Java RMI (Remote Method Invocation) lets a Java program call a method of an object in another JVM as if it were local. CORBA does the same job across many languages.

Write these points

  1. RMI parts: a remote interface that extends java.rmi.Remote, where every method throws RemoteException. A server class implements it.
  2. The stub is the proxy on the client side. It marshals (serializes) the method name and arguments and sends them over the network. On the server, the skeleton (or the RMI runtime in new Java versions) unmarshals them and calls the real object.
  3. The RMI registry is a naming service. The server calls Naming.rebind(name, obj). The client calls Naming.lookup(name) to get the stub.
  4. CORBA parts: interfaces are written in IDL (Interface Definition Language). An IDL compiler makes stubs and skeletons for C++, Java and other languages. The ORB (Object Request Broker) carries calls. ORBs talk to each other over IIOP.
  5. CORBA services include naming, events and transactions. The object adapter (POA) connects the ORB to the server object.
PointRPCRMICORBA
StyleProcedure callObject method callObject method call
LanguageMostly CJava onlyMany languages
InterfaceXDR / IDL fileJava interfaceOMG IDL
Can pass objectsNo, only dataYes, by serializationYes, by IDL types

A remote method call in RMI.

Interface: Calculator extends Remote, with the method int add(int a, int b) throws RemoteException.

Server: creates CalculatorImpl and binds it with Naming.rebind("calc", obj).

Client: Calculator c = (Calculator) Naming.lookup("rmi://server/calc"); then c.add(5, 7).

The stub sends 5 and 7 over the network, the skeleton calls add on the server and 12 comes back to the client.

Real-life example

A railway booking client written in Java can call a seat-check method on a server in another city as if it were a local method. That is what RMI gives.

Figure: Java RMI, a stub on the client and a skeleton on the server
Figure: Java RMI, a stub on the client and a skeleton on the server
Figure: a call in Java RMI
Figure: a call in Java RMI

Same or opposite: RMI and RPC

PointRMIRPCSame or opposite
CallsMethods of remote objectsRemote proceduresOpposite
LanguageJava onlyMany languagesOpposite
Passes objectsYesOnly dataOpposite
Hides network details from the callerYesYesSame

Exam tip. Draw client, stub, network, skeleton, server and the registry. Number the steps bind, lookup, call. RMI is Java to Java. CORBA is language neutral. That is the main difference examiners ask for.

Back to the topic list

Q10. Role of UML in software architecture

Asked 3 times in 2020, 2022, 2023 · Unit 3

From the papers

  • “Discuss the role of UML in Software Architecture.” (2020, 2023)
  • “Describe various UML diagrams used in software architecture using suitable diagrams.” (2022)

The short answer

UML (Unified Modeling Language) is the standard notation for drawing software models. In software architecture it gives one shared language to show the structure, behaviour and deployment of a system from several views.

Write these points

  1. Component diagram: shows components and their interfaces. A provided interface is drawn as a circle (lollipop) and a required interface as a half circle (socket).
  2. Deployment diagram: shows nodes (servers, devices) as 3D boxes, the artifacts placed on them and the links between nodes. It answers where each part runs.
  3. Class and package diagrams: show the module view, that is, the code units and how they depend on each other.
  4. Sequence and activity diagrams: show behaviour, the order of messages between parts for one scenario.
  5. State machine diagram: shows the states of one element and the events that move it between states.
  6. Role of UML: a common language for all stakeholders, support for the 4+1 views (logical, process, development, physical, scenarios), tool support and a link from design to code. Its limit is weak meaning for connectors, which is why ADLs exist.

UML diagrams for a library system.

Structure: a class diagram with Book, Member and Loan. A component diagram with the web app, the loan service and the database.

Behaviour: a sequence diagram for issue book, from the librarian screen to the loan service to the database.

Deployment: a deployment diagram with one web server, one app server and one database server.

These diagrams cover the module, component and allocation views of one system.

Real-life example

Before building a hospital system, architects draw component diagrams for the main parts and deployment diagrams for the servers. The whole team then reads the same picture.

Figure: UML diagrams used for architecture
Figure: UML diagrams used for architecture

Same or opposite: component and deployment diagram

PointComponent diagramDeployment diagramSame or opposite
ShowsSoftware parts and interfacesHardware nodes and what runs on themOpposite
ViewLogical structurePhysical setupOpposite
UML structural diagramYesYesSame
ExamplePayment, Login componentsApp server, DB serverOpposite

Exam tip. Draw at least one component diagram with lollipop and socket. Draw one deployment diagram with nodes. Link each diagram to a view: component for structure, deployment for allocation, sequence for behaviour.

Back to the topic list

Q11. Documentation package using the seven-part template

Asked 3 times in 2023, 2024, 2025 · Unit 5

From the papers

  • “Explain the software documentation package using a seven-part template.” (2025)
  • “Describe seven part template for documentation package.” (2024)
  • “What is the Documentation Package? Explain in detail.” (2023)

The short answer

A documentation package is the full set of architecture documents for a system. Each view uses a standard seven-part template, plus one section on how the views fit together.

Write these points

  1. 1. Primary presentation: the main picture of the view (or a table) showing its elements and relations.
  2. 2. Element catalog: details of every element in the picture, with its properties, relations, interfaces and behaviour.
  3. 3. Context diagram: shows what is inside the part being documented and what is outside it, with the links between them.
  4. 4. Variability guide: shows the parts of the design that can change, such as product options or settings. It also says how to choose them.
  5. 5. Architecture background: the rationale for the design, the analysis results and the assumptions.
  6. 6. Glossary of terms: short meanings of the terms used in the view.
  7. 7. Other information: version, owner, change history and anything that fits nowhere else.
  8. Beyond the views: a roadmap of the package, a view template, mapping between views, a directory of elements and the system wide rationale.

One view in the seven-part template.

View: the deployment view of an online exam system.

1. Primary presentation: a diagram of the web servers, the exam server and the database. 2. Element catalogue: what each server does.

3. Context diagram: students and the college network. 4. Variability guide: one or two web servers.

5. Rationale: two web servers for exam day load.

6. Glossary: terms such as load balancer. 7. Other information: owner, version and date.

Real-life example

A government project handed from one company to another comes with a documentation package. The new team finds each view with the same seven sections, so nothing is missed.

Figure: the seven-part template
Figure: the seven-part template

Same or opposite: primary presentation and element catalog

PointPrimary presentationElement catalogSame or opposite
ShowsMain elements and linksDetails of every elementOpposite
FormPicture or tableText and tablesOpposite
Part of the seven-part templateYesYesSame
Order in the templateFirstSecondOpposite

Exam tip. Learn the seven parts in order. Writing them as a numbered list gets most of the marks. The primary presentation shows only the main elements. The details go in the element catalog.

Back to the topic list

Q12. Microservices versus monolithic architecture and scalability

Asked 4 times in 2022, 2025 · Unit 2

From the papers

  • “Illustrate how the micro-services architecture enhances software scalability.” (2025)
  • “What is microservices architecture and how is it different from monolithic architecture?” (2025)
  • “Explain micro services based architecture and agent based architecture in brief.” (2022)

The short answer

Microservices architecture builds one application as many small services, each with one business job, its own data and its own deployment. They talk through light APIs such as REST.

Write these points

  1. Monolithic: the whole application is one unit with one code base and one database. A small change means building and deploying everything again.
  2. Microservices: the order, payment and user services are separate. Each can be written, tested and deployed by its own small team.
  3. An API gateway is the single entry point for clients. It routes each request to the right service. A service registry helps services find each other.
  4. Scalability: only the busy service gets more copies. During a sale, the shop can run ten copies of the order service and one copy of the user service. Containers (Docker) and Kubernetes start and stop these copies.
  5. Fault isolation: if one service fails, the rest keep working. A circuit breaker stops calls to the failed service.
  6. Challenges: many network calls, data spread across many databases, harder testing and the need for good monitoring.
PointMonolithicMicroservices
DeploymentWhole app at onceEach service alone
ScalingCopy the whole appCopy only the busy service
DatabaseOne shared databaseOne database per service
FailureOne bug can stop allFailure stays in one service

Scaling a food delivery app.

Monolith: one app holds menu, orders and payments. At 8 pm orders grow ten times, so the whole app is copied to 10 servers.

Microservices: only the order service is busy. It runs 10 copies while menu and payment stay at 2 each.

Result: 14 small service copies instead of 10 full apps. A bug in payments does not stop people from seeing menus.

Real-life example

During a big sale, an online store needs many copies of its checkout service but not of its reviews service. With microservices, only checkout is scaled up.

Figure: a monolith next to the same shop built as microservices
Figure: a monolith next to the same shop built as microservices
Figure: a request in a microservices app
Figure: a request in a microservices app

Same or opposite: microservices and monolithic architecture

PointMicroservicesMonolithicSame or opposite
DeploymentEach service on its ownWhole app at onceOpposite
ScalingOnly the busy serviceWhole appOpposite
DatabaseOne per serviceOne sharedOpposite
Delivers the full applicationYesYesSame
ComplexityHigher, network callsLower at the startOpposite

Exam tip. Say "independently deployable" and "database per service". Examiners look for both ideas. For the scalability question, give the sale day example with numbers of copies.

Back to the topic list

Q13. J2EE components: JSP, Servlets (life cycle) and EJB

Asked 3 times in 2024, 2025 · Unit 3

From the papers

  • “Develop a simple architecture for an enterprise application using J2EE components.” (2025)
  • “Discuss the use of J2EE components like JSP, Servlets and EJBs in enterprise applications.” (2025)
  • “Define JSP. Describe the life cycle of servlets.” (2024)

The short answer

J2EE (now Jakarta EE) is the Java platform for multi tier enterprise applications. Its main components are Servlets and JSP in the web tier and EJBs (Enterprise JavaBeans) in the business tier, all running inside a server container.

Write these points

  1. Servlet: a Java class on the server that takes an HTTP request and builds a response. It is good for control logic.
  2. JSP (JavaServer Pages): an HTML page with Java tags. The server turns each JSP into a servlet the first time, then compiles it. It is good for the view.
  3. EJB: business logic that the container manages for transactions, security and pooling. Session beans (stateless, stateful, singleton) hold the logic. Message driven beans read JMS messages. Data is saved through JPA entities.
  4. Tiers of an enterprise app: client tier (browser), web tier (Servlet, JSP), business tier (EJB) and EIS tier (database through JDBC).
  5. Example shop: the browser sends an order to OrderServlet, which calls OrderBean (an EJB). The bean saves the order through JPA and sends a JMS message to the billing bean. A JSP then shows the receipt.

Steps

  1. Loading and instantiation: the container loads the servlet class and creates one object.
  2. init(): called once, to open resources such as a database connection.
  3. service(): called for every request, each on its own thread. It passes GET to doGet() and POST to doPost().
  4. destroy(): called once before the servlet is removed, to free resources.

Servlet life cycle for a login page.

1. The container loads LoginServlet and calls init() once. It opens a database pool.

2. Each login request calls service(), which calls doPost(). It checks the user name and password.

3. When 500 students log in, the same servlet object serves all 500 requests on separate threads.

4. When the server shuts down, destroy() is called once and the pool is closed.

Real-life example

Many bank and government portals in India were built on Java EE. A servlet takes the login request, an EJB checks the account and a JSP page shows the balance.

Figure: the servlet life cycle
Figure: the servlet life cycle
Figure: servlet life cycle
Figure: servlet life cycle

Same or opposite: Servlet and JSP

PointServletJSPSame or opposite
Written asJava code with HTML in stringsHTML with Java tagsOpposite
Best forControl logicShowing pagesOpposite
Runs in a web containerYesYes, compiled to a servletSame
Role in MVCControllerViewOpposite

Exam tip. The servlet life cycle has three methods: init() once, service() per request, destroy() once. JSP is for the view, servlet for control and EJB for business logic. That is MVC on Java.

Back to the topic list

Q14. Layered architecture and its modifiability tactics

Asked 2 times in 2022, 2024 · Unit 2

From the papers

  • “Describe how the layered pattern makes use of abstract common services, encapsulate and use an intermediary.” (2024)
  • “Short note: Layered software architecture.” (2022)

The short answer

In a layered architecture the system is split into layers. Each layer gives services to the layer above it and uses only the services of the layer below it.

Write these points

  1. A common four layer stack is presentation (UI), business logic, persistence (data access) and database. The OSI network model is another example.
  2. Strict layering lets a layer call only the layer just below. Relaxed layering lets it skip down past a layer. That is faster but builds more links between layers.
  3. Abstract common services: services that many parts need, such as logging, database access or security, sit once in a lower layer. Upper layers reuse them, so a change is made in one place.
  4. Encapsulate: each layer hides its inner work behind a public interface. An upper layer depends only on that interface, so the inside of a layer can change freely.
  5. Use an intermediary: a layer stands between the layers above and below it. The UI never talks to the database directly. It goes through the business and data access layers, so the database can be replaced.
  6. Disadvantages: each call passes through several layers, which costs time. A change that touches every layer is costly.

Changing the database in a layered app.

Layers: presentation (web pages), business (fee rules), data access (SQL) and the database.

The college moves from MySQL to PostgreSQL. Only the data access layer changes its SQL and driver.

The business and presentation layers call the same methods as before, so they do not change.

This is the modifiability tactic of hiding the database behind one layer.

Real-life example

A college app can move from MySQL to PostgreSQL without touching its screens. Only the data access layer changes, because the screens never talk to the database directly.

Figure: a four-layer architecture
Figure: a four-layer architecture
Figure: four-layer architecture
Figure: four-layer architecture

Same or opposite: strict and relaxed layering

PointStrictRelaxedSame or opposite
Calls allowedOnly the layer just belowAny lower layerOpposite
SpeedSlowerFasterOpposite
Ease of changeHigherLowerOpposite
Upper layers use lower onesYesYesSame

Exam tip. Calls go downward and results come back up. A lower layer never calls an upper one. For the 2024 question, link each tactic (abstract, encapsulate, intermediary) to one layer in your figure.

Back to the topic list

Q15. Quality attribute scenarios: the six parts

Asked 2 times in 2023 · Unit 4

From the papers

  • “How can we decide the quality of software architecture? Explain.” (2023)
  • “What are the six characteristics of a scenario for quality attributes specification?” (2023)

The short answer

A quality attribute scenario is a short, testable statement of one quality need, such as performance. Its six parts say what happens, where and how the result is measured.

Write these points

  1. Source of stimulus: who or what causes the event, such as a user, another system or an attacker.
  2. Stimulus: the event that arrives, such as a request, a fault or a change request.
  3. Environment: the condition of the system at that time, such as normal load, peak load or offline.
  4. Artifact: the part that is stimulated, such as the whole system, one service or the database.
  5. Response: what the system does, such as process the request, log the fault or switch to backup.
  6. Response measure: the number that shows the response is good enough, such as latency under 2 seconds or recovery within 30 seconds.
  7. To decide the quality of an architecture, the team writes such scenarios for each quality and checks the design against them, as ATAM does with its utility tree.

Example.

Performance scenario: Users (source) send 1,000 booking requests per minute (stimulus) during peak hours (environment) to the booking system (artifact). The system processes every request (response) with an average latency under 2 seconds (response measure).

Real-life example

'When 10,000 students open results at 10 am, each page loads within 2 seconds.' This one line is a quality attribute scenario. It names the source, stimulus, environment and response measure.

Figure: six parts of a quality attribute scenario
Figure: six parts of a quality attribute scenario

Same or opposite: general and concrete scenario

PointGeneral scenarioConcrete scenarioSame or opposite
DetailSystem independentFor one systemOpposite
ExampleUsers send many requests10,000 result requests at 10 amOpposite
Has the six partsYesYesSame
Testable as writtenNoYesOpposite

Exam tip. Learn the six parts in order: source, stimulus, environment, artifact, response, response measure. A scenario without a number in the response measure cannot be tested. Always give a number.

Back to the topic list

About Software Architectures

Software Architectures (CS-701) is about the big design choices that shape a software system. It is a Semester 7 subject of RGPV B.Tech CSE with five units: development methods, architecture models and styles, implementation technologies, analysis and design methods, and documentation. Learn each style with a real system as its example.

Software Architectures unit-wise brief

Unit 1: Overview of software development methodology

This unit reviews development methods and quality models, then introduces software architecture: how it evolved, components and connectors, common frameworks, the architecture business cycle, patterns and reference models. Be able to say what architecture is and why it matters.

Unit 2: Software architecture models and styles

Here you study structural, framework, dynamic and process models, and the main styles: dataflow, pipes and filters, call-and-return, data-centred, layered, agent based, micro-services, reactive and REST. Make a table that pairs each style with an example and its main weakness.

Unit 3: Implementation technologies

This unit covers architecture description languages, and the technologies used to build systems: Struts, Hibernate, Node JS, Angular JS, J2EE (JSP, Servlets and EJB), middleware such as JDBC, JNDI, JMS, RMI and CORBA, and the role of UML. Know what each technology is used for.

Unit 4: Architecture analysis and design

The unit covers requirements for architecture, the life-cycle view of design and analysis, and methods such as CBAM, ATAM, ARID and ADD, plus architecture reuse and domain-specific architecture. Learn the purpose of each method in one line.

Unit 5: Architecture documentation

The last unit covers the principles of sound documentation, refinement, context diagrams, variability, software interfaces, documenting behaviour, and a documentation package built on a seven-part template. Learn the seven parts in order.

Units follow the RGPV scheme and syllabus, B.Tech Computer Science and Engineering, Semester 7 (AICTE flexible curriculum, w.e.f. July 2020) (copy hosted by VIT Bhopal (RGPV-affiliated)). For the full topic list of each unit, open the Software Architectures notes.

Start with the latest papers

Software Architectures - Jun 2025

Software Architectures - Dec 2025

Software Architectures - Dec 2024

See all 6 papers →

Software Architectures (CS-701) FAQs

What are the most important topics in Software Architectures?

By how often they were asked in the papers on this site: Software development models and their issues (spiral, RAD) (6 times); Need of documentation and principles of sound documentation (5 times); Architectural styles and patterns: client-server, master-slave, MVC (5 times); Attribute Driven Design (ADD) method and its steps (5 times); Java RMI, CORBA and RMI vs RPC (5 times).

How were these Software Architectures important questions chosen?

Each topic was counted from the questions in the past papers listed on this site (2020-2025). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.

Is there a PDF of Software Architectures important questions with answers?

Yes. The Paperwala Imp Question & Answer PDF for Software Architectures is free to download from this page.

The 15 most repeated topics of Software Architectures (CS-701) for RGPV B.Tech CSE semester 7, counted from the previous year papers on this site.