MauryaHub PYQ Practice

Software Engineering · End Term · Sep 2023 · FN

Software Engineering · End Term · Sep 2023 FN

← 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.

0 / 30 published solutions

Question 2 MCQ · 2.0 marks

A software company has to develop a portal that enables a user to search for a specific product by providing some product details. The portal queries and gathers details from different websites and puts them together on a single page. **Consider the following two requirements:** **Requirement 1:** The portal must gather information for the given product from all the relevant websites and display it to the user. **Requirement 2:** Given the product details, the portal must complete the gathering and display of information within 10 secs. Which of the following statement is true?
6406532332497.
Requirement 1 is a functional requirement, whereas Requirement 2 is a non- functional requirement
6406532332498.
Requirement 2 is a functional requirement, whereas Requirement 1 is a non- functional requirement
6406532332499.
Both requirements are functional requirements
6406532332500.
Both the requirements are non-functional requirements

A published solution is not available for this question yet.

Report a correction for Q2

Question 3 MCQ · 3.0 marks

A set of modules is said to have high cohesion and low coupling, which implies ___________ .
6406532332515.
The functions in each module are performing varied operations, and a lot of data is interchanged between the modules
6406532332516.
The functions in each module are together performing a single operation, and a lot of data is interchanged between the modules
6406532332517.
The functions in each module are together performing a single operation, and the degree of interaction between the modules is very low
6406532332518.
The functions in each module are together performing a single operation, and the degree of interaction between the modules is very high

A published solution is not available for this question yet.

Report a correction for Q3

Question 4 MCQ · 3.0 marks

Source diagram or notation
6406532332535.
Single responsibility principle
6406532332536.
Open-close principle
6406532332537.
Liskov substitution principle
6406532332538.
Interface segregation principle
6406532332539.
Dependency inversion principle

A published solution is not available for this question yet.

Report a correction for Q4

Question 5 MCQ · 3.0 marks

A programmer is developing a module for a big software project. The module has 50 functions. After writing the code, the programmer has observed that he is not getting the desired output, and he suspects some of the functions are not getting called. In order to identify those functions, he places some print statements in all the functions. What kind of debugging technique does the programmer employ in this case?
6406532332540.
Breakpoint debugging
6406532332541.
Print debugging
6406532332542.
Step-by-step debugging
6406532332543.
Exception-based debugging

A published solution is not available for this question yet.

Report a correction for Q5

Question 6 MCQ · 4.0 marks

During debugging, a developer finds out the event that triggers an incorrect behavior. He follows the data control flow ahead until the incorrect state is reached. Which of the following debugging strategies was chosen by the developer?
6406532332531.
Input manipulation
6406532332532.
Backwards strategy
6406532332533.
Forwards strategy
6406532332534.
Blackbox debugging

A published solution is not available for this question yet.

Report a correction for Q6

Question 7 MCQ · 4.0 marks

A software company is developing inventory management software for a medicine distributor. The software needs to be connected to a third-party module for invoice generation and printing. However, the data format used by the software is not compatible with the third-party module. Therefore, the development team has introduced a new class that converts the data format so that it is supported by the third-party module and has integrated the third-party module with the software. Which kind of design pattern is used in this case?
6406532332544.
Builder design pattern
6406532332545.
Facade design pattern
6406532332546.
Adapter design pattern
6406532332547.
Strategy design pattern

A published solution is not available for this question yet.

Report a correction for Q7

Question 8 MCQ · 4.0 marks

Source diagram or notation
6406532332557.
{price = 0, price = 2000}
6406532332558.
{price = -10, price = 0, price = 1200}
6406532332559.
{price = 0, price = 1800, price = 3800}
6406532332560.
{price = -10, price = 0, price = 1010, price = 1999}

A published solution is not available for this question yet.

Report a correction for Q8

Question 9 MCQ · 4.0 marks

Source diagram or notation
6406532332575.
1-B, 2-C, 3-A, 4-D
6406532332576.
1-B, 2-C, 3-D, 4-A
6406532332577.
1-A, 2-C, 3-D, 4-B
6406532332578.
1-A, 2-C, 3-B, 4-D

A published solution is not available for this question yet.

Report a correction for Q9

Question 10 MCQ · 4.0 marks

Which of the performance enhancement strategies of the web applications suggests compressing the static pages using tools like Brotil and Gzip?
6406532332579.
Caching
6406532332580.
Quick loading and rendering
6406532332581.
Task queues
6406532332582.
Monitoring

A published solution is not available for this question yet.

Report a correction for Q10

