MauryaHub PYQ Practice

Software Engineering · Quiz 2 · Jan 2025

Software Engineering · Quiz 2 · Jan 2025

← Course papers · Start practice / exam

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

24 / 24 published solutions

Question 20 MCQ · 4.0 marks

Which of the following is **not** an Integrated Development Environment (IDE)?
6406533952379.
Visual Studio Code
6406533952380.
PyCharm
6406533952381.
Thonny
6406533952382.
TextEdit (Mac)

Published solution

An **Integrated Development Environment (IDE)** provides comprehensive facilities for software development, typically including a source code editor, build automation tools, and an integrated debugger. - **PyCharm**, **Thonny**, and **Visual Studio Code** (with extensions) provide code editing, execution, and debugging environments. - **TextEdit (Mac)** is a simple built-in plain text and rich text editor/word processor for macOS and is **not** an IDE. **Answer: D (TextEdit (Mac))** A: **Incorrect:** Visual Studio Code is a widely used source-code editor/development environment with integrated debugging and build tools. B: **Incorrect:** PyCharm is a dedicated Python Integrated Development Environment (IDE) developed by JetBrains. C: **Incorrect:** Thonny is a beginner-friendly Python Integrated Development Environment (IDE). D: **Correct:** TextEdit is a basic macOS text editor, not an Integrated Development Environment.

Report a correction for Q20

Question 21 MCQ · 4.0 marks

Source diagram or notation
6406533952383.
Statement 1 is correct, Statement 2 is incorrect.
6406533952384.
Statement 1 is incorrect, Statement 2 is correct.
6406533952385.
Both statements are correct.
6406533952386.
Both statements are incorrect.

Published solution

Let us evaluate both statements about Git commands: - **Statement 1**: `git pull` fetches changes from the remote repository and automatically merges them into the current local branch (equivalent to `git fetch` followed by `git merge`). Thus, **Statement 1 is correct**. - **Statement 2**: `git fetch` only downloads commits, files, and refs from the remote repository into your local repository's remote-tracking branches; it **does not** automatically merge them into your current working branch. Thus, **Statement 2 is incorrect**. **Answer: A (Statement 1 is correct, Statement 2 is incorrect.)** A: **Correct:** `git pull` fetches and merges automatically, whereas `git fetch` only retrieves changes without merging. B: **Incorrect:** Statement 1 is true and Statement 2 is false. C: **Incorrect:** Statement 2 is false because `git fetch` never automatically merges into the current branch. D: **Incorrect:** Statement 1 accurately describes `git pull`.

Report a correction for Q21

Question 22 MCQ · 4.0 marks

A software engineer is working on fixing an issue with a third-party payment processing service in an e-commerce platform. To identify the problem, the engineer starts by reviewing the API documentation, example codes, etc.. Which of the following debugging strategies is being used by the engineer?
6406533952391.
Input manipulation
6406533952392.
Backwards strategy
6406533952393.
Forwards strategy
6406533952394.
Blackbox debugging

Published solution

Because the payment processing service is a **third-party component**, the engineer does not have access to its internal source code and must diagnose the integration issue by examining external specifications, API documentation, inputs/outputs, and example usage. This approach is called **blackbox debugging**. **Answer: D (Blackbox debugging)** A: **Incorrect:** Input manipulation involves systematically varying inputs to observe output changes rather than reviewing API documentation. B: **Incorrect:** Backwards debugging traces program execution backward from the point of failure through internal source code. C: **Incorrect:** Forwards debugging traces program state forward from an initial input through internal code statements. D: **Correct:** Investigating a third-party service via its external API documentation and examples without inspecting its internal code is blackbox debugging.

Report a correction for Q22

Question 23 MCQ · 4.0 marks

A hiring manager is conducting an interview with a candidate. Instead of following a predefined set of questions, the manager asks open-ended questions and adapts the follow-up questions based on the candidate's responses, allowing for a free-flowing conversation. Which type of interview is the manager conducting?
6406533952395.
Structured interview
6406533952396.
Semistructured interview
6406533952397.
Unstructured interview
6406533952398.
Questionnaires

Published solution

