Question 1
In which of the following types of testing is the fully integrated system tested by the test team within the organization?
Integration testing
Acceptance testing
Alpha testing
Beta testing.
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.
In which of the following types of testing is the fully integrated system tested by the test team within the organization?
Integration testing
Acceptance testing
Alpha testing
Beta testing.
Correct answer
Alpha testing
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.
2
3
4
5
Correct answer
3
Which deployment strategy gradually rolls out changes to a small subset of users?
Blue/Green Deployment
Canary Deployment
Versioned Deployment
None of these
Correct answer
Canary Deployment
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?
Bare metal servers
Infrastructure-as-a-service
Platform-as-a-service
Software-as-a-service
Correct answer
Infrastructure-as-a-service
Which of the following strategies uses tools like Memcached and Redis to improve the performance of web applications?
Caching
Task queues
Loading and rendering pages
Monitoring
Correct answer
Caching
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?
Project management tools
Development tools
Knowledge-sharing tools
None of these
Correct answer
Project management tools
Data coupling
Control coupling
Common coupling
Content coupling
Correct answer
Common coupling
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.
Low cohesion and low coupling
Low cohesion and high coupling
High cohesion and low coupling
High cohesion and high coupling
Correct answer
Low cohesion and high coupling
Which software metric determines the quality of the code based on the number of operands and operations involved?
Cyclomatic Complexity
Raw Metrics
Halstead’s Metrics
All of these
Correct answer
Raw Metrics
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?
Logging
Dump and diff
Stepping in debugger
Profiling tool
Correct answer
Profiling tool
Match the following.
1-B, 2-D, 3-C, 4-A
1-B, 2-D, 3-A, 4-C
1-C, 2-A, 3-D, 4-B
1-C, 2-A, 3-B, 4-D
Correct answer
1-C, 2-A, 3-B, 4-D
Which of the following risks arises when the development team has insufficient knowledge of the product?
Technical risks
Project risks
Business risks
None of these
Correct answer
Technical risks
In the Scrum framework, what does velocity mean?
Number of user stories completed per iteration/sprint
Number of user stories completed for all the sprints
Number of points per iteration/sprint
Amount of effort for each user story
Correct answer
Number of points per iteration/sprint
Which SMART characteristic specifies that a user story should provide business value to at least one stakeholder?
Measurable
Achievable
Relevant
Timeboxed
Correct answer
Relevant
Consider the Python code below.
Identify the number of linearly independent paths to be tested for path coverage.
2
3
4
5
Correct answer
4
Consider the Python code below.
Identify the set of valid test cases that provides multiple condition coverage.
{password = "ab", password = "abcd", password = "abcdef"}
{password = "ab", password = "abcdefghi", password = "abcdef"}
{password = "ab", password = "abcdefghi", password = "", password = "abcd"}
{password = "ab", password = "abcdefghi", password = "abcdef", password = "abcd"}
Correct answer
{password = "ab", password = "abcdefghi", password = "abcdef", password = "abcd"}
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?
Client-server
Pipe and filter
Model-view-controller
Peer-to-peer
Correct answer
Pipe and filter
Builder design pattern
Facade design pattern
Adapter design pattern
Strategy design pattern
Correct answer
Strategy design pattern
Open-Closed principle
Liskov substitution principle
Interface segregation principle
Dependency inversion principle
Correct answer
Interface segregation principle
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?
Schedule Slippage
Gold plating
Shortcomings in external components
Insufficient domain knowledge
Correct answer
Insufficient domain knowledge
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?
Freedom
Flexibility
Prevent error
Provide help
Correct answer
Flexibility
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?
Efficiency
Memorability
Safety
Learnability
Correct answer
Memorability
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.
Questionnaires
Interviews
Focus Groups
Naturalistic Observations
Correct answer
Naturalistic Observations
Which of the following is/are true about designing test cases for blackbox testing?
Test cases are designed to examine only the input and output values.
Designing test cases necessitates access to the source code.
No knowledge of the underlying design or code required
The structure of the program needs to be analyzed using some heuristics.
Correct answers
Test cases are designed to examine only the input and output values.
No knowledge of the underlying design or code required
Developers commit the code to a continuous integration server.
After each commit, the continuous integration server pulls the new code from the version control system.
The code pulled from the version control system is built and tested on the continuous integration server.
The code is finally built, tested, and deployed by the continuous integration server.
Correct answers
After each commit, the continuous integration server pulls the new code from the version control system.
The code pulled from the version control system is built and tested on the continuous integration server.
Which of the following is/are the primary task/s of sales team in a software organization?
Conduct market research and look for opportunities in the market
Sell the product it to users that marketing team has identified
Resolving interpersonal conflict between engineers
Provide feedback to marketing, product, and design teams regarding the product, which engineers then address.
Correct answers
Sell the product it to users that marketing team has identified
Provide feedback to marketing, product, and design teams regarding the product, which engineers then address.
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?
It describes the capabilities of a function.
It provides the implementation details of a function.
It tells which requests are allowed and how the output will be formatted.
The code implementing the interface should remain unchanged until the interface remains the same.
Correct answers
It describes the capabilities of a function.
It tells which requests are allowed and how the output will be formatted.
Correct answers
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?
303 person-month
208 person-month
522 person-month
905 person-month
Correct answer
905 person-month
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?
1467 person-month
491 person-month
524 person-month
907 person-month
Correct answer
1467 person-month