Question 11 MCQ · 4.0 marks

Source diagram or notation
6406532332601.
1-C, 2-D, 3-B, 4-A
6406532332602.
1-C, 2-D, 3-A, 4-B
6406532332603.
1-D, 2-C, 3-A, 4-B
6406532332604.
1-D, 2-A, 3-B, 4-C

A published solution is not available for this question yet.

Report a correction for Q11

Question 12 MCQ · 5.0 marks

Source diagram or notation
6406532332613.
I --> V --> IV --> II
6406532332614.
I --> III --> II --> IV --> V
6406532332615.
IV --> V --> II
6406532332616.
III --> II --> V

A published solution is not available for this question yet.

Report a correction for Q12

Question 13 MSQ · 2.0 marks

Software can be divided into manageable components. Find the one(s) that are TRUE about breaking software into components from the list below.
6406532332493.
It is a way of breaking the complexity of the system into manageable parts
6406532332494.
It enables different teams to work on different components
6406532332495.
Everyone on the development team must know how to work with all the components
6406532332496.
It conceals implementation details while providing an interface for others to display its capabilities

A published solution is not available for this question yet.

Report a correction for Q13

Question 14 MSQ · 2.0 marks

Which of the following belong to **users experience goals**?
6406532332501.
Motivating
6406532332502.
Effective and efficient
6406532332503.
Satisfying
6406532332504.
Safe and less error-prone
6406532332505.
entertaining
6406532332506.
durable

A published solution is not available for this question yet.

Report a correction for Q14

Question 15 MSQ · 2.0 marks

A project requires 240 person-months of development time. Which of the following statements is/are true?
6406532332507.
It requires 240 developers to complete the project
6406532332508.
It requires 10 developers to complete the project in 2 years
6406532332509.
It requires 120 developers to complete the project in 2 months
6406532332510.
It requires 24 developers to complete the project in 10 years

A published solution is not available for this question yet.

Report a correction for Q15

Question 16 MSQ · 3.0 marks

Source diagram or notation
6406532332511.
Figure 1 shows the higher coupling between the modules compared to Figure 2
6406532332512.
Figure 1 shows the lower coupling between the modules compared to Figure 2
6406532332513.
The modules in Figure 1 are highly cohesive compared to Figure 2
6406532332514.
The modules in Figure 2 are highly cohesive compared to Figure 1

A published solution is not available for this question yet.

Report a correction for Q16

Question 17 MSQ · 3.0 marks

Identify the statements which are true and related to code smells.
6406532332523.
All commented-out codes should be retained in the final code base
6406532332524.
It is better to have a function that does many things
6406532332525.
A function ideally should not have any argument, however, in practical situations, it should not use more than three arguments
6406532332526.
A function should not use any flag (based on which function perform certain operations) argument

A published solution is not available for this question yet.

Report a correction for Q17

Question 18 MSQ · 3.0 marks

Which of the following statements about the flask framework is/are correct?
6406532332527.
It is a mobile application framework
6406532332528.
It is a web application framework
6406532332529.
It is a micro-framework
6406532332530.
It imposes several restrictions on developing applications, like the kind of databases that can be used and the type of web servers that can be used

A published solution is not available for this question yet.

Report a correction for Q18

Question 19 MSQ · 3.0 marks

Which of the following are considered the best practices for continuous integration?
6406532332570.
Maintain multiple source repositories for each version of the code base
6406532332571.
Automate the build using build tools like Ant and Builder
6406532332572.
Automate the tests for the build, and make it self-testing
6406532332573.Source diagram or notation
Avoid frequent commits, and commit all the source code repositories only when some major updates are done
6406532332574.
Fix the broken builds immediately

A published solution is not available for this question yet.

Report a correction for Q19

Question 20 MSQ · 3.0 marks

Choose the correct statements regarding software organizations.
6406532332592.
In a flat organizational structure, there are fewer levels of hierarchy, promoting a more collaborative environment
6406532332593.
Agile methodologies are primarily suitable for large, bureaucratic organizations
6406532332594.
DevOps is a cultural and professional movement that aims to improve collaboration between software development and IT operations
6406532332595.
Waterfall model is an agile software development methodology
6406532332596.
The Scrum framework defines roles, events, and artifacts for organizing and managing work

A published solution is not available for this question yet.

Report a correction for Q20

Question 21 MSQ · 4.0 marks

Source diagram or notation
6406532332519.
There is an aggregation relation between class Course and class BookList
6406532332520.
There is an aggregation relation between class Book and class BookList
6406532332521.
There is an inheritance relation between class Book and classes TextBook and ReferenceBook
6406532332522.
There is an aggregation relation between class Book and classes TextBook and ReferenceBook