An **unstructured interview** is an exploratory, conversational interview in which the interviewer does not follow a predetermined script of questions, instead asking open-ended questions and adapting follow-up questions dynamically based on the interviewee's responses. **Answer: C (Unstructured interview)** A: **Incorrect:** A structured interview strictly follows a predefined list of closed or standardized questions. B: **Incorrect:** A semistructured interview uses a predefined set of core questions combined with some spontaneous follow-up questions. C: **Correct:** Asking open-ended questions without a predefined list in a free-flowing conversation defines an unstructured interview. D: **Incorrect:** Questionnaires are written survey forms rather than interactive spoken conversations.

Report a correction for Q23

Question 24 MCQ · 4.0 marks

Source diagram or notation
6406533952399.
Coincidental cohesion
6406533952400.
Procedural cohesion
6406533952401.
Communicational cohesion
6406533952402.
Sequential Cohesion

Published solution

**Procedural cohesion** occurs when elements/functions of a module are grouped together because they always follow a specific sequence of execution (one after the other to accomplish a workflow), even though they perform distinct tasks (`UpdateStock()`, `GenerateInventoryReport()`, `SendLowStockNotification()`) and do not necessarily pass the output of one directly as the input to the next. **Answer: B (Procedural cohesion)** A: **Incorrect:** Coincidental cohesion occurs when functions in a module have no meaningful relationship or execution order at all. B: **Correct:** Functions grouped together because they are executed one after another in a fixed procedural order exhibit procedural cohesion. C: **Incorrect:** Communicational cohesion occurs when all functions operate on the same input or output data structure without requiring a specific order. D: **Incorrect:** Sequential cohesion requires the output of one function to serve directly as the input to the next function like an assembly line.

Report a correction for Q24

Question 25 MCQ · 4.0 marks

In the design of an e-commerce platform, different modules handle tasks like managing product listings, processing customer orders, and handling payment transactions. While each module focuses on its own task, they all need to access a shared order database to retrieve and update order statuses, customer information, and payment details. Identify the correct statement about the modules of the given application.
6406533952403.
The modules have high cohesion and are highly coupled.
6406533952404.
The modules have low cohesion and are highly coupled.
6406533952405.
The modules have low cohesion and are loosely coupled.
6406533952406.
The modules have high cohesion and are loosely coupled.

Published solution

Let us analyze both **cohesion** and **coupling** in the given e-commerce design: - **High Cohesion**: Each module focuses on a single, well-defined responsibility (one manages product listings, one processes orders, and one handles payments). - **High Coupling**: All modules directly access and update a **shared order database** (common/shared-data coupling), meaning changes to the database schema or shared tables affect all modules. Therefore, the modules have **high cohesion and are highly coupled**. **Answer: A (The modules have high cohesion and are highly coupled.)** A: **Correct:** Each module has a focused single purpose (high cohesion), but sharing a common database directly creates strong interdependence (high coupling). B: **Incorrect:** Since each module focuses on its own dedicated task, cohesion is high, not low. C: **Incorrect:** Sharing a central database directly makes the modules tightly coupled, and single-purpose modules have high cohesion. D: **Incorrect:** Direct reliance on a shared database for reading and updating state creates high (tight) coupling rather than loose coupling.

Report a correction for Q25

Question 26 MCQ · 4.0 marks

Which of the following diagrams models the sequence of message exchanges among parts of a system?
6406533952407.
Class diagram
6406533952408.
State machine diagram
6406533952409.
Activity diagram
6406533952410.
Interaction diagram

Published solution

In UML, **interaction diagrams** (which include **sequence diagrams** and **communication diagrams**) model the dynamic interactions and chronological sequence of message exchanges among objects or parts of a system. **Answer: D (Interaction diagram)** A: **Incorrect:** Class diagrams model the static structure of classes, attributes, methods, and relationships. B: **Incorrect:** State machine diagrams model the states of a single object and transitions triggered by events. C: **Incorrect:** Activity diagrams model workflow and control/data flow from activity to activity. D: **Correct:** Interaction diagrams (such as sequence diagrams) model the sequence of message exchanges among system components.

Report a correction for Q26

Question 27 MCQ · 4.0 marks

Source diagram or notation
6406533952411.
To decide which work is to be done in the current sprint and how the chosen work will be done.
6406533952412.
To prioritize the work for the development team.
6406533952413.
Team demonstrates what they have completed in the given sprint.
6406533952414.
To evaluate the last sprint - team dynamics, processes, tools etc.

Published solution

In Agile/Scrum project management, a **sprint retrospective** is held at the end of a sprint for the team to reflect on and evaluate the just-concluded sprint—including team dynamics, processes, workflows, and tools—and identify improvements for future sprints. **Answer: D (To evaluate the last sprint - team dynamics, processes, tools etc.)** A: **Incorrect:** Deciding which work to do in the current sprint and how to accomplish it is the objective of **Sprint Planning**. B: **Incorrect:** Prioritizing work in the product backlog is part of **Backlog Grooming/Refinement** by the Product Owner. C: **Incorrect:** Demonstrating completed work to stakeholders is the purpose of the **Sprint Review**. D: **Correct:** The Sprint Retrospective evaluates how the last sprint went regarding people, relationships, processes, and tools.

Report a correction for Q27

Question 28 MCQ · 4.0 marks

Suppose the risk assessed for budget slippage is 1.8, and the probability of budget slippage occurring during project development is 0.9. What is the impact of budget slippage on project development?
6406533952427.
16.6
6406533952428.
2
6406533952429.
3
6406533952430.
0.17

Published solution

**Step 1: Recall the formula for Risk Exposure (Assessed Risk).** \[\text{Risk} = \text{Probability} \times \text{Impact}\] **Step 2: Substitute the given values and solve for Impact.** Given \(\text{Risk} = 1.8\) and \(\text{Probability} = 0.9\): \[1.8 = 0.9 \times \text{Impact} \implies \text{Impact} = \frac{1.8}{0.9} = 2\] **Answer: B (2)** A: **Incorrect:** 16.6 is not obtained from the risk exposure relationship \(\text{Risk} = \text{Probability} \times \text{Impact}\). B: **Correct:** Dividing the assessed risk (1.8) by the probability (0.9) gives an impact of \(1.8 / 0.9 = 2\). C: **Incorrect:** An impact of 3 with probability 0.9 would yield a risk of \(2.7 \ne 1.8\). D: **Incorrect:** 0.17 is not the ratio \(1.8 / 0.9\).

Report a correction for Q28

Question 29 MCQ · 4.0 marks

Consider a file-sharing application that allows users to upload and share files with others directly. The files are stored on the users' devices and exchanged directly between users, without relying on a central server for storage or transmission. What type of software architecture is most likely used for the file-sharing application?
6406533952431.
Client-server system
6406533952432.
Pipe and filter
6406533952433.
Model view controller
6406533952434.
Peer-to-peer architecture

Published solution

In a **peer-to-peer (P2P) architecture**, each participating device (node/peer) acts as both a client and a server, storing files locally and exchanging data directly with other peers without relying on a centralized server. **Answer: D (Peer-to-peer architecture)** A: **Incorrect:** A client-server system relies on a central server to store files and service client requests. B: **Incorrect:** Pipe and filter architecture processes streams of data through sequential transformation stages. C: **Incorrect:** Model-View-Controller (MVC) separates user interface, business logic, and data control within an application. D: **Correct:** Direct decentralized file sharing between user devices without a central server is the hallmark of peer-to-peer architecture.

Report a correction for Q29

Question 30 MCQ · 4.0 marks

A company is building a tool for its own developers to streamline the software development lifecycle. The tool will primarily be used for managing version control, tracking bugs, and automating deployment pipelines. In this case, which type of clients are we dealing with?
6406533952435.
External users
6406533952436.
Internal users
6406533952437.
Software or software components
6406533952438.
None of these

Published solution

Because the software tool is being built by the company specifically for **its own developers** within the same organization, the users/clients of the system are **internal users**. **Answer: B (Internal users)** A: **Incorrect:** External users are customers or end-users outside the organization developing the software. B: **Correct:** Employees and developers within the same company using an in-house tool are internal users. C: **Incorrect:** The primary users interacting with the version control and bug tracking tool are human developers, not just software components. D: **Incorrect:** Internal users accurately describes the company's own developers.

Report a correction for Q30

Question 31 MCQ · 4.0 marks

Consider a software organization X has developed a complete software product and wants to ensure it works well in real-world scenarios by getting feedback from actual users before the final release. Identify the type of testing X wants to perform.
6406533952439.
System testing
6406533952440.
Integration testing
6406533952441.
Alpha testing
6406533952442.
Beta testing

Published solution

