Quiz Space

September 2024 term · Software Engineering · BSCS3001

Software Engineering End Term: 22 December 2024, Set QDB3 (September 2024 term)

The IIT Madras BS Software Engineering (Software Engineering) End Term paper sat on 22 Dec 2024, in the September 2024 term, set QDB3: 30 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
30
Marks
100
Duration
180 min
MCQ
25
MSQ
5

Updated

Official paper: IIT M DEGREE AN EXAM QDB3 22 Dec 2024 · No negative marking.

Question 1

+3 marksOne correct option

In which of the following types of testing is the fully integrated system tested by the test team within the organization?

  1. A

    Integration testing

  2. B

    Acceptance testing

  3. C

    Alpha testing

  4. D

    Beta testing.

Show answer

Correct answer

  • C

    Alpha testing

Question 2

+3 marksOne correct option

Consider a function that takes two strings as input and compares the length of two strings. If the lengths of the strings are equal, it returns 0. If the length of the first string is greater than that of the second string, it returns a positive integer. If the length of the first string is less than that of the second string, it returns a negative integer.
Identify the number of equivalence classes for black box testing of the program discussed above.

  1. A

    2

  2. B

    3

  3. C

    4

  4. D

    5

Show answer

Correct answer

  • B

    3

Question 3

+3 marksOne correct option

Which deployment strategy gradually rolls out changes to a small subset of users?

  1. A

    Blue/Green Deployment

  2. B

    Canary Deployment

  3. C

    Versioned Deployment

  4. D

    None of these

Show answer

Correct answer

  • B

    Canary Deployment

Question 4

+3 marksOne correct option

Suppose you are planning to deploy a data-intensive analytics application. Your main priority is scalability to handle fluctuating workloads, and you prefer a pay-as-you-go pricing model without managing the underlying hardware (but you want control of the software layer). Which of the following hosting options will be most suitable for you?

  1. A

    Bare metal servers

  2. B

    Infrastructure-as-a-service

  3. C

    Platform-as-a-service

  4. D

    Software-as-a-service

Show answer

Correct answer

  • B

    Infrastructure-as-a-service

Question 5

+3 marksOne correct option

Which of the following strategies uses tools like Memcached and Redis to improve the performance of web applications?

  1. A

    Caching

  2. B

    Task queues

  3. C

    Loading and rendering pages

  4. D

    Monitoring

Show answer

Correct answer

  • A

    Caching

Question 6

+3 marksOne correct option

A software organization wants to use a tool that enables all team members to get both a big- picture view and a detailed view of progress. What kind of tool can the organization use?

  1. A

    Project management tools

  2. B

    Development tools

  3. C

    Knowledge-sharing tools

  4. D

    None of these

Show answer

Correct answer

  • A

    Project management tools

Question 7

+3 marksOne correct option
  1. A

    Data coupling

  2. B

    Control coupling

  3. C

    Common coupling

  4. D

    Content coupling

Show answer

Correct answer

  • C

    Common coupling

Question 8

+3 marksOne correct option

You have designed software in which each module is responsible for performing varied operations, and a significant amount of data is exchanged between modules.
Identify the types of cohesion and coupling in the designed software.

  1. A

    Low cohesion and low coupling

  2. B

    Low cohesion and high coupling

  3. C

    High cohesion and low coupling

  4. D

    High cohesion and high coupling

Show answer

Correct answer

  • B

    Low cohesion and high coupling

Question 9

+3 marksOne correct option

Which software metric determines the quality of the code based on the number of operands and operations involved?

  1. A

    Cyclomatic Complexity

  2. B

    Raw Metrics

  3. C

    Halstead’s Metrics

  4. D

    All of these

Show answer

Correct answer

  • B

    Raw Metrics

Question 10

+3 marksOne correct option

Consider analyzing a program to identify performance bottlenecks by measuring the time taken by each function or the frequency of function calls during execution.
What type of debugging or analysis technique is used in this case?

  1. A

    Logging

  2. B

    Dump and diff

  3. C

    Stepping in debugger

  4. D

    Profiling tool

Show answer

Correct answer

  • D

    Profiling tool

Question 11

+3 marksOne correct option

Match the following.

  1. A

    1-B, 2-D, 3-C, 4-A

  2. B

    1-B, 2-D, 3-A, 4-C

  3. C

    1-C, 2-A, 3-D, 4-B

  4. D

    1-C, 2-A, 3-B, 4-D

