Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

It is the est exam question papers, Exams of Software Engineering

It has question from previous year

Typology: Exams

2023/2024

Uploaded on 03/01/2024

parshav-singla
parshav-singla 🇮🇳

2 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Roll Number:
Thapar Institute of Engineering and Technology, Patiala
Department of Computer Science and Engineering
BE- COE (V Semester) EST
UCS503: Software Engineering
07th December 2022
Time: 3 Hrs; MM: 40
Name of Faculty: Dr. Harkiran Kaur, Dr. Manish Kumar,
Dr. Sumit Kumar, Ms. Tanya
Note: Attempt all questions.
Use
your assumptions in diagram questions and clearly write
your assumptions.
Q.1
(a) Explain the Equivalence Class Partitioning and Boundary Value
Analysis methodologies for test case selection. Elicit suitable examples to
differentiate between both of these.
(b) For the following code snippet,
(i)
Draw the Control Flow Graph
(ii)
Identify the independent paths
(iii)
Compute the Cyclomatic Complexity
(3)
(2)
(2)
(1)
(2)
1.
while(x<100) {
2.
if(a[x] % 2 = = 0) {
3.
parity = 0; }
4.
else { parity = 1;
5.
}
6.
switch(parity) (
7.
case 0: println("a[" + i + "] is even");
8.
case 1: println("a[" + i + "] is odd");
9.
default: println("Unexpected Error"); }
10.
x-H-; }
11.
p = true;
(c) Enlist the types of Errors which can be detected while conducting Unit
Testing with appropriate examples.
Q.2
(a) An Airline Check-in System is to be developed to allow passengers to
check in and get the boarding pass for flying. The baggage can also be
checked-in, which is optional. The check-in can happen by the counter
clerk or by the passenger using this system. The system should allow
individuals as well as group of passengers to check-in through the system.
The boarding pass can be issued through this system. Passengers below 4
yrs. need not have tickets. The airport also allows to provision for the
special needs of passengers like wheelchair etc. The system should also be
able to capture the fact that the baggage for a passenger is screened by
security. Identify Use Cases for this system. Draw Use Case Diagram for
the above scenario.
(1+4=5)
Page 1 of 2
pf2

Partial preview of the text

Download It is the est exam question papers and more Exams Software Engineering in PDF only on Docsity!

Roll Number:

Thapar Institute of Engineering and Technology, Patiala Department of Computer Science and Engineering BE- COE (V Semester) EST UCS503: Software Engineering 07th December 2022

Time: 3 Hrs; MM: 40 Name of Faculty: Dr. Harkiran Kaur, Dr. Manish Kumar,

Dr. Sumit Kumar, Ms. Tanya

Note: Attempt all questions. (^) Use your assumptions in diagram questions and clearly write your assumptions.

Q.1 (a) Explain the Equivalence Class Partitioning and Boundary Value

Analysis methodologies for test case selection. Elicit suitable examples to

differentiate between both of these.

(b) For the following code snippet,

(i) Draw the Control Flow Graph

(ii) Identify the independent paths

(iii) Compute the Cyclomatic Complexity

1. while(x<100) {

2. if(a[x] % 2 = = 0) {

3. parity = 0; }

4. else { parity = 1;

6. switch(parity) (

7. case 0: println("a[" + i + "] is even");

8. case 1: println("a[" + i + "] is odd");

9. default: println("Unexpected Error"); }

10. x-H-; }

11. p = true;

(c) Enlist the types of Errors which can be detected while conducting Unit

Testing with appropriate examples.

Q.2 (a) An Airline Check-in System is to be developed to allow passengers to

check in and get the boarding pass for flying. The baggage can also be

checked-in, which is optional. The check-in can happen by the counter

clerk or by the passenger using this system. The system should allow

individuals as well as group of passengers to check-in through the system.

The boarding pass can be issued through this system. Passengers below 4

yrs. need not have tickets. The airport also allows to provision for the

special needs of passengers like wheelchair etc. The system should also be

able to capture the fact that the baggage for a passenger is screened by

security. Identify Use Cases for this system. Draw Use Case Diagram for

the above scenario.

Page 1 of 2

(b) You have been asked to develop a system for a local Thai food takeaway shop Curry Yum. The system should allow customers to order their Thai curries over the internet and collect them (and pay) at the shop. Customers do not register with the system but they do need to supply a contact phone number. A Curry has a price derived from its size, type (red, green, or yellow) and protein. A Curry has only one protein (chicken, beef, pork, tofu or prawn). Each type of protein has a different price. Customers have Orders and each Order is for one Customer. An Order consists of a number Items, and has a collection time. An Item is a Curry, Rice or a Drink. To place an order the customer must supply a contact phone number and name. When the order is submitted the customer receives a confirmation message along with the final cost of the order and a collection time. The system calculates the collection time based on the number of orders currently being processed and the average time to fill an order.

(i) Draw the Sequence Diagram for the above mentioned system. (ii) Draw the Collaboration Diagram for this system.

Q.3 (a) Explain the Unified Process Model and its characteristics. Further, discuss the different phases of a unified process cycle in detail.

b) Describe types of coupling and cohesion with the help of suitable examples.

Q.4 (a) Prepare an Activity-On-Arc (AOA) network model for optimal scheduling of tasks given in the following precedence table and find the critical path in the project.

Task Name A B C D E F (^) G

Predecessor -- -- A B A, D C, E F

Time (Days)

Note: Tasks "A" and "B" do not require any predecessor task to complete before their execution.

(b) "The basic model of Constructive Cost Model (COCOMO) considers three modes of software development: organic, semi-detached and embedded". Write the values of COCOMO coefficients (ab, bb, cb, db) for these three modes (organic, semi-detached and embedded).

(c) Suppose that a project was estimated to be 500 KLOC and the deadline of the project is tight. Compute the effort and average staff size using COCOMO basic model.

(d) Write a short note on Data-Centred Architectural Style and Call — And — Return Architectural Style.

(e) Describe the design steps to map a DFD with transaction flow characteristics into a software architecture.

Page 2 of 2