Quiz Space

May 2023 term · Software Engineering · BSCS3001

Software Engineering End Term: 3 September 2023, Set QPE1-S2 (May 2023 term)

The IIT Madras BS Software Engineering (Software Engineering) End Term paper sat on 3 Sept 2023, in the May 2023 term, set QPE1-S2: 25 questions for 50 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
50
Duration
180 min
MCQ
21
MSQ
4

Updated

Official paper: IIT M DEGREE ET1 EXAM QPE1 S2 03 Sep · No negative marking.

Question 1

+1 markOne correct option

Which of the following teams in a software organization is primarily responsible for creating prototypes for the software products after detail communication with the clients?

  1. A

    Sales team

  2. B

    Designers

  3. C

    Engineering managers

  4. D

    Data scientists

Show answer

Correct answer

  • B

    Designers

Question 2

+1 markOne correct option

Which of the deployment environments exactly resembles the production environment and is used for testing the web application for its performance before it goes live?

  1. A

    Development

  2. B

    Testing

  3. C

    Staging

  4. D

    Production

Show answer

Correct answer

  • C

    Staging

Question 3

+1 markOne correct option

Which of the following debugging strategies involves changing inputs and observing differences in output to identify issues in the code?

  1. A

    Input manipulation

  2. B

    Backwards debugging

  3. C

    Forwards debugging

  4. D

    Blackbox debugging

Show answer

Correct answer

  • A

    Input manipulation

Question 4

+1 markOne correct option

Which of the following hosting options has no requirement to purchase the entire server hardware and therefore involves no maintenance overhead; however, it does not provide the software layer for hosting the web app?

  1. A

    Bare Metal Servers

  2. B

    Infrastructure-as-a-service

  3. C

    Platform-as-a-service

  4. D

    None of these

Show answer

Correct answer

  • B

    Infrastructure-as-a-service

Question 5

+1 markOne correct option

Which type of software testing is carried out before the initial system testing to check whether the basic functionalities are working with a few basic test cases?

  1. A

    Alpha testing

  2. B

    Beta testing

  3. C

    Smoke testing

  4. D

    Stress testing

Show answer

Correct answer

  • C

    Smoke testing

Question 6

+1 markOne correct option

What is the main advantage of using paper prototyping?

  1. A

    It provides an actual functioning version of the software.

  2. B

    It allows for comprehensive testing of complex algorithms.

  3. C

    It facilitates early and inexpensive validation of user interface designs.

  4. D

    It automates the process of user feedback collection.

Show answer

Correct answer

  • C

    It facilitates early and inexpensive validation of user interface designs.

Question 7

+1 markOne correct option

What kind of debugging technique involves different tools to compare the logging data between different executions of the program under test?

  1. A

    Logging

  2. B

    Dump & diff

  3. C

    Stepping in debugger

  4. D

    Profiling tool

Show answer

Correct answer

  • B

    Dump & diff

Question 8

+2 marksOne correct option

In a software project, the project management team has identified a potential risk of personnel shortfall with a probability (P) of 0.7 and an impact (I) of 2. Assess the risk associated with the project due to personnel shortfall.
Choose the correct option.

  1. A

    3.5

  2. B

    0.35

  3. C

    1.4

  4. D

    2.86

Show answer

Correct answer

  • C

    1.4

Question 9

+2 marksOne correct option

An software organization wants to reuse the knowledge of one project, in another project, and it is possible if the knowledge is documented and archive properly. Which kind of tools can be used by the organization?

  1. A

    Project management tools

  2. B

    Development tools

  3. C

    Knowledge-sharing tools

  4. D

    None of these

Show answer

Correct answer

  • C

    Knowledge-sharing tools

Question 10

+2 marksOne correct option

Consider a messaging platform where users can directly exchange messages with each other without relying on a central server. Each user's device acts as both a sender and a receiver of messages, and the communication is decentralized.
Determine the type of software architecture this messaging platform uses.

  1. A

    Client-server architecture

  2. B

    Event-driven architecture

  3. C

    Layered architecture

  4. D

    Peer-to-peer architecture

Show answer

Correct answer

  • D

    Peer-to-peer architecture

Question 11

+2 marksOne correct option

In which of the scrum activities, the scrum team demonstrates what tasks they have completed so that those tasks can be removed from the To-Do list or In-Progress list to the Done list?

  1. A

    Sprint Planning

  2. B

    Daily Scrum Meeting

  3. C

    Sprint Review

  4. D

    Sprint Retrospective

Show answer

Correct answer

  • C

    Sprint Review

Question 12

+2 marksOne correct option

An organization came up with a mobile app for employees to report their day-to-day tasks to the corresponding managers. However, the employees find the mobile app very difficult to use. They have to go thought the manual page first in order to properly utilize the app.
What kind of usability goal is missing from the mobile app?

  1. A

    Efficiency

  2. B

    Safe to use

  3. C

    Learnability

  4. D

    Memorability

Show answer

Correct answer

  • C

    Learnability

Question 13

+2 marksOne correct option

Suppose a mobile app has a feature using which a customer can pay any credit card bill. The customer has to provide only the credit card number as input. However, the mobile app prompt its customer to enter the credit card number twice to confirm that customer does not make a mistake while typing the number.
Which of the following heuristics of UI evaluation is fulfilled in this case?

  1. A

    Flexibility

  2. B

    Prevent error

  3. C

    Support error recovery

  4. D

    Provide help