**Beta testing** is a type of user acceptance testing performed by real end-users in their actual real-world environment prior to the final commercial release, allowing the organization to gather practical feedback and uncover field defects. **Answer: D (Beta testing)** A: **Incorrect:** System testing is conducted internally by the testing team in a controlled test environment. B: **Incorrect:** Integration testing verifies interfaces and interactions between combined software modules. C: **Incorrect:** Alpha testing is performed at the developer's site in a controlled environment before external release. D: **Correct:** Beta testing releases the nearly finished product to real external users to evaluate it in real-world scenarios.

Report a correction for Q31

Question 32 MCQ · 4.0 marks

A food delivery app is shared with a predefined set of customers. The customers report an issue where the delivery tracking feature displays incorrect locations for delivery drivers, causing confusion about the estimated delivery time. This activity is part of which phase of the software development lifecycle?
6406533952443.
Requirement gathering
6406533952444.
Development phase
6406533952445.
Design phase
6406533952446.
Testing phase
6406533952447.
Maintenance phase

Published solution

Sharing the application with a predefined group of customers to identify bugs (such as incorrect driver location tracking) before general release is **beta testing**, which is part of the **Testing phase** of the Software Development Lifecycle (SDLC). **Answer: D (Testing phase)** A: **Incorrect:** Requirement gathering defines what features the app should have before building it. B: **Incorrect:** The development phase focuses on writing the code rather than customer validation testing. C: **Incorrect:** The design phase creates architectural and UI blueprints before implementation. D: **Correct:** Releasing the app to a predefined group of customers to uncover defects is beta testing within the Testing phase. E: **Incorrect:** Maintenance occurs after full production deployment to the general public.

Report a correction for Q32

Question 33 MCQ · 4.0 marks

In an agile project, the team is working on implementing a user story. If the user story cannot be completed within one iteration (1-2 weeks), the team decides to subdivide it into smaller, more manageable ones. What does this approach make the user story?
6406533952452.
Specific
6406533952453.
Measurable
6406533952454.
Achievable
6406533952455.
Relevant
6406533952456.
Timeboxed

Published solution

Under the **SMART** criteria for agile tasks and user stories (**S**pecific, **M**easurable, **A**chievable, **R**elevant, **T**ime-boxed), breaking down a large user story that cannot fit within a single 1–2 week iteration into smaller, manageable stories ensures that each story is **Achievable** within the iteration. **Answer: C (Achievable)** A: **Incorrect:** Specific means the story clearly states what needs to be done without ambiguity. B: **Incorrect:** Measurable means there are clear acceptance criteria to verify completion. C: **Correct:** Subdividing an oversized user story into smaller pieces ensures the team can realistically complete it within one iteration (Achievable). D: **Incorrect:** Relevant means the user story delivers business value aligned with project goals. E: **Incorrect:** Timeboxed means fixed to a specific duration, whereas splitting the scope makes the workload achievable.

Report a correction for Q33

Question 34 MCQ · 4.0 marks

Imagine a food delivery application where users can search for restaurants, place orders, and track deliveries. However, the application fails to provide any real-time updates about the progress of the order or the delivery. Which design heuristic is lacking in this scenario?
6406533952457.
Freedom
6406533952458.
Flexibility
6406533952459.
Recognition over recall
6406533952460.
Show status

Published solution

According to Jakob Nielsen's usability heuristics, **Visibility of system status (Show status)** requires the system to always keep users informed about what is going on through appropriate feedback within a reasonable time (such as real-time order and delivery progress updates). **Answer: D (Show status)** A: **Incorrect:** User control and freedom refers to providing easy undo/redo or cancellation options. B: **Incorrect:** Flexibility and efficiency of use refers to accelerators and shortcuts for experienced users. C: **Incorrect:** Recognition over recall refers to making options and actions visible so users do not have to remember information across screens. D: **Correct:** Failing to provide real-time updates on order and delivery progress violates the 'Show status' (visibility of system status) heuristic.

Report a correction for Q34

Question 35 MCQ · 5.0 marks

Consider an e-commerce platform that integrates with multiple payment gateways. The platform has a payment processing system that only accepts payments in USD, but the payment gateways provide transaction amounts in different currencies, such as EUR and INR. The class PaymentProcessor can only handle USD amounts, but the payment gateways provide transaction amounts in incompatible currencies. Which design pattern can be used to solve the problem?
6406533952387.
Factory design pattern
6406533952388.
Builder design pattern
6406533952389.
Adapter design pattern
6406533952390.
Facade design pattern

Published solution

The **Adapter design pattern** (a structural pattern) allows classes with incompatible interfaces or data formats—such as payment gateways providing EUR and INR amounts—to work seamlessly with an existing class (`PaymentProcessor`) that expects a specific interface/currency (USD) by converting the interface/data in an intermediary wrapper. **Answer: C (Adapter design pattern)** A: **Incorrect:** The Factory pattern is a creational pattern used to instantiate objects without specifying their exact concrete classes. B: **Incorrect:** The Builder pattern is a creational pattern used to construct complex objects step by step. C: **Correct:** The Adapter pattern converts the incompatible currency interface of external payment gateways into the USD interface expected by `PaymentProcessor`. D: **Incorrect:** The Facade pattern provides a simplified high-level interface to a complex subsystem rather than converting incompatible interfaces.

Report a correction for Q35

Question 36 MCQ · 5.0 marks

Source diagram or notation
6406533952419.
Open-close principle
6406533952420.
Liskov substitution principle
6406533952421.
Interface segregation principle
6406533952422.
Dependency inversion principle

Published solution

The **Interface Segregation Principle (ISP)** states that no client should be forced to depend on or implement methods it does not use. Because `SmartDevice` is a "fat" interface containing `play_music()`, classes like `SmartLight` and `SmartThermostat` are forced to implement `play_music()` even though they have no music functionality. Splitting `SmartDevice` into smaller, role-specific interfaces resolves this violation. **Answer: C (Interface segregation principle)** A: **Incorrect:** The Open-Closed Principle states that software entities should be open for extension but closed for modification. B: **Incorrect:** The Liskov Substitution Principle focuses on behavioral substitutability of subtypes for their base type. C: **Correct:** Forcing `SmartLight` and `SmartThermostat` to implement the unused `play_music()` method from a fat interface violates the Interface Segregation Principle. D: **Incorrect:** The Dependency Inversion Principle states that high-level modules should depend on abstractions rather than low-level concrete details.

Report a correction for Q36

Question 37 MCQ · 5.0 marks

Consider the following requirements for a mobile app that allows users to book and manage appointments at a healthcare clinic: Requirement 1: The mobile app must be able to support at least 500 simultaneous user logins. Requirement 2: The mobile app must allow users to view the available doctors and their appointment slots. Requirement 3: The mobile app must notify users when an appointment is successfully booked. Requirement 4: The mobile app must be able to process payments for appointments within 3 seconds. Which of the following statements is true?
6406533952423.
Requirements 1, 2, and 3 are functional requirements, whereas requirement 4 is a non-functional requirement.
6406533952424.
Requirements 2 and 3 are functional requirements, whereas requirements 1 and 4 are non-functional requirements.
6406533952425.
Requirements 1 and 4 are functional requirements, whereas requirements 2 and 3 are non-functional requirements.
6406533952426.
Requirement 2 is a functional requirement, whereas requirements 1, 3, and 4 are non-functional requirements.

Published solution

Let us classify each requirement: - **Requirement 1** (*support at least 500 simultaneous user logins*): Specifies scalability/capacity performance \(\implies\) **Non-functional requirement**. - **Requirement 2** (*allow users to view available doctors and appointment slots*): Specifies a core system feature/behavior \(\implies\) **Functional requirement**. - **Requirement 3** (*notify users when an appointment is booked*): Specifies an action/output behavior of the app \(\implies\) **Functional requirement**. - **Requirement 4** (*process payments within 3 seconds*): Specifies a response-time performance constraint \(\implies\) **Non-functional requirement**. Therefore, **Requirements 2 and 3 are functional requirements, whereas requirements 1 and 4 are non-functional requirements**. **Answer: B (Requirements 2 and 3 are functional requirements, whereas requirements 1 and 4 are non-functional requirements.)** A: **Incorrect:** Requirement 1 (500 concurrent logins) is a non-functional capacity/scalability requirement. B: **Correct:** Viewing doctors/slots (2) and sending booking notifications (3) are functional behaviors, while concurrency capacity (1) and response time (4) are non-functional. C: **Incorrect:** Reverses the definitions of functional and non-functional requirements. D: **Incorrect:** Requirement 3 (notifying users upon booking) is a functional requirement, not a non-functional one.