A published solution is not available for this question yet.

Report a correction for Q21

Question 22 MSQ · 4.0 marks

From the given options, identify the primary responsibilities of product managers in a large software organization
6406532332597.
To work closely with the marketing and sales teams to understand the business goals
6406532332598.
To talk to the users and transform the requirements into solutions
6406532332599.Source diagram or notation
To understand the technical stack in order to appreciate the level of effort involved and to take important decisions
6406532332600.
To analyze the data generated by different teams and users to help the organization make better decisions

A published solution is not available for this question yet.

Report a correction for Q22

Question 23 MSQ · 5.0 marks

Which of the following integration testing approaches may require drivers?
6406532332561.
Big bang approach
6406532332562.
Bottom up approach
6406532332563.
Top down approach
6406532332564.
Mixed approach

A published solution is not available for this question yet.

Report a correction for Q23

Question 24 MSQ · 5.0 marks

Choose the correct statements regarding Test-Driven Development (TDD).
6406532332565.
TDD involves writing test cases after the implementation of the code
6406532332566.
TDD follows the cycle of "Red-Green-Refactor"
6406532332567.
TDD encourages developers to write production code without any testing
6406532332568.
In TDD, tests are written to validate the expected behavior of the code before the code is implemented
6406532332569.
TDD is not suitable for agile development methodologies

A published solution is not available for this question yet.

Report a correction for Q24

Question 25 MSQ · 5.0 marks

Which of the following are the benefits of continuous integration?
6406532332583.
Reduces deployment time
6406532332584.
No initial effort is required to set up the process
6406532332585.
Users can see the initial prototype
6406532332586.
Discourage modular coding

A published solution is not available for this question yet.

Report a correction for Q25

Question 26 MSQ · 5.0 marks

Choose the correct statements about continuous integration (CI).
6406532332587.
CI is a software development practice where code changes are tested and integrated into the main codebase frequently
6406532332588.
Jenkins and Travis CI are examples of CI tools
6406532332589.
CI helps identify and fix integration issues early in the development process
6406532332590.
Continuous Deployment (CD) is synonymous with continuous integration
6406532332591.
CI is only beneficial for small development teams

A published solution is not available for this question yet.

Report a correction for Q26

Question 27 MSQ · 2.0 marks

Source diagram or notation
Identify the sets of valid test cases for branch coverage.
6406532332549.
{day = 0, day = 5}
6406532332550.
{day = -1, day = 5, day = 8}
6406532332551.
{day = 0, day = 5, day = 7}
6406532332552.
{day = 5, day = 6, day = 9}

A published solution is not available for this question yet.

Report a correction for Q27

Question 28 MSQ · 2.0 marks

Source diagram or notation
Identify the sets of valid test cases for multiple condition coverage.
6406532332553.
{day = 0, day = 8, day = 5, day = 7}
6406532332554.
{day = -1, day = 8, day = 5, day = 1}
6406532332555.
{day = 0, day = 5, day = 7}
6406532332556.
{day = 5, day = 6, day = 9}

A published solution is not available for this question yet.

Report a correction for Q28

Question 29 MCQ · 2.0 marks

Answer the given subquestions.
Which of the following teams in a software organization is primarily responsible for laying down the terms of service for its software products?
6406532332605.
Sales team
6406532332606.
Support team
6406532332607.
Ethics and policy specialists
6406532332608.
Data scientists

A published solution is not available for this question yet.

Report a correction for Q29

Question 30 MCQ · 2.0 marks

Answer the given subquestions.
IDEs are very useful in the software development process, mainly because ____________ .
6406532332609.
they are useful in documenting and archiving knowledge of one project so that it can be reused in another project
6406532332610.
they are useful for sharing documents and archiving decisions
6406532332611.
they enable all the members of the team to get a big picture as well as a detailed view of progress in the software development
6406532332612.
they help the developers become more productive

A published solution is not available for this question yet.

Report a correction for Q30

Question 31 NAT · 3.0 marks

Consider the testing of a module of a smartwatch software that takes care of measuring the pulse rate. It sets the status message as "error" if the reading of the pulse rate is < 40 or > 150. It sets the status message as "high risk" in case the reading is >= 40 and < 60, or > 120 and <= 150. Otherwise, it sets the status message as "normal". (All the data is fictitious) Identify the number of equivalence classes for black box testing.

A published solution is not available for this question yet.

Report a correction for Q31