0% found this document useful (0 votes)
4 views12 pages

HomeWork 1 Software Engineering CU

The document discusses key concepts in software engineering, including the importance of developing maintainable, dependable, and secure software that meets customer needs. It outlines various factors influencing software development techniques, such as costs, non-functional requirements, and software lifetimes. Additionally, it covers object-oriented design principles, including actors in a system, use cases, and class relationships.

Uploaded by

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

HomeWork 1 Software Engineering CU

The document discusses key concepts in software engineering, including the importance of developing maintainable, dependable, and secure software that meets customer needs. It outlines various factors influencing software development techniques, such as costs, non-functional requirements, and software lifetimes. Additionally, it covers object-oriented design principles, including actors in a system, use cases, and class relationships.

Uploaded by

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

Assignment1 Cs303

Chapter 1 (Sommerville)
Question 1.1:
for the of professional software development, we aren’t
look for the final state only , as we need to create a
software that meets customer need and can adapt ‘th
future challenges, We need (Acceptable, Dependable and
Securable, efficient, Maintainable) Software , It also must
avoid software issues (Heterogeneity, Security and trust)

Question 1.3:
Software Engineering reduce the cost of the testing and
fixing bugs as The product is Maintainable easy to
maintain and update, reducing the long-term costs
associated with patches, reducing the risk as we make
reliable product.

Question 1.5:
Different application types use of different development
techniques for many reasons:
1) Costs and frequency of change. Some systems (such
as embedded systems in consumer devices) are
extremely expensive to change; others, must change
frequently in response to changing requirements (e.g.
business systems). Systems which are very expensive to
change need extensive up
analysis to ensure that the requirements are consistent
and extensive test to ensure that the system meets its
specification.

2) The most important ‘non-functional’ requirements.


Different systems have
different priorities for non-functional requirements. For
example, a real-time
control system in an aircraft has safety as its principal
priority; an interactive
game has responsiveness and usability as its priority. The
techniques used to
achieve safety are not required for interactive gaming;
the extensive UI
design required for games is not needed in safety-critical
control systems.
3)The software lifetime and delivery schedule

Question 1.6:
1) process: sequence of activities that lead to the
production of software product include (Specification,
development, validation and evolution ) aim to have a
clear goal for team to manage tasks
2)Dependability: Reliability of the software system
3)Requirements management : to Prioritise
tasks ,documenting requirements and make specific
goals this step at system specification
4) Reuse : making new software from the old one instead
of starting from scratch
And this save time , effort and money

Chapter 2 (Object-Oriented)
Question 2.1:
Actors here are external entities that interacts ’th the
Atm system
Three actors are :
1)Customer : the person who withdraw and deposit and
Transfer money from the ATM
2)Developers : who develop the system software

3)Maintainance people : Who refill cash and performing


repair for the Machine
Question 2.3:
Use case : formalized description ’ch describe the
functions of the system from the user’s point of view and
We use during requirements analysis
Scenario: instance of use case describing a concrete set
of actions and we use during design and testing phases
Question 2.4:
<<extend

Tickets
Question 2.5:
---------------------------------------------------------------------------------
----
---------------------------------------------------------------------------------
----
Use case name : UpdateTariff
---------------------------------------------------------------------------------
----
---------------------------------------------------------------------------------
----Participating actor Initiated by
CentralComputerSystem
---------------------------------------------------------------------------------
----
---------------------------------------------------------------------------------
----
Flow of events
---------------------------------------------------------------------------------
----
---------------------------------------------------------------------------------
----
1. The CentralComputerSystem activates the
“UpdateTariff” function of the ticket distributors available
on the network.
2. The ticket distributor disables the traveler interface
and posts a sign indicating
that the ticket distributor is under maintenance.
3. The ticket distributor waits for the new database from
the
CentralComputerSystem.
4. After waiting a minute for the ticket distributors to
reach a waiting state, the CentralComputerSystem
broadcasts the new database.
5. The ticket distributor system receives the new
database of tariff. Upon complete,
the ticket distributor sends an acknowledgement to the
CentralComputerSystem.
6. After acknowledgment, the ticket distributor enables
the traveler interface and
can issue tickets at the new tariff.
7. The CentralComputerSystem checks if all ticket
distributors have acknowledged the new database. If not,
the CentralComputerSystem invokes the
CheckNonRespondingDistributors use case.
Entry condition
i)The ticket distributor is connected to a network
reachable by the CentralComputerSystem.
---------------------------------------------------------------------------------
----
---------------------------------------------------------------------------------
----
Exit condition
---------------------------------------------------------------------------------
----
---------------------------------------------------------------------------------
----
i)The ticket distributor can issue tickets under the new
tariff, OR
ii) The ticket distributor is disabled and displays a sign
denoting that it is under maintenance.
---------------------------------------------------------------------------------
----
---------------------------------------------------------------------------------
----
Quality requirements
---------------------------------------------------------------------------------
----
---------------------------------------------------------------------------------
----
The ticket distributor stays offline at most 2 minutes and
is considered out-of-order otherwise.
---------------------------------------------------------------------------------
----
Question 2.6:
We Know that without parts the book can’t exists but we
can make parts without book so 1 book contain many
parts
Same in part and chapters same in chapter and Sections
So, we have 4 classes ‘th Aggregation relation ship
between each
Book
1

M
Part
1
M
Chapter
1

M
Section

Question 2.9:
2–9 Extend the class diagram of Exercise 2–6 to include
the following attributes:
book includes a publisher, publication date, and an ISBN
part includes a title and a number
chapter includes a title, a number, and an abstract
section includes a title and a number
Question 2.10:
Components
title:String
dvczv
number:Integer

Question 2.13:
Question 2.15:

Start

Pick the
phone

choose Wait for RecieveO end


Eat pizza
Order Order rder

Question 2.16:
We have 3 exceptions ‘ch are (delivery person wrote
down wrong address, delivery person brings wrong pizza,
store out of anchovies)
In case delievery wrote wrong address : He will call
customer again
In case delivery person brings wrong pizza or store out of
anchovies the order ‘ll be cancelled

Start delievery brings wrong


call customer
sdpif pizza
delivery wrote
wrong address
Pick the
phone

choose Wait for RecieveO end


Eat pizza
Order Order rder

store out of
anchovies

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy