uiz Space

May 2024 term · Software Engineering · BSCS3001

Software Engineering Quiz 2: 4 August 2024 (May 2024 term)

The IIT Madras BS Software Engineering (Software Engineering) Quiz 2 paper sat on 4 Aug 2024, in the May 2024 term: 22 questions for 100 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
100
Duration
120 min
MCQ
18
MSQ
4

Updated

Official paper: IIT M DEGREE AN EXAM QDB2 4 Aug 2024 · No negative marking.

Question 1

+4 marksOne correct option

An organization is developing a web service that monitors online traffic and user activity to gain valuable insights and assist businesses in making data-driven decisions. On a rental basis, the web service can be integrated into any website to provide the given services.
Determine the client type for the web service discussed above.

  1. A

    External user

  2. B

    Internal user

  3. C

    A software or a software component.

  4. D

    None of these

Show answer

Correct answer

  • C

    A software or a software component.

Question 2

+4 marksOne correct option

An organization has developed a web application that enables conversion between various document formats. Before releasing to the general public, the web application is given to a pre- defined set of customers. The customers discovered an error: if characters such as '%' and '&' are used in the document, the application fails and exposes some part of the source code to the user. Which phase of SDLC is the web application currently in?

  1. A

    Requirement gathering

  2. B

    Development phase

  3. C

    Design phase

  4. D

    Testing phase

  5. E

    Maintenance phase

Show answer

Correct answer

  • D

    Testing phase

Question 3

+4 marksOne correct option

A software organization gathers requirements to develop an e-shopping application and is therefore planning to interview independent sellers to understand what sort of products they are selling. A fixed set of questions is prepared for the interview, which will be asked of the sellers. Identify the type of interview.

  1. A

    Structured interview

  2. B

    Semistructured interview

  3. C

    Unstructured interview

  4. D

    Questionnaires

Show answer

Correct answer

  • A

    Structured interview

Question 4

+4 marksOne correct option

Consider building a portal for an educational institute which has the following two requirements: Requirement 1: Students must be authenticated by verifying their login credentials, as well as the OTP issued to their registered mobile number, to log into the system.
Requirement 2: The OTPs should be sent with a latency of no more than 2 minutes after such an activity.
Which of the following statement is true.

  1. A

    Requirement 1 is a functional requirement, whereas Requirement 2 is a non functional requirement.

  2. B

    Requirement 2 is a functional requirement, whereas Requirement 1 is a non functional requirement.

  3. C

    Both the requirements are functional requirements.

  4. D

    Both the requirements are non functional requirements.

Show answer

Correct answer

  • A

    Requirement 1 is a functional requirement, whereas Requirement 2 is a non functional requirement.

Question 5

+4 marksOne correct option

Consider an email application with features like compose email, navigate inbox, etc. However, the application has a limitation: if the user closes the application while composing the email, the drafted email will be discarded automatically.
Which of the following usability goals is not fulfilled by the email application?

  1. A

    Effectiveness

  2. B

    Efficiency

  3. C

    Safe to use

  4. D

    Learnability

  5. E

    Memorability

Show answer

Correct answer

  • C

    Safe to use

Question 6

+4 marksOne correct option

Gold plating is considered a business risk. -- What does "gold plating" mean in the given context?

  1. A

    The developers do not have the required skills to work in the given project.

  2. B

    The software product developed is not competitive in the market.

  3. C

    The developer team is involved in developing unnecessary features in the software.

  4. D

    A project cannot be completed with in the estimated budget.

Show answer

Correct answer

  • C

    The developer team is involved in developing unnecessary features in the software.

Question 7

+4 marksOne correct option

Which of the following provides the definition of an "interface" in the context of the outcomes of software design?

  1. A

    It should accomplish a well-defined task.

  2. B

    It enables communication between the components.

  3. C

    It enables efficient storing and managing data.

  4. D

    It is required to implement individual component.

Show answer

Correct answer

  • B

    It enables communication between the components.

Question 8

+4 marksOne correct option

Consider a module with a set of functions that execute in a sequence; however, they work towards entirely different purposes.
Identify the kind of cohesion in the given module.

  1. A

    Sequential cohesion

  2. B

    Procedural cohesion

  3. C

    Communicational cohesion

  4. D

    Coincidental cohesion

Show answer

Correct answer

  • B

    Procedural cohesion

Question 9

+4 marksOne correct option

Which of the following correctly describes the term "debugging"?

  1. A

    It is the discrepancy between the actual behavior and the intended behavior of a program.

  2. B

    It is an incorrect output or an exception generated by a program.

  3. C

    It is the line of the code where the error occurred.

  4. D

    It is a process of determining the cause of failure in a program.

Show answer

Correct answer

  • D

    It is a process of determining the cause of failure in a program.

Question 10

+4 marksOne or more correct options

Which of the following is/are the advantage(s) of prototype model for software development?

