uiz Space

September 2025 term · Software Engineering · BSCS3001

Software Engineering End Term: 21 December 2025 (September 2025 term)

The IIT Madras BS Software Engineering (Software Engineering) End Term paper sat on 21 Dec 2025, in the September 2025 term: 25 questions for 100 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
25
Marks
100
Duration
180 min
MCQ
23
MSQ
2

Updated

Official paper: Software Engineering 18 Dec 25 · No negative marking.

Question 1

+4 marksOne correct option

Which of the following test cases ensures branch coverage for the Python code given below?

Which of the following test cases ensures branch coverage for the Python code given below?
  1. A

    x = 5, y = 10

  2. B

    x = 15, y = 10

  3. C

    Both x = 5, y = 10 and x = 15, y = 10

  4. D

    Only when x = y

Show answer

Correct answer

  • C

    Both x = 5, y = 10 and x = 15, y = 10

Question 2

+4 marksOne correct option

Which type of testing is carried out by the customer to decide whether to approve the product?

  1. A

    Alpha testing

  2. B

    Acceptance testing

  3. C

    Smoke testing

  4. D

    System testing

Show answer

Correct answer

  • B

    Acceptance testing

Question 3

+4 marksOne correct option

Which testing approach allows early testing of the main logic, even if the low-level modules are not yet implemented?

  1. A

    Bottom-up

  2. B

    Top-down

  3. C

    Big bang

  4. D

    Mixed

Show answer

Correct answer

  • B

    Top-down

Question 4

+4 marksOne correct option

What is the cyclomatic complexity of the following Python function?

What is the cyclomatic complexity of the following Python function?
  1. A

    2

  2. B

    3

  3. C

    4

  4. D

    5

Show answer

Correct answer

  • D

    5

Question 5

+4 marksOne correct option

Consider the following Python function:

From a blackbox testing perspective, how many input equivalence classes are appropriate for testing this function?

Consider the following Python function:
  1. A

    3

  2. B

    4

  3. C

    5

  4. D

    6

Show answer

Correct answer

  • C

    5

Question 6

+4 marksOne correct option

You are building a complex product object in the seller onboarding process. A SellerProfile object requires many optional parameters such as GST number, website, alternate contact, and warehouse list. You want to allow a flexible and readable way to construct such objects without passing all parameters in a constructor. Which pattern best supports this requirement?

  1. A

    Factory Pattern

  2. B

    Builder Pattern

  3. C

    Facade Pattern

  4. D

    Adapter Pattern

Show answer

Correct answer

  • B

    Builder Pattern

Question 7

+4 marksOne correct option

A DiscountCalculator class applies discount rules for Regular and Premium customers using a switch statement. Now, to add a new customer type VIP, the developer modifies the same method to add another case block. Which SOLID principle is being violated?

  1. A

    Interface Segregation Principle

  2. B

    Dependency Inversion Principle

  3. C

    Open-Closed Principle

  4. D

    Liskov Substitution Principle

Show answer

Correct answer

  • C

    Open-Closed Principle

Question 8

+4 marksOne correct option

A software module defines an interface PaymentMethod. Another class UPIPayment implements this interface. What kind of relationship does UPIPayment have with PaymentMethod?

  1. A

    Inheritance

  2. B

    Composition

  3. C

    Dependency

  4. D

    Aggregation

Show answer

Correct answer

  • C

    Dependency

Question 9

+4 marksOne correct option

In a poorly designed legacy system, a module includes unrelated functions like loginUser(), calculateTax(), and sendEmail(). These functions do not share data or purpose. What type of cohesion does this module likely have?

  1. A

    Functional cohesion

  2. B

    Sequential cohesion

  3. C

    Procedural cohesion

  4. D

    Coincidental cohesion

Show answer

Correct answer

  • D

    Coincidental cohesion

Question 10

+4 marksOne or more correct options

Which of the following activities occur after a sprint is completed?

Select all that apply.

  1. A

    Sprint planning

  2. B

    Sprint review

  3. C

    Daily stand-up

  4. D

    Sprint retrospective

Show answer

Correct answers

  • B

    Sprint review

  • D

    Sprint retrospective

Question 11

+4 marksOne or more correct options

Which of the following are true regarding an Activity Network?

Select all that apply.

  1. A

    It helps identify independent tasks that can be done in parallel

  2. B

    It replaces the need for a Work Breakdown Structure

  3. C

    It represents the estimated cost for each task

  4. D

    It visually shows task dependencies and durations

Show answer

Correct answers

  • A

    It helps identify independent tasks that can be done in parallel

  • D

    It visually shows task dependencies and durations

Question 12

+4 marksOne correct option

A project manager prepares a risk table with probabilities and numerical impact levels for each identified risk. Which of the following combinations would receive the highest priority?

  1. A

    Probability: 20%, Impact: 2

  2. B

    Probability: 80%, Impact: 3

  3. C

    Probability: 50%, Impact: 4

  4. D

    Probability: 90%, Impact: 3

Show answer

Correct answer

  • D

    Probability: 90%, Impact: 3

Question 13

+4 marksOne correct option

