You are on page 1of 10

Pir Mehr Ali Shah

Arid Agriculture University, Rawalpindi


Office of the controller of Examinations
Mid Exam / Fall 2020 (Paper Duration 12 hours)
To be filled by Teacher

Course No.: CS-552 Course Title: Software Engineering-II (Paper-B)


Total Marks: 18 Date of Exam: November 7, 2020
Degree: BSIT/BSCS (Hons.) Semester: Fall 2020 Section: A/B
Marks
Q.No. 1 2 3 4 5 6 7 8 9 10 Obtained/
Total Marks
Marks
Obtained
Total Marks in Words:
Name of the teacher: Zainab Mahmood
Who taught the course: Signature of teacher/Examiner:

To be filled by Student

Registration No.: …17-Arid-519…………………………….……… Name:...Abdul Rehman……………………………..

Instructions:
• Attempt all questions and marks are written adjacent to each question.
• Carefully read the question and ensure that you will completely answer all parts of the
question.
• Don’t ask any questions related to the content of examination to anyone.
• If you think there is something wrong about any question, attempt it to the best of your
understanding. Write all steps, missing steps may lead to deduction of marks.
• If you believe some important piece of information is missing in question, you are allowed to
make an appropriate assumption to solve the question.
• You can create answer space for the answer as per your need, but the answer should be
related to question asked
• Submit the file with the name CS-552-Software Engineering-II -Midterm Exam -Registration
NO.
• While submitting your file on portal ensure that you have chosen the right file and recheck
twice to avoid any inconvenience.
• Once you have submitted and deadline reached no one can submit/resubmit their midterm
exam paper.
• Plagiarized content/diagram/graph/design shall not be accepted in any case. You are
advised to not share solution ideas with your peers, in case of observed plagiarized content all
who commit plagiarism will get zero marks.
Question No 1: [Marks 4]

A banking system provides users with several services through mobile application. The bank
customer can check their accounts, see recent transactions and current available balances, pay
utilities bills online and buy and sell investments. All these services require a secure log-in of
customer. If the system crashes or the network connection fails during a transaction, it is
essential that all the financial data is left in a consistent state.

a) Draw use case diagram(s) for these requirements. (2 Points)


b) Write the formal use case for paying a bill online. (2 Points)

Question No 1: [Marks
4]

i. Draw use case diagram(s) for these requirements. (2 Points)

Answer#

Banking system application

Login

<<Include>>
<<Include>>

Account

Transactions
<<Extend>> <<Extend>>

Customer Bank

Current balance <<Extend>> Pay utility bills


<<Extend>>

Sell Investment Buy Investment


ii. Write the formal use case for paying a bill online. (2 Points)

Answer#

Goal Customer wants to pay the utility bill online


Primary Customer
Scope Banking system application
Level User level
Precondition User is at the login screen
Success Online bill paid successfully
Failure end Bill is not paid
condition
Trigger Customer logs into application
Main success Customer enters the username and password.
scenario System verifies and logs customer in
System present catalog with transactions option
Customer select pay bill online and enter reference number of the
bill.
Conform the transaction
Bill paid successfully
Extensions Username and password is incorrect
(Error) a) System returns customer to login
b) Customer backs out or try again
System cannot find bill reference number
Variation No alternatives
(Alternatives
)

Question No 2: [Marks 14]