Show answer

Correct answer

  • D

    1-C, 2-A, 3-B, 4-D

Question 12

+3 marksOne correct option

Which of the following risks arises when the development team has insufficient knowledge of the product?

  1. A

    Technical risks

  2. B

    Project risks

  3. C

    Business risks

  4. D

    None of these

Show answer

Correct answer

  • A

    Technical risks

Question 13

+3 marksOne correct option

In the Scrum framework, what does velocity mean?

  1. A

    Number of user stories completed per iteration/sprint

  2. B

    Number of user stories completed for all the sprints

  3. C

    Number of points per iteration/sprint

  4. D

    Amount of effort for each user story

Show answer

Correct answer

  • C

    Number of points per iteration/sprint

Question 14

+3 marksOne correct option

Which SMART characteristic specifies that a user story should provide business value to at least one stakeholder?

  1. A

    Measurable

  2. B

    Achievable

  3. C

    Relevant

  4. D

    Timeboxed

Show answer

Correct answer

  • C

    Relevant

Question 15

+4 marksOne correct option

Consider the Python code below.

Identify the number of linearly independent paths to be tested for path coverage.

  1. A

    2

  2. B

    3

  3. C

    4

  4. D

    5

Show answer

Correct answer

  • C

    4

Question 16

+4 marksOne correct option

Consider the Python code below.

Identify the set of valid test cases that provides multiple condition coverage.

  1. A

    {password = "ab", password = "abcd", password = "abcdef"}

  2. B

    {password = "ab", password = "abcdefghi", password = "abcdef"}

  3. C

    {password = "ab", password = "abcdefghi", password = "", password = "abcd"}

  4. D

    {password = "ab", password = "abcdefghi", password = "abcdef", password = "abcd"}

Show answer

Correct answer

  • D

    {password = "ab", password = "abcdefghi", password = "abcdef", password = "abcd"}

Question 17

+4 marksOne correct option

In a data processing application, raw sensor data is collected and passed through a series of stages: first, the data is cleaned, then it is normalized, after which statistical analyses are performed, and finally, visualizations are generated. Each stage processes the output from the previous stage and passes it to the next.
Which type of architecture is used in this data processing application?

  1. A

    Client-server

  2. B

    Pipe and filter

  3. C

    Model-view-controller

  4. D

    Peer-to-peer

Show answer

Correct answer

  • B

    Pipe and filter

Question 18

+4 marksOne correct option
  1. A

    Builder design pattern

  2. B

    Facade design pattern

  3. C

    Adapter design pattern

  4. D

    Strategy design pattern

Show answer

Correct answer

  • D

    Strategy design pattern

Question 19

+4 marksOne correct option
  1. A

    Open-Closed principle

  2. B

    Liskov substitution principle

  3. C

    Interface segregation principle

  4. D

    Dependency inversion principle

Show answer

Correct answer

  • C

    Interface segregation principle

Question 20

+4 marksOne correct option

Consider the following information available for risk assessment of a project.

Which of the following risks is most probable to occur in the given project?

  1. A

    Schedule Slippage

  2. B

    Gold plating

  3. C

    Shortcomings in external components

  4. D

    Insufficient domain knowledge

Show answer

Correct answer

  • D

    Insufficient domain knowledge

Question 21

+4 marksOne correct option

Consider a project management tool that allows users to create and manage tasks. The interface provides multiple ways to interact with the system: users can add tasks via a detailed form, use drag-and-drop functionality to create tasks on a visual board, or use keyboard shortcuts for quick task entry. Advanced users can also customize their workspace layout and save presets for different project types.
Which of the following UI evaluation heuristics is demonstrated in this scenario?

  1. A

    Freedom

  2. B

    Flexibility

  3. C

    Prevent error

  4. D

    Provide help

Show answer

Correct answer

  • B

    Flexibility

Question 22

+4 marksOne correct option

An event planning app allows users to organize schedules, send invites, and track RSVPs. However, the app uses a very unique set of icons and labels for its features, which are hard to recall for users who don’t use the app frequently. Users often struggle to access key features or complete tasks like editing guest lists or viewing event details after not using the app for a while. What kind of usability goal is missing from the mobile app?

  1. A

    Efficiency

  2. B

    Memorability

  3. C

    Safety

  4. D

    Learnability

