You are on page 1of 4

Indian Institute of Technology Bhubaneswar

Schoolof Electrical Sciences


Spring Mid-Semester Examination-2023
Subject Code: CS6LO34
Subject Name: Software Engineering
Name: RollNo:
Full Marks: 50
Date: 21.02.2023 Duration: 02 Hours

Answer a new section on a fresh page (strictly) and all parts of a section together.

Section A: Multiple choice questions (choose all correct options) 10*0.5 =5 Marks

M: Software engineering principles use which two important techniques to reduce problem complexity:
Aa) Abstraction (b) concretization
J¿) Decomposition (d) coupling

A2: In a prototyping Model, the actual system (after the prototype) is developed using
A(1 the classical waterfall approach (b) Evolutionary Model approach
(c) Spiral model approach (d) Iterative waterfall model

A3: In the waterfall model, unit testing is carried out during which one of the following phases?
(b) Testing (c) Design (d) Maintenance
(a) Coding

AA: SRS should specify


Ka) what the system must do and not say how to do it
(b) what the system must do and how to do it
(c) None of the above

.AS: Open-closed Principle says: a module should be


(a) ppen for modification but closed for extension
(b open for extension but closed for modification
(c) None of the above

A6: Composition is a stronger form of


(a) Aaggregation (b) Inheritance (c) Association (d) Dependency

1
LA7: An SRS document normally contains:
ta) Functional and non-functional requirements of the system
(b) Module structure (c) Configuration management plan (d) Allof the above

A8Which of the following pairs denote an abstraction (1S-A)?


a) (Dog, Animal) (b) (PDok, Chapter)
(c) (Arm, Leg)
( (Scooter,Vehicle)

1A9:. Consider a hospital management system. Which of the


doctor" class? following can be considered as a specialization class of

a Orthopedic Specialist
(c) Nurse bCardiologist
(d) Pharmacist
A10: The implementation of a use case in terms of
(a) Class diagram
specific method callsis depicted in a
(b) Use case diagram (ç/Sequence diagram (d) None

Section B: Answer the following questions briefly - Each


question carries 2 marks (5*2 =10 Marks)
, P1: what are the 3 types of
maintenance that a software product might need? Briefly explain.
B2: Whatdo you understand by the term
"phase containment of errors"? Briefly explain.
B3:What does the term "balancing a DFD" mean in the context of
Lsuitable example. structured analysis? Illustrate your answer with a

B4: What are the important activities carried out during


requirements gathering and analysis phase? What is the final
outcome of the requirements analysis and specification phase?
1 B5:What are the Different Types of Relationships among
Classes? Explain at least two of them briefly via examples.

Section C: Requirements Analysis and Specification -5 Marks

Consider that we want to set up a kiosk in our gym at SAC with the following simple features
first time), and login (everytime before using). such as registration (for the

1. Analyse (state your assumptions), and describe the detailed functional


requirements for this system (Take care
that the requirements are properly numbered).
2. Also provide a decision tree or a decision table for the above scenario and the functional
requirements identified.

2
Setion D: Structured analysis and design - 10 Marks
Perform structured analysis and structured design for developing the following "vending machine system" using the
Vstructured Analysis (SA)/Structured Design (SD) technique. Provide context diagram, level 1DFD, and structure chart.
Briefly explain your models. Provide adata dictionary based on your analysis outcome.
Avending machine sells small, packaged, ready to eat items (packaged drinks,chocolate bars, cookies, etc.). Each
item has a price and a name. Acustomer can buy an item, using a smart card (issued by the vending machine
Company) to pay for it. The smart card records on it the amount of money available.
An administrator should be able to set up the machine by defining the items sold and the price of items. The
system should be able to sell items to customers. Acustomer should be able to select from a list of items, pay for
the selected item and the system should finally distribute/release the item. Amaintenance person should be able
to recharge/stock the machine with items. The system should also offer functionality/ allowthe administrator to
monitor the system and obtain statistical information such as total revenue, and total number of items sold per
type).

Section E: Object Oriented Analysis and Design 2.5+3+1.5 =10 Marks


(EI)Draw a class diagram using the UML syntax to represent the fact that an orderRegister consists of many orders. Each
order consists of up to ten order items. Each order item contains the name of the item, its quantity and the date by which
it is required. Each order item is described by an item order specification object having details of an order item such as its
unit price,name and address of the manufacturer, and the warranty period and terms of warranty.

NOTE: ldentify what should be the classes as per the above description. Represent the relations among the
identified. Mention the attributes and methods that you identify as per your analysis. classes

, (E2) Consider the scenario of the printing the graduation degrees at our
responsible for printing the degrees willquery the student_data object forinstitute.
The graduation_report object
the relevant information which request the
CourseTaken objects for the courses the student has taken. These objects get information about the courses
Course objects. This way the final CGPA is printed by the object from the
the same. responsible for printing. Draw the Sequence Diagram for
Consider that "graduation report", "student data", "courseTaken" and
are involved in the above scenario. "course" are classes and objects of these classes
ldentify/clearly
these classes as per the information that can be mention which methods must be present in (supported by) each of
inferred from your segquence diagram.

(E3Y6riefly explain about the relations between classes in the below diagram:
1
Teacher teaches 1..3
Course
1.5

Students takes
10.100

3
tustoey

ender
Section F: Object Oriented Analysis and Design - 10 Marks baylesever

Consider the following required functionality of a print-on-demand service.


/supeien
The print-on-demand service provides customers the possibility to print posters, flyers, or books on demand. The
customer should be able to select atype of product (poster, flyer, or book), a desired quantity, and a paper type. In
case abook has to be printed, additionally the customer can choose between hard cover and soft cover. Finally, the
customer needs to provide a PDF file containing the desired content.
Inorder for the customer to be able to place an order, he or she must have an account. The customer can create an
account by choosing a username/password combination. Furthermore, his or her address and credit card number
can be linked to the account, which is required information when placing an order.
Once a customer has provided the information for an order, the system checks if all required information is there,
either given in the order (type of product,quantity, etc.), or in the account (address and payment information). If
any information is lacking, the system will inform the customer that it needs to be added before the order can be
placed. Once allinformation is in place, the order is placed, and the credit card information is sent to the bank for
approval. If the bank approves the card, the order is finalized.
Aprinting agent is in charge of actually performing the printing. He or she inspects the provided PDF files of
finalized orders. If a file does not meet the quality requirements, the customer will be informed about this, and the
order is temporarily put on hold until the customer has provided a new PDF fle.
Finally, the administrator monitors if at all times, sufficient paper and ink stock is present. Whenever the amount of
paper or ink is running low, an order must be placed at the appropriate supplier (either the paper or ink supplier).

): Find the various use cases of this system.


(2: Findthe actors and draw ause case diagram. Briefly describe /outline all the scenarios of each use case.
9 As per the initial understanding, what should be the classes, identify the relations among the casses, and the
essential attributes and methods in each class. Provide a class diagram.
(9¥ Consider any one important use-case. Provide asequence diagram for it (check whether you casses have the
required methods to handle the use-case, if not refine your classes by adding the required methods).

Clearly state any assumptions you make and provide appropriate brief explanation.

You might also like