You are on page 1of 3

CSSE 3113: Software Engineering

Assignment 2
Session: FALL 2019

➢ Deadline Date: 21/NOVEMBER/01:00 PM (HARDCOPY IN CLASS+SOFTCOPY ON


LMS)
➢ Viva/Quiz may be conducted ON 21-11-2019, AFTER SUBMISSION OF
ASSIGNMENT for evaluation
➢ SUBMIT HANDWRITTEN SOLUTION IN CLASS AND SCANNED COPIES ON LMS
(LATE PENALTY 25% PER DAY)
➢ PRINT AND ATTACH THIS TITLE PAGE TO YOUR ASSIGNMENT (10 MARKS)
➢ Write in your own words to answer the following, if you use material from any book/website apart
from your recommended book please provide relevant references. All work will be assumed yours
otherwise.
➢ Justify your answers where needed. Explain briefly and concisely
➢ DECLARATION

I SOLEMNLY DECLARE ALL THE MATERIAL PROVIDED IN ASSIGNMENT HAS BEEN DONE BY ME
AND/OR PROPERLY REFERENCED & ALL INFO PROVIDED IS CORRECT

➢ TITLE OF FILE SUBMITTED IN SOFTCOPY

PARTS PARTS NOT


QUESTION NO PARTS ATTEMPTED
ATTEMPTED ATTEMPTE
COMPLETELY
PARTIALLY
1
2
3
4
5
6

➢ SIGNATURE & NAME


CSSE 3113: Software Engineering
Topic: Requirements
Questions 1: (Marks 10)
Requirements should be Correct, Consistent, Unambiguous, Complete, Testable and Traceable.
Explain these terms with the help of example. For example given below is sample solution to
solve the question.

Requirement Completeness
A professor user will log into the system by A professor will log into the system as a user
providing his username, password, and other by providing his username, password and
relevant information department code

Question 2: (Marks 6)
Specify which of the following statements are functional requirements and which
are nonfunctional requirements:
1. “The ticket distributor must enable a traveler to buy weekly passes.”
2. “The ticket distributor must be written in Java.”
3. “The ticket distributor must be easy to use.”

Questions 3: (Marks 6)
Specify which of the following decisions were made during requirements or system
design:
1. “The ticket distributor is composed of a user interface subsystem, a subsystem for
computing tariff, and a network subsystem managing communication with the central
computer.”
2. “The ticket distributor will use PowerPC processor chips.”
3. “The ticket distributor provides the traveler with an on-line help.”

Question 4: (Marks 8)
A passenger aircraft is composed of several millions of individual parts and requires
thousands of persons to assemble. A four-lane highway bridge is another example of
complexity. The first version of Word for Windows, a word processor released by Microsoft
in November 1989, required 55 person-years, resulted into 249,000 lines of source code, and
was delivered 4 years late. Aircraft and highway bridges are usually delivered on time and
below budget, whereas software is often not. Discuss, what are the differences between
developing an aircraft, a bridge, and a word processor? which would cause this situation.

Topic: Class Diagram


Questions 5: (Marks 20)
A company consists of departments. Departments are located in one or more offices.
One office acts as a headquarter. Each department has a manager who is recruited from a set of
employees. You task is to Draw a class diagram which consists of all the classes in your system
their attributes and operations, relationships between the classes, multiplicity specifications,
and other model elements that you find appropriate.
CSSE 3113: Software Engineering
Question 6: (Marks 20)
You have just been hired to design a system for all Pakistan airports. Create a UML class
diagram that will communicate with your clients how you will organize the different classes in
the system. The following description was given to you by your clients.

“There are multiple airports all over Pakistan. The airports each have their own an assigned
unique ID. Each airport has multiple Airlines and each airline has different types of planes,
pilots and staff members. The planes each have an associated plane number and model number.
Each airline has planes assigned to flights to different destinations for certain dates. Each of
these flights have a flight ID number and the locations of departure and arrival. Customers are
able to book these flights and will be given a ticket with their ticket number and seating number.
All staff should have an assigned employee number and each pilot should provide their pilot
licence number in the system. All persons in the system should have their fullname and an ID
number”.

Topic: Decision Table


Question 7: (Marks 10)

No charges are reimbursed to the patient until the deductible has been met. After the
deductible has been met, reimburse 50% for Doctor's Office visits (D) or 80% for Hospital
visits (H). There will be 4 rules. The first condition (Is the deductible met?) has two possible
outcomes, yes or no. The second condition (type of visit) has two possible outcomes, Doctor's
office visit (D) or Hospital visit (H). Two times two is four

Conditions 1 2 3 4

1. Deductible met?

2. Type of visit

Actions

1. Reimburse 50%

2. Reimburse 80%

3. No reimbursement
.
Question 8: (Marks 10)

Members of the book club whose orders exceed £100 a year and have a good payment
record are given priority treatment. Where a membership has been over 10 years, the member
will get priority treatment if the orders exceed £100 a year, in which case the club is prepared
to overlook a poor payment record. If the orders placed by a member of more than 10 years’
standing do not exceed £100 during the year, but the member has a good payment record, then
priority treatment is also given. In all other circumstances, the order is given normal treatment.

You might also like