0% found this document useful (0 votes)
15 views4 pages

UCS503_EST_23

The document outlines an examination paper for the Software Engineering course at Thapar Institute of Engineering and Technology, detailing various questions related to object-oriented design, software development estimations, testing techniques, and system design diagrams. Students are required to attempt any four questions from a selection that covers topics such as inheritance, state chart diagrams, COCOMO model calculations, and test case design. The exam is scheduled for May 13, 2024, and is supervised by three instructors.

Uploaded by

Gurvinder Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

UCS503_EST_23

The document outlines an examination paper for the Software Engineering course at Thapar Institute of Engineering and Technology, detailing various questions related to object-oriented design, software development estimations, testing techniques, and system design diagrams. Students are required to attempt any four questions from a selection that covers topics such as inheritance, state chart diagrams, COCOMO model calculations, and test case design. The exam is scheduled for May 13, 2024, and is supervised by three instructors.

Uploaded by

Gurvinder Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Roll Number:

Thapar Institute of Engineering and Technology, Patiala


Computer Science & Engineering Department
BE CSE Second Year Course Code: UCS503
EST- May 13, 2024 Course Name: Software Engineering
Time: 3 Hours; MM: 40 Instructors: Dr. Ashima Singh, Dr. Himika & Dr. Shruti Aggarwal
Note: Attempt ANY FOUR Questions
Ques Questions Marks CO BL
Q1 What is the difference between composition and inheritance, 10 CO1 L2
and when would you prefer one over the other in designing
object-oriented systems?

How does inheritance facilitate code reuse in object-oriented


programming, and what are the potential drawbacks of
excessive inheritance?

How does the number of modules affect the cost of


development and cost of integration? Explain with the help of
a suitable diagram. List different faults in at least four fault
classes that can be identified in static analysis checks.
Q2a Draw the State Chart diagram for the given scenario. The 10 CO3 L4
vending machine has four states namely: "Idle," "Coin
Inserted," "Dispensing," and "Item Sold." The state machine
starts in the "Idle" state, representing the initial state of the
vending machine when no actions have been taken. When a
coin is inserted, the event triggers a transition to the "Coin
Inserted" state. From the "Coin Inserted" state, there are two
possible events: if the user cancels the transaction, the machine
returns to the "Idle" state; if the user selects a product, the
machine transitions to the "Dispensing" state. In the
"Dispensing" state, the vending machine dispenses the selected
item. Once the item is dispensed, the "Item Sold" state is
reached. From the "Item Sold" state, the machine can either
return to the "Idle" state if no further actions are taken, or it can
transition to the "Coin Inserted" state if the user inserts
additional coins for another purchase.

2b. Design a Sequence Diagram for the process of booking a flight


ticket through an online booking system. Consider interactions
between the customer, booking system, payment gateway, and
airline reservation system. Clearly illustrate the sequence of
events and interactions/ messaging between different actors in
flow objects and components involved in the booking process

1
Q3a A software development project is estimated to have 20000000 10 CO2 L3
lines of code. The project is classified as a semi-detached
project with a moderately experienced development team. The
project schedule is not very tight. Calculate the effort, and
development time using the COCOMO model.

Q3b Consider the following Precedence Table for the optimal


scheduling of tasks. Task A: UI Design, Task B: Backend
Development, Task C: Database Setup, Task D: API
Integration, Task E: User Authentication Module, Task F:
Expense Tracking Feature, Task G: Graphical Reports Module,
Task H: Notifications Integration

ii). Calculate Early Start, Early Finish, Late Start, Late Finish,
and Slack for each activity. (Give in Table)
iii). Give Critical Time, Critical Path quoting the Critical
Activities
Q4a Consider the following cases. 10 CO4 L6
i). Login form that requires a username and password
ii). To check the patient’s blood pressure vitals.
iii). A text field that accepts alphanumeric characters and has a
maximum length of 10 characters.
Write all the possible classes of Test Cases using
Equivalence Class Partitioning and Boundary Value
Analysis techniques to design test cases.

4b. For the following code snippet: i. Draw the Control Flow
Graph ii. Write the independent paths iii. Calculate the
Cyclomatic Complexity using three different techniques.

2
Q5a In a software development project aiming to build a new web- 10 CO4 L6
based project management application, the development team
has just completed implementing a set of new features and bug
fixes. Before proceeding to comprehensive testing phases, they
execute testing to ascertain the readiness of the build for further
testing. It checks if critical functionalities such as user
authentication, project creation, and task assignment are
functioning correctly. However, it does not delve into finer
details. The team aims to build a new software which is stable
enough to proceed to the next testing phase.
Explain the type of testing used in this scenario with help
of a suitable diagram.

5b A Software development team is generating test cases for an


APP that aims to test if the person should GO for a Walk or Not
considering weather conditions, time of day, day of the week,
and personal schedule. If it's raining or stormy outside, staying
indoors is the preferred option to avoid getting wet. In the
morning, the decision pivots on whether it's a weekday or a
weekend and if the personal schedule permits. If it's not
morning, the decision simplifies based on whether the weather
is sunny or cloudy, with additional consideration for weekends
and personal schedules (BUSY or IDLE).
Make a decision table that aims to generate test cases for a
clear recommendation on whether to go for a walk today
based on all relevant factors and circumstances.

3
4

You might also like