XEME engineering is a general light engineering company that specializes in metallic
fixtures and fittings. It manufactures various products to customer order, and also has long
term contracts to supply manufactured products to other companies. XEME is a “jobbing
shop” involving craftspeople making specialized complete products it is not a production line
operation. The craftspeople work on early (6am – 2pm) and late (2pm – 10pm) shifts 5 days a
week, and sometimes do overtime on Saturdays. The factory is always closed on Sundays.
Each shift has a supervisor. The management team consists of the Managing Director,
Accountant and Sales Manager. They are assisted by two Administrative Assistants who work
Monday to Friday, 8.30am to 5.30pm. The management team has decided that, in order to
become more competitive, it needs more and better information on the costs involved in
manufacturing. It wants to build up a database of time and cost information per
manufacturing job, so that future work can be priced more accurately. This will involve
recording the time spent on each manufacturing job, the costs of materials used, and the
overhead costs. One problem is that XEME’s craftspeople have always had a free hand to
carry out their work however they like, as long as the finished fixtures and fittings conform to
specification and meet deadlines. The MD has engaged an IT consultancy company to
analyze the requirements and design a system to meet them. The team will include a
consultant with extensive experience of implementing manufacturing control systems. XEME
has provided the following list of requirements to the consultancy company:

1. The system is to log the craftsperson, start and finish time and materials used for
each manufacturing job. This must be possible on all shifts, including overtime.
2. The data for time and materials used is to be captured on touch screens next to the
machines on the factory floor so that the craftsperson’s work is not disrupted. This
facility is to be usable in a noisy and dirty workshop environment.
3. The system is to calculate material costs and overhead costs incurred for each
manufacturing job.
4. The system is to provide a “time spent” analysis (time to set up, time per step,
rework time) report of the work done by each craftsperson.
5. The managing director would like a data mining type function to drill down on
historic data and look at costs in total, or per product range, or per product type, or per
craftsperson, over a flexible period of time, or for an individual piece of work.
6. The sales manager has asked for secure remote access via VPN using a laptop to the
historic data on the system when working away from the office.

Answer the following questions based on scenario stated above

a) Identify what business benefits will company hope to achieve after this system
release. (2 Points)
b) Write a vision statement for software product that will satisfy the needs and
requirements of stakeholders. (2 Points)
c) List down all functional and non-functional requirements of system. (2 Points)
d) Define formal use cases for any one functional requirements of system (2
Points)
e) Draw full use case diagram for system. (2 Points)
f) Describe the stated functional requirements in hierarchy textual tags that we
have discussed in class. (4 Points)
Question No 2: [Marks 14]
Answer the following questions based on scenario stated above

a) Identify what business benefits will company hope to achieve after this
system release.

Answer#
The Benefits XEME company will achieve after the first release:

 The organization supposed to increase its future work priced accuracy by 40-50%.
 It is assumed that the work load of management team will reduce by 30-40%.
 The chances to meet dead line will be increased by 60-70% due to availing status
of fixture and fitting details.
 The system will discipline and orders will be increased by 30-40%.
 Software will reduce the time taken by the craftspeople to manufacture the
product by 10-20%. This will increase the average work done by the craftspeople.

b) Write a vision statement for software product that will satisfy the needs
and requirements of stakeholders.
Answer#
For XEME’s engineering who wants to develop XEME jobbing shop management system
for managing the time and cost information per manufacturing job, the XEME jobbing shop
management system is desktop management system that will manage log the craftsperson,
start and finish time and materials used for each manufacturing job, to calculate material
costs and overhead costs incurred for each manufacturing, time spent analysis, data mining
and report generation. Unlike the current simple manual indiscipline management team.

c) List down all functional and non-functional requirements of system.


Answer#
Functional requirements:
This system will involve:
 Log the craftsperson
 Calculate costs
 Time spent analysis
 Data mining
 Remote access
Non-functional requirements:
 Maintenance
 Information accuracy
 Efficiency (time saving)
 Reliability

d) Describe the stated functional requirements in hierarchy textual tags that


we have discussed in class.
Answer#
The formal use case for Sales Manager.
Goal Sales manager wants secure Remote Access

Primary actor Sales Manager

Scope XEME jobbing shop management system

Level User level

Precondition Sales manager must away from the office and has a VPN

Success end Access successfully provided

Failure end Access denied

Trigger Sales manager request for the secure remote access