Report a correction for Q37

Question 38 MCQ · 6.0 marks

Source diagram or notation
6406533952415.
3
6406533952416.
4
6406533952417.
5
6406533952418.
6

Published solution

**Step 1: Recall the shortcut formula for Cyclomatic Complexity \(M\).** \[M = P + 1\] where \(P\) is the number of predicate (decision/branching) statements in the function. **Step 2: Count the decision statements in `classify_numbers(numbers)`.** 1. `for num in numbers:` (loop condition) 2. `if num > 0:` (first conditional branch) 3. `if num < 0:` (second conditional branch) Since there are \(P = 3\) decision predicates, the cyclomatic complexity is: \[M = 3 + 1 = 4\] **Answer: B (4)** A: **Incorrect:** 3 is the number of predicate statements (`for`, `if`, `if`), forgetting to add 1. B: **Correct:** With 3 decision points (`for num in numbers`, `if num > 0`, `if num < 0`), \(M = 3 + 1 = 4\). C: **Incorrect:** `else:` clauses do not introduce new decision predicates; \(M = 4\). D: **Incorrect:** Overcounts the number of independent paths through the function.

Report a correction for Q38

Question 39 MCQ · 3.0 marks

Which requirement collection technique involves gathering detailed information from recorded procedures, rules, steps, and regulations pertaining to a specific task or activity?
6406533952448.
Questionnaires
6406533952449.
Interviews
6406533952450.
Focus group
6406533952451.
Documentations

Published solution

Reviewing existing **documentations** (document analysis) involves gathering detailed requirement information from existing written records, manuals, standard operating procedures, business rules, steps, and regulatory documents related to a task or system. **Answer: D (Documentations)** A: **Incorrect:** Questionnaires collect survey responses from stakeholders rather than analyzing recorded manuals and regulations. B: **Incorrect:** Interviews involve direct one-on-one or small-group questioning of stakeholders. C: **Incorrect:** Focus groups gather interactive feedback from a moderated group of users. D: **Correct:** Documentations (document analysis) extracts requirements from existing recorded procedures, rules, and regulations.

Report a correction for Q39

Question 40 MCQ · 6.0 marks

A software company is developing a mobile app for a government agency to monitor and control traffic systems in real-time. The app requires integration with multiple hardware devices, real-time processing, and strict security protocols. The developer team consists of highly skilled professionals. The values for the constants in the COCOMO model for the different 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 Consider the source code to be 1,00,000 lines. Based on the above data, answer the given subquestions.
What is the initial estimated effort for the project?
6406533952461.
303 person-months
6406533952462.
426 person-months
6406533952463.
522 person-months
6406533952464.
905 person-months

Published solution

**Step 1: Identify the COCOMO project type.** The mobile app monitors and controls traffic systems in **real-time**, requires integration with **multiple hardware devices**, and enforces **strict security protocols**. In Boehm's COCOMO model, real-time hardware-coupled control systems with tight constraints are classified as **Embedded projects** (\(a = 3.6, b = 1.20\)). **Step 2: Calculate the size in KLOC.** \[\text{Size} = 1,00,000\text{ lines} = 100\text{ KLOC}\] **Step 3: Compute the initial estimated effort \(E_i\).** \[E_i = a \times (\text{KLOC})^b = 3.6 \times (100)^{1.20}\] Since \(100^{1.20} = (10^2)^{1.20} = 10^{2.4} \approx 251.1886\): \[E_i = 3.6 \times 251.1886 \approx 904.28 \approx 905\text{ person-months}\] **Answer: D (905 person-months)** A: **Incorrect:** 303 person-months uses the Organic project constants (\(2.4 \times 100^{1.05} \approx 302.1\)). B: **Incorrect:** Does not match any of the three COCOMO project formulas for 100 KLOC. C: **Incorrect:** 522 person-months uses the Semi-detached project constants (\(3.0 \times 100^{1.12} \approx 521.3\)). D: **Correct:** As an Embedded project (\(a = 3.6, b = 1.20\)), initial effort is \(3.6 \times 100^{1.20} \approx 905\text{ person-months}\).

Report a correction for Q40

Question 41 MCQ · 2.0 marks