A banking app places the "Transfer Money" button in the same position across the dashboard, accounts, and payments screens, using the same label and icon each time. Which heuristic is best demonstrated in this design?

  1. A

    Flexibility and efficiency of use

  2. B

    Familiar metaphors

  3. C

    Consistency

  4. D

    Visibility of system status

Show answer

Correct answer

  • C

    Consistency

Question 14

+4 marksOne correct option

A project management app uses intuitive icons, consistent layouts, and familiar menu structures so that returning users can quickly resume work after a gap. Which usability goal does this reflect?

  1. A

    Effectiveness

  2. B

    Efficiency

  3. C

    Learnability

  4. D

    Memorability

Show answer

Correct answer

  • D

    Memorability

Question 15

+4 marksOne correct option

During a design meeting, a product owner is unclear about a feature's purpose. The designer draws a simple sketch of a UI and explains how the user will interact with it. What benefit of prototyping does this illustrate?

  1. A

    Ensures performance optimization

  2. B

    Clarifies vague requirements

  3. C

    Tests final implementation

  4. D

    Avoids need for feedback

Show answer

Correct answer

  • B

    Clarifies vague requirements

Question 16

+4 marksOne correct option
Figure from the original question paper
  1. A

    1 and 3 is a functional, 2 is a nonfunctional requirement

  2. B

    1 and 2 are nonfunctional, 3 is a functional requirement

  3. C

    1 is a functional, 2 and 3 are nonfunctional requirements

  4. D

    1 and 2 are functional, 3 is a nonfunctional requirement

Show answer

Correct answer

  • C

    1 is a functional, 2 and 3 are nonfunctional requirements

Question 17

+4 marksOne correct option

The mobile sales team wants daily sales summaries, while the furniture department prefers 30-day summaries. You identify this difference while conducting a joint session with multiple stakeholders. What requirement gathering technique is this?

  1. A

    Questionnaire

  2. B

    Focus Group

  3. C

    Observation

  4. D

    Structured Interview

Show answer

Correct answer

  • B

    Focus Group

Question 18

+4 marksOne correct option

A team of developers begins coding a complex online payment system without discussing a common structure. One developer modifies a function signature without informing others, breaking multiple components dependent on that function. Which phase was likely skipped or inadequately done?

  1. A

    Requirement Gathering

  2. B

    Testing

  3. C

    Design

  4. D

    Maintenance

Show answer

Correct answer

  • C

    Design

Question 19

+4 marksOne correct option

A research institute wants to deploy a high-performance computing web application. It requires maximum speed, full system control, and does not mind paying a high upfront cost. Which hosting option is most appropriate for their needs?

  1. A

    Platform as a Service (PaaS)

  2. B

    Infrastructure as a Service (IaaS)

  3. C

    Shared Hosting

  4. D

    Bare Metal Server

Show answer

Correct answer

  • D

    Bare Metal Server

Question 20

+4 marksOne correct option

Your team deploys a major update to a new server setup. If anything breaks, they want to instantly switch all users back to the older version. Which deployment strategy enables this type of rollback?

  1. A

    Canary Deployment

  2. B

    Blue-Green Deployment

  3. C

    Version Deployment

  4. D

    Shadow Deployment

Show answer

Correct answer

  • B

    Blue-Green Deployment

Question 21

+4 marksOne correct option

A software company is planning to launch a new product. Before development begins, the team needs to identify the target audience and understand what features would add the most value. Which team is primarily responsible for this task?

  1. A

    Engineering Team

  2. B

    Marketing Team

  3. C

    Support Team

  4. D

    Legal Team

Show answer

Correct answer

  • B

    Marketing Team

Question 22

+4 marksOne correct option

Ananya is developing a Python-based web application. She wants a tool that not only allows her to write code but also helps her with syntax checking, renaming variables across the project, and locating function usage. Which of the following tools is most suitable for her?

  1. A

    Notepad

  2. B

    Vim

  3. C

    Visual Studio Code

  4. D

    Python interpreter

Show answer

Correct answer

  • C

    Visual Studio Code

Question 23

+4 marksOne correct option

You see unexpected behavior in a GUI application and trace the function calls and state transitions starting from the button click that triggered the event. Which debugging strategy is most appropriate?

  1. A

    Input manipulation

  2. B

    Forward tracing

  3. C

    Backward tracing

  4. D

    Blackbox debugging

Show answer

Correct answer

  • B

    Forward tracing

Question 24

+4 marksOne correct option

Your system supports an "Add to Cart and Purchase" workflow. To model how different objects interact during this process, which UML diagram would be most appropriate?

  1. A

    Class Diagram

  2. B

    Sequence Diagram

  3. C

    Activity Diagram

  4. D

    Component Diagram

Show answer

Correct answer

  • B

    Sequence Diagram

Question 25

+4 marksOne correct option

Imagine you're joining a new open-source project hosted on GitHub. You want to make some improvements in the codebase and share your changes with the rest of the team. Starting from scratch, what is the correct order of steps you should follow to make changes locally and push them to the remote repository?

  1. A

    Add → Commit → Push → Clone

  2. B

    Clone → Modify → Add → Commit → Push

  3. C

    Fork → Commit → Pull → Push

  4. D

    Push → Clone → Add → Merge

Show answer

Correct answer

  • B

    Clone → Modify → Add → Commit → Push