Main success Sales manager must away from the office and has a VPN
scenario Sales manager request for the secure remote access via VPN
System granted the remote access successfully
Extensions(error Access denied
scenario) System cannot find the VPN
VPN not connected
Variation No alternatives
(alternatives)

e) Draw full use case diagram for system.


Answer#
Log craftsperson
Calculate costs
Report (Time spent analysis)
Data mining
Remote access

XEME management System

Craftsperson Log craftsperson

<<include>> <<include>>

<<include>>

Start time n material


n

finish time
n
Managing Director

Data mining

Time spent report

Accountant System

Calculate costs
<<Extend>>
<<Extend>>

Material cost overhead cost

Sales Manager

Remote access VPN

f) Describe the stated functional requirements in hierarchy textual tags that


we have discussed in class.
Answer#
1.System Features
1.1. Log craftsperson through the system
1.1.1. Description:
A XEME managing director whose identity has been verified can log the craftsperson,
start and finish time and materials used for each manufacturing job. This must be
possible on all shifts, including overtime. Priority = High.
1.1.2 Functional Requirements
System Feature Description
Craftsperson Log the craftsperson
. Login: The managing director must login to log the craftsperson.
.NO: If the managing director not login to system so the system shall give
the option to login now and continue to log the craftsperson.
. Shifts: There are 3 shifts. Two shifts compulsory from Monday to Friday and
. Time: the 3rd shift is not compulsory that includes the overtime if needed.
Log the details of start/finish time. The start time of the first shift is
6am and the 2nd shift 2pm. And the finish time of the first shift ends at
2pm and for 2nd shift is 10pm.
. Material used: Log the materials used (metallic fixtures and fittings) for each
manufacturing job. This must be possible on all shifts, including
overtime.

1.2. Cost Calculation:


1.2.1. Description
It deals with the cost that is used in the manufacturing a product ordered by companies or
customers. Material costs are used in the production process.

1.2.2 Functional Requirements

System Feature Description


Cost Calculate the costs
. Materials cost: It deals with the cost that is used in the manufacturing a product
ordered by company or customers. Material (metallic fixtures and
fittings) costs are used in the production process incurred for each
manufacturing job.
. Overhead cost: Overheads refer to ongoing business costs that are not directly related
to creating a product or service. This is important not only for
budgeting purposes, but also for determining how much a company
has to charge for a product or service to make a profit.

1.3. Report (Time spent analysis):


1.3.1. Description
The system is to provide a “time spent” analysis (time to set up, time per step, rework time)
report of the work done by each craftsperson.
1.3.2 Functional Requirements

System Feature Description


Time.report “Time spent” analysis:
. Select: The managing director select the shift that he wants the time analysis
report.
. Report: The system is to provide a “time spent” analysis (time to set up, time
per step, rework time) report of the work done by each craftsperson.
. Failure: Conflicts between the three shifts because of 5 working days that
Monday-Friday and the overtime shift is on Saturday.

1.3. Data Mining:


1.3.1. Description
A data mining feature that digs deeper into historical data and displays the total cost of a
flexible time period or single task by product range, product type, or craftsmanship.

1.3.2 Functional Requirements

System Feature Description


. Data Data Mining
. Mining: The managing director would direct data mining function to drill
down on historic data.
. Menu: Look at costs in total, or per product range, or per product type, or
per craftsperson, over a flexible period of time, or for an individual
piece of work.

1.3. Secure Remote Access:


1.3.1. Description
The sales manager uses the laptop to access historical data on the system over a VPN while
working away from the office.

1.3.2 Functional Requirements

System Feature Description


. Remote.Access Secure Remote Access
. Location: The location of the sales manager must away from the office.
. VPN: The sales manager must have VPN to asked for secure remote access
using a laptop to the historic data on the system when working away
from the office.
. Request: Sales manager request for the secure remote access via VPN.
. Response: System can confirm the request of the sales manager. System has
granted the remote access to the sales manager

***THE END***

You might also like