uiz Space

September 2024 term · Software Engineering · BSCS3001

Software Engineering Quiz 2: 1 December 2024, Set QIM2 (September 2024 term)

The IIT Madras BS Software Engineering (Software Engineering) Quiz 2 paper sat on 1 Dec 2024, in the September 2024 term, set QIM2: 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
20
MSQ
2

Updated

Official paper: IIT M IMPROVEMENT AN EXAM QIM2 01 Dec 2024 · No negative marking.

Question 1

+4 marksOne correct option

A software organization planned to develop a mobile application that can be used by any other organization for its employees to manage their leaves and holidays efficiently. The software organization interviewed employees from different organizations to collect requirements. In this case, which type of client is the software organization dealing with?

  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

  • A

    external user

Question 2

+4 marksOne correct option

A software company has implemented a website for a school. The website is given to the school faculty members to verify if the website meets the requirements provided by the school. The faculty members use the website and find that when they try to upload results of more than 1000 students, the website crashes. Which phase of the SDLC is the software 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

Consider the following two requirements for a school portal:
Requirement 1: The portal should allow bulk upload of the students' marks.
Requirement 2: The portal should allow a student to download his or her marksheet within 30 seconds. Which of the following statements 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 requirements are functional requirements.

  4. D

    Both 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 4

+4 marksOne correct option

Which of the following UML diagrams models flow of control among computational activities?

  1. A

    Class diagram

  2. B

    State machine view

  3. C

    Activity view

  4. D

    Interaction view

Show answer

Correct answer

  • C

    Activity view

Question 5

+4 marksOne correct option

Which of the following software can be used for sharing and maintaining code versions?

  1. A

    Vim

  2. B

    Git

  3. C

    Flask

  4. D

    Visual Studio Code

Show answer

Correct answer

  • B

    Git

Question 6

+4 marksOne correct option

A prototype is presented as a web application along with some fabricated data.
Determine the prototype type that has been provided.

  1. A

    Storyboards

  2. B

    Paper prototype

  3. C

    Digital mock-ups

  4. D

    Interactive prototype

Show answer

Correct answer

  • D

    Interactive prototype

Question 7

+5 marksOne correct option

Suppose the risk assessed for personnel shortfall in a given software project is 1.8. The probability that personnel shortage will occur during project development is 0.6. What is the impact of personnel shortage on the given project?

  1. A

    1.08

  2. B

    2

  3. C

    3

  4. D

    0.33

Show answer

Correct answer

  • C

    3

Question 8

+5 marksOne correct option

Consider a module Deque that maintains a doubly linked list. The module Deque has the following functions:
- push_back(e) : adds an element e at the back of the doubly linked list,
- push_front(e) : adds an element e at the front of the doubly linked list,
- pop_back(): removes an element from back of the doubly linked list,
- pop_front(): removes an element from front of the doubly linked list.
Identify the type of cohesion for the module Deque.

  1. A

    Sequential cohesion

  2. B

    Communicational cohesion

  3. C

    Procedural cohesion

  4. D

    Coincidental cohesion

Show answer

Correct answer

  • B

    Communicational cohesion

Question 9

+5 marksOne correct option

Match the following regarding the outcomes of software design process.

  1. A

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

  2. B

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

  3. C

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

  4. D

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

Show answer

Correct answer

  • D

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

Question 10

+5 marksOne correct option

Consider an eCommerce portal that has integrated a set of APIs to recommend products to customers based on their carts. Which of the following debugging strategies involves the task of searching the documentation and code examples to understand the correct use of the APIs?

  1. A

    Input manipulation

  2. B

    Backwards

  3. C

    Forwards

  4. D

    Blackbox debugging

Show answer

Correct answer

  • D

    Blackbox debugging

Question 11

+5 marksOne correct option

Consider the Python code below.

What is the cyclomatic complexity of this code?

  1. A

    2

  2. B

    3

  3. C

    4

  4. D

    5

Show answer

Correct answer

  • C

    4

Question 12

+5 marksOne correct option

Consider designing an online gift store that delivers various gift items in a variety of ways, such as direct pick-up from the store, delivery by its own logistics team, or delivery by other delivery partners. To support the delivery process, an interface DeliveryProcessing is being designed, which is further implemented by the classes that provide the implementation for specific delivery processes. The interface DeliveryProcessing specifies the methods to be implemented by any delivery class, and those are packageOrder(), notifyCustomer(), bookDeliveryPartner() and deliver(). The online gift store also has digital gift items like gift coupons, software games, etc., and for delivering these items, most of the methods in the interface DeliveryProcessing are not relevant. However, since the interface DeliveryProcessing needs to be implemented by any delivery class, delivery classes for digital gift items also need to implement the methods from DeliveryProcessing which are not at all relevant to those items.
Identify the SOLID principle that is missing from the design process.

  1. A

    Single responsibility principle

  2. B

    Open-close principle

  3. C

    Liskov substitution principle

  4. D

    Interface segregation principle

Show answer

Correct answer

  • D

    Interface segregation principle

Question 13

+5 marksOne correct option

An organization provides its employees with a mobile app that allows them to apply for leave. To select dates, it pops out a calendar; however, the calendar cannot highlight the holidays separately. As a result, there is a huge chance that an employee will apply for leaves on holidays. Which of the following heuristics of UI evaluation is missing in the mobile app?

  1. A

    Prevent errors

  2. B

    Recognition over recall

  3. C

    Provide help

  4. D

    Flexibility

Show answer

Correct answer

  • A

    Prevent errors

Question 14

+5 marksOne correct option