Select all that apply.

  1. A

    It provides an early view of the product.

  2. B

    The prototypes are also delivered to the clients along with the actual product, which enables better verification of the system.

  3. C

    It enables early rectification of the requirements.

  4. D

    It reduces the cost of development significantly.

Show answer

Correct answers

  • A

    It provides an early view of the product.

  • C

    It enables early rectification of the requirements.

Question 11

+4 marksOne or more correct options

Consider the activity network diagram as follows:

Select the dependencies which are true from the given activity network.

Select all that apply.

  1. A

    The tasks User interface and Database schema both can be done
    simultaneously.

  2. B

    The task Search and download results can start when the task Result management is completed.

  3. C

    The task Students support system can start when the task Result management is completed.

  4. D

    The task Students record management can start only when the tasks Result management and Students' authentication both are completed.

Show answer

Correct answers

  • A

    The tasks User interface and Database schema both can be done
    simultaneously.

  • C

    The task Students support system can start when the task Result management is completed.

Question 12

+5 marksOne or more correct options

Given that software development predominantly occurs in a distributed setting, it is essential for the developer to compose precise interface specifications.
Which of the following is/are the advantage(s) of using interfaces?

Select all that apply.

  1. A

    It describes the capabilities of the functions written by other developers.

  2. B

    It provides the implementation details of the functions written by other developers.

  3. C

    Until the interface is changed, it does not allow any changes to the code implementation.

  4. D

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

Show answer

Correct answers

  • A

    It describes the capabilities of the functions written by other developers.

  • D

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

Question 13

+5 marksOne or more correct options

Select all that apply.

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

Correct answers

  • C
  • D

Question 14

+5 marksOne correct option
  1. A

    Specific

  2. B

    Measurable

  3. C

    Achievable

  4. D

    Relevant

  5. E

    Timeboxed

Show answer

Correct answer

  • B

    Measurable

Question 15

+5 marksOne correct option

Consider a web application that enables you to search, compare and purchase various stationary items. However, to avail any of these functionalities the user has to register and sign in to the web application.
Which of the following design heuristics is missing in the given web application?

  1. A

    Freedom

  2. B

    Flexibility

  3. C

    Recognition over recall

  4. D

    Show status

Show answer

Correct answer

  • A

    Freedom

Question 16

+5 marksOne correct option
  1. A

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

  2. B

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

  3. C

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

  4. D

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

Show answer

Correct answer

  • B

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

Question 17

+5 marksOne correct option

A developer team has used some components during the development for which they do not have access to the source code (only binaries are available). Therefore, for debugging they explore the documentation and code examples to understand the correct use of the components' code. Which of the following debugging strategies is used by the developer scheme?

  1. A

    Input manipulation

  2. B

    Backwards

  3. C

    Forwards

  4. D

    Blackbox debugging

Show answer

Correct answer

  • D

    Blackbox debugging

Question 18

+5 marksOne correct option

Consider the design of an online shop that sells computers, laptops, and related accessories, along with software licenses. All products other than software licenses are delivered by its delivery partners, while software licenses are delivered online. The design has an interface iDelivery, which is implemented by different kinds of delivery classes. However, during the process of implementing the online delivery class, the developers discovered that many of the functions declared by iDelivery were not relevant to online delivery. However, since they implement iDelivery, they are forced to implement those functions that are not relevant.
Identify the SOLID principle that is not fulfilled by the design.

  1. A

    Single responsibility principle

  2. B

    Open-close principle

  3. C

    Liskov substitution principle

  4. D

    Interface segregation principle

  5. E

    Dependency inversion principle

Show answer

Correct answer

  • D

    Interface segregation principle

Question 19

+5 marksOne correct option
  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

Question 20

+6 marksOne correct option

A software company has to develop a mobile app that lets its users buy and sell used electronics. The requirements for the app are clearly understood, and the developer team size is small and consists of experienced developers.
The values for the constants in the COCOMO model for the different types of the project are as follows:

Consider the source code of 1,00,000 lines.
Based on the above data answer the given subquestions.

What is the initial estimated effort for the project?

  1. A

    303 person-month

  2. B

    426 person-month

  3. C

    522 person-month

  4. D

    905 person-month

Show answer

Correct answer

  • A

    303 person-month

Question 21

+4 marksOne correct option

A software company has to develop a mobile app that lets its users buy and sell used electronics. The requirements for the app are clearly understood, and the developer team size is small and consists of experienced developers.
The values for the constants in the COCOMO model for the different types of the project are as follows:

Consider the source code of 1,00,000 lines.
Based on the above data answer the given subquestions.

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

  1. A

    305 person-month

  2. B

    570 person-month

  3. C

    907 person-month

  4. D

    982 person-month

Show answer

Correct answer

  • B

    570 person-month

Question 22

+6 marksOne correct option
  1. A

    2

  2. B

    3

  3. C

    4

  4. D

    5

Show answer

Correct answer

  • D

    5