Show answer

Correct answer

  • B

    Prevent error

Question 14

+2 marksOne correct option

Identify the type of requirement gathering technique that is most suitable when it's necessary to reach some consensus about the requirements and also to point out any areas of disagreement.

  1. A

    Questionnaires

  2. B

    Interviews

  3. C

    Focus group

  4. D

    Documentations

Show answer

Correct answer

  • C

    Focus group

Question 15

+3 marksOne correct option

An e-commerce company is preparing to launch a major update to its mobile app. To ensure a smooth transition, they have set up a separate environment with the new version of the app. This environment will undergo thorough testing and validation before directing a portion of the user traffic to the new version.
Once the testing is successful, slowly roll out the change to a small subset of users.
Which software deployment strategy is being implemented in this scenario?

  1. A

    Canary deployment

  2. B

    Red/Black deployment

  3. C

    Incremental deployment

  4. D

    None of these

Show answer

Correct answer

  • A

    Canary deployment

Question 16

+3 marksOne correct option

Consider the following code base in Python.

Identify the set of valid test cases for black box testing using the equivalence class technique.

  1. A

    {income = 0, income = 150000}

  2. B

    {income = -100, income = 0, income = 150000}

  3. C

    {income = -100, income = 100000, income = 250000}

  4. D

    {income = 0, income = 100000, income = 150000, income = 250000}

Show answer

Correct answer

  • C

    {income = -100, income = 100000, income = 250000}

Question 17

+3 marksOne correct option

Suppose an online bookshop application has two modules: Customer and Product. Customer module has functions focusing only on all customer-related tasks, like customer registration, customer profile update, etc., while the Product module has functions focusing only on the tasks related to the products, like adding a new product, updating product information, removing a product, etc. Furthermore, the two classes Customer and Product need minimum interaction since they share very small amounts of data.
Identify the type of coupling and cohesion for modules Customer and Product.

  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

  • C

    High cohesion and low coupling

Question 18

+3 marksOne correct option

An organization has planned to develop a web application in which a user can upload any English text. The web application applies paraphrasing and some other techniques to convert it into a kind of English text that can be understood by anyone with knowledge of elementary English. The entire task of the web application is divided into different modules, and interactions between different modules are outlined.
In which phase of the SDLC process 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

  • C

    Design phase

Question 19

+3 marksOne correct option
  1. A

    Adapter design pattern

  2. B

    Iterator design pattern

  3. C

    Observer design pattern

  4. D

    Strategy design pattern

Show answer

Correct answer

  • D

    Strategy design pattern

Question 20

+2 marksOne correct option

Consider an organization developing a portal for a school. The developer team has developed some features that were not specified by the client, and developing these
extra features has cost the organization extra budget and time.
Based on the above data, answer the given subquestions.

What kind of risk is it?

  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 21

+2 marksOne correct option

Consider an organization developing a portal for a school. The developer team has developed some features that were not specified by the client, and developing these
extra features has cost the organization extra budget and time.
Based on the above data, answer the given subquestions.

How this risk can be mitigated?

  1. A

    By building prototypes and communicating with clients

  2. B

    By hiring developers with relevant experience, within the company, outside the company

  3. C

    By providing training to multiple people with the skills required to work on the project

  4. D

    By performing appropriate cost-benefit analysis and communicating with clients

Show answer

Correct answer

  • D

    By performing appropriate cost-benefit analysis and communicating with clients

Question 22

+1 markOne or more correct options

Which of the integration testing approaches do/does not require the use of stubs and drivers?

Select all that apply.

  1. A

    Big bang approach

  2. B

    Bottom up approach

  3. C

    Top down approach

  4. D

    Mixed approach

Show answer

Correct answer

  • A

    Big bang approach

Question 23

+3 marksOne or more correct options

Which of the following is/are the benefits of continuous integration?

Select all that apply.

  1. A

    Reduces deployment time

  2. B

    Initially, less effort is required to set up processes users

  3. C

    Users can see an initial prototype

  4. D

    It pushes the developers to create modular code

Show answer

Correct answers

  • A

    Reduces deployment time

  • C

    Users can see an initial prototype

  • D

    It pushes the developers to create modular code

Question 24

+3 marksOne or more correct options

Consider the following code base in Python.

Identify the set/sets of valid test cases for branch coverage.

Select all that apply.

  1. A

    {passcode = "25", passcode = "2341234568"}

  2. B

    {passcode = "25", passcode = "123425", passcode = "2341234568"}

  3. C

    {passcode = "25", passcode = "123425", passcode = "2341"}

  4. D

    {passcode = "25", passcode = "123425", passcode = "2341", passcode = "2341234568"}

Show answer

Correct answers

  • C

    {passcode = "25", passcode = "123425", passcode = "2341"}

  • D

    {passcode = "25", passcode = "123425", passcode = "2341", passcode = "2341234568"}

Question 25

+3 marksOne or more correct options

Which of the following is/are true about the class diagram?

Select all that apply.

  1. A

    There is an inheritance relation between class Product and Order

  2. B

    There is an inheritance relation between class Book and Product

  3. C

    There is a composition relation between class Order and Product

  4. D

    There is a composition relation between class Customer and Order

Show answer

Correct answers

  • B

    There is an inheritance relation between class Book and Product

  • C

    There is a composition relation between class Order and Product