Quiz Space

September 2023 term · Software Engineering · BSCS3001

Software Engineering Quiz 2: 3 December 2023 (September 2023 term)

The IIT Madras BS Software Engineering (Software Engineering) Quiz 2 paper sat on 3 Dec 2023, in the September 2023 term: 22 questions for 50 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
22
Marks
50
Duration
120 min
MCQ
16
MSQ
6

Updated

Official paper: IIT M DEGREE AN2 EXAM QDB2 03 Dec 2023 · No negative marking.

Question 1

+2 marksOne correct option
  1. A

    Requirements gathering

  2. B

    Design

  3. C

    Development

  4. D

    Testing

  5. E

    Maintenance

Show answer

Correct answer

  • A

    Requirements gathering

Question 2

+2 marksOne correct option

What is one of the main advantages of Agile development over the Waterfall model?

  1. A

    Strong emphasis on documentation

  2. B

    Ability to accommodate changing requirements

  3. C

    Faster development with no need for testing

  4. D

    Strict adherence to a fixed project plan

Show answer

Correct answer

  • B

    Ability to accommodate changing requirements

Question 3

+2 marksOne correct option

What is the primary goal of "regression testing" in software development?

  1. A

    To ensure the software complies with industry standards and regulations.

  2. B

    To identify and fix defects introduced during recent code changes without causing new issues.

  3. C

    To test the software's performance under extreme conditions.

  4. D

    To test the software against its initial requirements.

Show answer

Correct answer

  • B

    To identify and fix defects introduced during recent code changes without causing new issues.

Question 4

+2 marksOne correct option

In Behavior Driven Design (BDD), what are "user stories"?

  1. A

    A form of documentation used for project management

  2. B

    A list of tasks assigned to developers

  3. C

    A detailed description of how the code is structured

  4. D

    A way to express software requirements from an end-user perspective

Show answer

Correct answer

  • D

    A way to express software requirements from an end-user perspective

Question 5

+2 marksOne correct option

An organisation wants to develop a mobile app to receive orders for grocery items online and deliver them within an hour. Therefore, a team from the organisation has visited some famous grocery shops across the country to observe how customers place orders, how payments are made, and in what mode the items are delivered to the customers.
Identify the type of requirement collection technique used in the given scenario.

  1. A

    Questionnaires

  2. B

    Focus group

  3. C

    Documentations

  4. D

    Naturalistic observations

Show answer

Correct answer

  • D

    Naturalistic observations

Question 6

+2 marksOne correct option

When creating a Software Requirement Specification (SRS), what should be the primary focus regarding the clarity of requirements?

  1. A

    Write requirements in a technical language to ensure precision.

  2. B

    Use ambiguous language to allow for flexibility during development.

  3. C

    Ensure that requirements are clear, unambiguous, and understandable by both technical and non-technical stakeholders.

  4. D

    Only specify high-level requirements to provide flexibility to developers.

Show answer

Correct answer

  • C

    Ensure that requirements are clear, unambiguous, and understandable by both technical and non-technical stakeholders.

Question 7

+2 marksOne correct option

Usability goals in interaction design aim to enhance the overall user experience. Which of the following is NOT a common usability goal?

  1. A

    Efficiency

  2. B

    Consistency

  3. C

    Novelty

  4. D

    Learnability

Show answer

Correct answer

  • C

    Novelty

Question 8

+2 marksOne correct option

Prototyping is a crucial step in interaction design. Which prototyping technique is often used for simulating the look and feel of the final product, providing a close-to-real experience for users?

  1. A

    Low-fidelity paper prototyping

  2. B

    Wizard of Oz prototyping

  3. C

    High-fidelity interactive prototyping

  4. D

    Storyboard prototyping

Show answer

Correct answer

  • C

    High-fidelity interactive prototyping

Question 9

+2 marksOne correct option

In the context of software user interface design, how can "consistency" be described as a heuristic for feedback?

  1. A

    Ensuring that the user interface is visually appealing.

  2. B

    Maintaining uniformity in the way similar actions or elements are presented to users.

  3. C

    Offering real-time feedback to users during their interactions.

  4. D

    Allowing users to easily undo any action they take.

Show answer

Correct answer

  • B

    Maintaining uniformity in the way similar actions or elements are presented to users.

Question 10

+2 marksOne correct option

In software project estimation, what is the primary goal of using the "Delphi Technique"?

  1. A

    To encourage open and collaborative communication among team members.

  2. B

    To provide a quick and rough estimate of project costs.

  3. C

    To combine estimates from multiple experts to reach a consensus estimate.

  4. D

    To create a detailed work breakdown structure.

Show answer

Correct answer

  • C

    To combine estimates from multiple experts to reach a consensus estimate.

Question 11

+2 marksOne correct option