A software company is developing a mobile app for a government agency to monitor and control traffic systems in real-time. The app requires integration with multiple hardware devices, real-time processing, and strict security protocols. The developer team consists of highly skilled professionals. The values for the constants in the COCOMO model for the different 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 Consider the source code to be 1,00,000 lines. Based on the above data, answer the given subquestions.
Considering an effort adjustment factor = 1.88, what is the final estimated effort for the project?
6406533952465.
305 person-months
6406533952466.
570 person-months
6406533952467.
1702 person-months
6406533952468.
982 person-months

Published solution

**Step 1: Recall the Intermediate COCOMO formula for final adjusted effort.** \[\text{Final Effort } E = \text{Initial Effort } (E_i) \times \text{Effort Adjustment Factor (EAF)}\] **Step 2: Substitute \(E_i = 905\text{ person-months}\) and \(\text{EAF} = 1.88\).** \[E = 905 \times 1.88 = 1701.4 \approx 1702\text{ person-months}\] (Or using unrounded \(E_i = 904.28\): \(904.28 \times 1.88 = 1700.05\), and \(905 \times 1.88 = 1701.4 \approx 1702\).) **Answer: C (1702 person-months)** A: **Incorrect:** 305 person-months ignores the Embedded project effort and EAF. B: **Incorrect:** 570 person-months is \(303 \times 1.88\), which uses the Organic initial effort instead of Embedded. C: **Correct:** Multiplying the Embedded initial effort (\(905\text{ person-months}\)) by \(\text{EAF} = 1.88\) gives \(1702\text{ person-months}\). D: **Incorrect:** 982 person-months is \(522 \times 1.88\), which uses the Semi-detached initial effort instead of Embedded.

Report a correction for Q41

Question 42 MCQ · 4.0 marks

A logistics company is developing a route optimization system for its fleet, relying on a third-party mapping API to provide real-time traffic data and calculate optimal delivery routes. However, there is a risk of shortcomings in the third-party API. Based on the above data, answer the given subquestions.
Identify the type of the risk in the given scenario.
6406533952469.
Project risks
6406533952470.
Technical risk
6406533952471.
Business risk
6406533952472.
None of these

Published solution

A **technical risk** threatens the quality and timeliness of the software to be produced due to design, implementation, interface, verification, or external component limitations. Because the route optimization system relies on a third-party mapping API that may have technical shortcomings, this is a **technical risk**. **Answer: B (Technical risk)** A: **Incorrect:** Project risks threaten the project plan (budget, schedule, staffing, resources). B: **Correct:** Potential shortcomings in a third-party API used for core functionality constitute a technical risk. C: **Incorrect:** Business risks threaten the market viability of the software product. D: **Incorrect:** Technical risk is the exact category for this scenario.

Report a correction for Q42

Question 43 MCQ · 4.0 marks

A logistics company is developing a route optimization system for its fleet, relying on a third-party mapping API to provide real-time traffic data and calculate optimal delivery routes. However, there is a risk of shortcomings in the third-party API. Based on the above data, answer the given subquestions.
Choose the correct option that specifies how the risk can be mitigated.
6406533952473.
By hiring developers with relevant experience within the company and/ or outside the company, or outsource certain things to some third party vendors.
6406533952474.
By benchmarking and regular inspection to verify that the external component is up to the mark.
6406533952475.
By communicating with clients or build prototype to collect clients feedback
6406533952476.
Explore market for similar products       **Sw Testing** **Section Id :** 64065382582 **Section Number :** 3 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 15 **Number of Questions to be attempted :** 15 **Section Marks :** 100 **Display Number Panel :** Yes **Section Negative Marks :** 0 **Group All Questions :** No

Published solution

To mitigate the technical risk of potential shortcomings in an external third-party mapping API, the development team should conduct **benchmarking and regular inspection** to verify that the external component meets performance, accuracy, and reliability requirements. **Answer: B (By benchmarking and regular inspection to verify that the external component is up to the mark.)** A: **Incorrect:** Hiring experienced developers addresses staffing/skill risks, not defects in a third-party API. B: **Correct:** Benchmarking and regular inspection directly evaluate whether the external API performs as required. C: **Incorrect:** Client communication and prototyping address requirement gathering risks. D: **Incorrect:** Market exploration addresses business viability risks.

Report a correction for Q43