Suppose a job portal has a class Applicant for representing the candidates applying for jobs. Class Applicant has a few mandatory fields (like name, contact number, email) and a large number of optional fields (like experience, passport number, PAN number), which necessitates the designer to write a large number of constructors to instantiate the object of Applicant class (one constructor with only initializing all the mandatory fields and a number of constructors for different numbers and different combinations of optional fields along with all mandatory fields). Which of the following design patterns can be best suited for solving the problem of creating a large number of constructors?

  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 15

+6 marksOne correct option

A software company has to develop an automated gardening system to control soil moisture and other chemical components in soil. The developed software should be strongly coupled with the hardware, like sensors, controllers, motors, etc.
The values for the constants in the COCOMO model for the various types of projects are as follows: - Organic project: a = 2.4, b = 1.05
- Semi-detached project: a = 3.0, b = 1.12
- Embedded project: a = 3.6, b = 1.20
Given the source code of 1,00,000 lines and the developer's monthly salary of Rs. 50,000/-, what is the initial estimated cost for the project?

  1. A

    Rs. 2,61,50,000/-

  2. B

    Rs. 1,51,50,000/-

  3. C

    Rs. 5,67,00,000/-

  4. D

    Rs. 4,52,50,000/-

Show answer

Correct answer

  • D

    Rs. 4,52,50,000/-

Question 16

+5 marksOne or more correct options

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

Select all that apply.

  1. A

    It is very effective when the exact form of solution and technical issues are unclear about the software to be developed.

  2. B

    It is useful to get feedback from customers.

  3. C

    It reduces the overall development costs.

  4. D

    It ensures that no bugs will appear later in the development cycle.

Show answer

Correct answers

  • A

    It is very effective when the exact form of solution and technical issues are unclear about the software to be developed.

  • B

    It is useful to get feedback from customers.

Question 17

+5 marksOne or more correct options

Consider the activity network diagram for developing a food delivery mobile app as given below.

Select the correct observations for the given activity network.

Select all that apply.

  1. A

    Implementation of Text Management starts after the implementations of both User Interface and Database Schema are completed.

  2. B

    Implementation of Text Rendering starts after the implementation of both Load/Save document and Edit document.

  3. C

    The tasks Text Feature Management, Font Management and Color Management can be implemented simultaneously.

  4. D

    The tasks Font Management and Text Rendering can be implemented simultaneously.

Show answer

Correct answers

  • A

    Implementation of Text Management starts after the implementations of both User Interface and Database Schema are completed.

  • C

    The tasks Text Feature Management, Font Management and Color Management can be implemented simultaneously.

Question 18

+4 marksOne correct option

Consider a software organization developing an online gift shop where customers can place an order to send gifts to their friends and family members staying in the same city. The customers can select from a range of gifts and place an order. After placing the order, the store manager contacts the courier service provider via phone call to collect the item from the physical store and schedule delivery.
Based on the above data, answer the given subquestions.

Identify the most appropriate user type for the courier service provider.

  1. A

    Primary users

  2. B

    Secondary users

  3. C

    Tertiary users

  4. D

    Not a valid user

Show answer

Correct answer

  • C

    Tertiary users

Question 19

+4 marksOne correct option

Consider a software organization developing an online gift shop where customers can place an order to send gifts to their friends and family members staying in the same city. The customers can select from a range of gifts and place an order. After placing the order, the store manager contacts the courier service provider via phone call to collect the item from the physical store and schedule delivery.
Based on the above data, answer the given subquestions.

The developers of the online gift store want to explore the types of gift items to be kept in the catalog. Therefore, they want to gather responses for some specific questions from a large group of people. Which requirement gathering technique would be the most effective for this purpose?

  1. A

    Questionnaires

  2. B

    Interviews

  3. C

    Focus groups and workshops

  4. D

    Documentation

Show answer

Correct answer

  • A

    Questionnaires

Question 20

+4 marksOne correct option

Consider a software organization developing an online gift shop where customers can place an order to send gifts to their friends and family members staying in the same city. The customers can select from a range of gifts and place an order. After placing the order, the store manager contacts the courier service provider via phone call to collect the item from the physical store and schedule delivery.
Based on the above data, answer the given subquestions.

Consider a user story for the online gift shop that describes the following feature:
Feature 1: Search catalog and place order
However, it has been found that implementation of Feature 1 is not possible within one agile iteration. Therefore the Feature 1 is subdivided as follows:
Feature 1a: Search catalog and Feature 1b: Place order
Which of the SMART characteristics is fulfilled by the refinement?

  1. A

    Specific

  2. B

    Measurable

  3. C

    Achievable

  4. D

    Relevant

  5. E

    Time-bound

Show answer

Correct answer

  • C

    Achievable

Question 21

+4 marksOne correct option

A software company has plans to develop a web application and a mobile application that can assess equities and recommend their purchase or sale. Nevertheless, the product might not be competitive in the market due to the abundance of similar products that are already available. This is a potential risk associated with its development.
Based on the above data, answer the given subquestions.

Identify the type of the risk in the given scenario.

  1. A

    Technical risk

  2. B

    Project risk

  3. C

    Business risk

  4. D

    None of these

Show answer

Correct answer

  • C

    Business risk

Question 22

+4 marksOne correct option

A software company has plans to develop a web application and a mobile application that can assess equities and recommend their purchase or sale. Nevertheless, the product might not be competitive in the market due to the abundance of similar products that are already available. This is a potential risk associated with its development.
Based on the above data, answer the given subquestions.

Choose the correct option that specifies how the risk can be mitigated.

  1. A

    By hiring developers with relevant experience within the company and/or outside the company, or outsource certain things to some third party vendors.

  2. B

    By benchmarking and regular inspection to verify that the external component is up to the mark.

  3. C

    Explore market for similar products.

  4. D

    By communicating with clients or build prototype to collect clients feedback

Show answer

Correct answer

  • C

    Explore market for similar products.