In the context of software project risk management, what does the term "mitigation" mean?

  1. A

    Transferring the risk to a third party, such as an insurance company.

  2. B

    Eliminating the risk entirely from the project.

  3. C

    Implementing actions to reduce the impact or probability of a risk occurring.

  4. D

    Ignoring the risk and hoping it won't affect the project.

Show answer

Correct answer

  • C

    Implementing actions to reduce the impact or probability of a risk occurring.

Question 12

+2 marksOne correct option

Which role in Agile is responsible for prioritizing and maintaining the product backlog, ensuring that the development team focuses on delivering the highest value features first?

  1. A

    Scrum Master

  2. B

    Product Owner

  3. C

    Stakeholder

  4. D

    Team Lead

Show answer

Correct answer

  • B

    Product Owner

Question 13

+2 marksOne correct option

In Agile project management, what is the purpose of a "daily stand-up" or "daily scrum" meeting?

  1. A

    To provide status updates to upper management.

  2. B

    To discuss long-term project planning.

  3. C

    To identify and address impediments to progress.

  4. D

    To review the final deliverables of the sprint.

Show answer

Correct answer

  • C

    To identify and address impediments to progress.

Question 14

+2 marksOne correct option

In the context of software design comprehension, what is the primary goal of VeriSIM?

  1. A

    To automatically generate code from design diagrams.

  2. B

    To assist developers in understanding and comprehending complex software designs.

  3. C

    To simulate user interactions with the software.

  4. D

    To identify and fix design flaws in existing software.

Show answer

Correct answer

  • B

    To assist developers in understanding and comprehending complex software designs.

Question 15

+2 marksOne correct option

Which Unified Modeling Language (UML) diagram is primarily used to depict the interactions between objects in a system?

  1. A

    Class diagram

  2. B

    Sequence diagram

  3. C

    State diagram

  4. D

    Use case diagram

Show answer

Correct answer

  • B

    Sequence diagram

Question 16

+2 marksOne correct option

In a UML "component diagram," what does a component represent?

  1. A

    A specific instance of a class.

  2. B

    A module, package, or subsystem that encapsulates related functionality.

  3. C

    A sequence of method calls.

  4. D

    A control flow within a system.

Show answer

Correct answer

  • B

    A module, package, or subsystem that encapsulates related functionality.

Question 17

+3 marksOne or more correct options

While debugging, a developer identifies the event responsible for causing an undesirable behavior and traces the data control flow forward until reaching the problematic state.
Which debugging approach/approaches did the developer employ from the following options?

Select all that apply.

  1. A

    Input manipulation

  2. B

    Reverse strategy

  3. C

    Forward strategy

  4. D

    Blackbox debugging

Show answer

Correct answer

  • C

    Forward strategy

Question 18

+3 marksOne or more correct options

Which type of software metrics assess code quality by considering parameters such as LOC, LLOC, SLOC, and others in the context of software development and maintenance?

Select all that apply.

  1. A

    Cyclomatic complexity

  2. B

    Raw metrics

  3. C

    Halstead’s metrics

  4. D

    Code smell

Show answer

Correct answer

  • B

    Raw metrics

Question 19

+3 marksOne or more correct options

Identify the statements that are true regarding debugging in software development:

Select all that apply.

  1. A

    Debugging is only necessary during the initial development phase.

  2. B

    Debugging involves identifying and fixing issues or defects in the code.

  3. C

    Debugging can be done without the use of debugging tools or breakpoints.

  4. D

    Code may run correctly during debugging but fail in production.

Show answer

Correct answers

  • B

    Debugging involves identifying and fixing issues or defects in the code.

  • D

    Code may run correctly during debugging but fail in production.

Question 20

+3 marksOne or more correct options

Select all that apply.

  1. A

    The relationship between class Payment and class Order is association.

  2. B

    The relationship between class Payment and class UPIPayment is composition.

  3. C

    The relationship between class Order and class Item is inheritance.

  4. D

    The relationship between class Payment and class CardPayment is inheritance.

Show answer

Correct answers

  • A

    The relationship between class Payment and class Order is association.

  • D

    The relationship between class Payment and class CardPayment is inheritance.

Question 21

+3 marksOne or more correct options

Select the design patterns that fall under the "Creational" category of design patterns:

Select all that apply.

  1. A

    Singleton

  2. B

    Factory Method

  3. C

    Adapter

  4. D

    Decorator

  5. E

    Observer

Show answer

Correct answers

  • A

    Singleton

  • B

    Factory Method

Question 22

+3 marksOne or more correct options

Consider creating a class named Employee which has the following mandatory attributes: employee id, employee name, employee salary, and optional attributes TA and HRA.
Which design pattern(s) can significantly reduce the complexity of the code due to the use of telescopic constructors?

Select all that apply.

  1. A

    Factory design pattern

  2. B

    Builder design pattern

  3. C

    Adapter design pattern

  4. D

    Facade design pattern

Show answer

Correct answer

  • B

    Builder design pattern