Show answer

Correct answer

  • B

    Memorability

Question 23

+4 marksOne correct option

A startup developing a fitness center management platform studies daily gym operations to understand how staff manage memberships, schedule personal training sessions, and track equipment usage. The goal is to identify issues such as overlapping schedules, missed booking notifications, or difficulties updating member profiles.
Identify the type of requirement collection technique used in the given scenario.

  1. A

    Questionnaires

  2. B

    Interviews

  3. C

    Focus Groups

  4. D

    Naturalistic Observations

Show answer

Correct answer

  • D

    Naturalistic Observations

Question 24

+3 marksOne or more correct options

Which of the following is/are true about designing test cases for blackbox testing?

Select all that apply.

  1. A

    Test cases are designed to examine only the input and output values.

  2. B

    Designing test cases necessitates access to the source code.

  3. C

    No knowledge of the underlying design or code required

  4. D

    The structure of the program needs to be analyzed using some heuristics.

Show answer

Correct answers

  • A

    Test cases are designed to examine only the input and output values.

  • C

    No knowledge of the underlying design or code required

Question 25

+3 marksOne or more correct options

Select all that apply.

  1. A

    Developers commit the code to a continuous integration server.

  2. B

    After each commit, the continuous integration server pulls the new code from the version control system.

  3. C

    The code pulled from the version control system is built and tested on the continuous integration server.

  4. D

    The code is finally built, tested, and deployed by the continuous integration server.

Show answer

Correct answers

  • B

    After each commit, the continuous integration server pulls the new code from the version control system.

  • C

    The code pulled from the version control system is built and tested on the continuous integration server.

Question 26

+3 marksOne or more correct options

Which of the following is/are the primary task/s of sales team in a software organization?

Select all that apply.

  1. A

    Conduct market research and look for opportunities in the market

  2. B

    Sell the product it to users that marketing team has identified

  3. C

    Resolving interpersonal conflict between engineers

  4. D

    Provide feedback to marketing, product, and design teams regarding the product, which engineers then address.

Show answer

Correct answers

  • B

    Sell the product it to users that marketing team has identified

  • D

    Provide feedback to marketing, product, and design teams regarding the product, which engineers then address.

Question 27

+3 marksOne or more correct options

In today's world, where software development occurs in distributed environments, it is crucial for developers to create precise interface definitions. Based on the provided options, which statement(s) regarding interface definitions is/are correct?

Select all that apply.

  1. A

    It describes the capabilities of a function.

  2. B

    It provides the implementation details of a function.

  3. C

    It tells which requests are allowed and how the output will be formatted.

  4. D

    The code implementing the interface should remain unchanged until the interface remains the same.

Show answer

Correct answers

  • A

    It describes the capabilities of a function.

  • C

    It tells which requests are allowed and how the output will be formatted.

Question 28

+4 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • B
  • C

Question 29

+4 marksOne correct option

A company has been assigned the development of a smart home controller system. This controller is designed to centralize and integrate multiple devices, including lighting, HVAC systems (Heating, Ventilation, and Air Conditioning), and security cameras. The project requires creating both hardware-specific drivers and application-level software to enable smooth and efficient operation. The values for the constants in the COCOMO model for the different types of projects are as follows:

Based on the above data, answer the given subquestions.

Considering that the source code is 1,00,000 lines, what is the initial estimated effort for the project?

  1. A

    303 person-month

  2. B

    208 person-month

  3. C

    522 person-month

  4. D

    905 person-month

Show answer

Correct answer

  • D

    905 person-month

Question 30

+2 marksOne correct option

A company has been assigned the development of a smart home controller system. This controller is designed to centralize and integrate multiple devices, including lighting, HVAC systems (Heating, Ventilation, and Air Conditioning), and security cameras. The project requires creating both hardware-specific drivers and application-level software to enable smooth and efficient operation. The values for the constants in the COCOMO model for the different types of projects are as follows:

Based on the above data, answer the given subquestions.

Considering the effort adjustment factor is 1.62, what is the final estimated effort for the project?

  1. A

    1467 person-month

  2. B

    491 person-month

  3. C

    524 person-month

  4. D

    907 person-month

Show answer

Correct answer

  • A

    1467 person-month