L2 Fundamental Knowledge
L2 Fundamental Knowledge
Engineering
Lecture 2
Topics covered
2
Frequently asked question : Software
Engineering
Question Answer
6
Essential attributes of good software
Product characteristic Description
7
General issues that affect most software
• Heterogeneity
– Increasingly, systems are required to operate as distributed
systems across networks that include different types of
computer and mobile devices.
• Business and social change
– Business and society are changing incredibly quickly as
emerging economies develop and new technologies
become available. They need to be able to change their
existing software and to rapidly develop new software.
• Security and trust
– As software is intertwined with all aspects of our lives, it is
essential that we can trust that software.
8
Software process activities
• system software
• application software
• engineering/scientific software
• embedded software
• product-line software
• WebApps (Web applications)
• AI software
10
Software—New Categories
• Open world computing—pervasive, distributed
computing
• Ubiquitous computing—wireless networks
• Net sourcing—the Web as a computing engine
• Open source—”free” source code open to the
computing community (a blessing, but also a potential
curse!)
11
Legacy Software
Why must it change?
– software must be adapted to meet the needs of new
computing environments or technology.
– software must be enhanced to implement new
business requirements.
– software must be extended to make it interoperable
with other more modern systems or databases.
– software must be re-architected to make it viable
within a network environment.
12
Characteristics of WebApps -
I
• Network intensiveness. A WebApp resides on a network and
must serve the needs of a diverse community of clients.
• Concurrency. A large number of users may access the WebApp
at one time.
• Unpredictable load. The number of users of the WebApp may
vary by orders of magnitude from day to day.
• Performance. If a WebApp user must wait too long (for access,
for server-side processing, for client-side formatting and display),
he or she may decide to go elsewhere.
• Availability. Although expectation of 100 percent availability is
unreasonable, users of popular WebApps often demand access
on a “24/7/365” basis.
13
Characteristics of WebApps - II
• Data driven. The primary function of many WebApps is to use
hypermedia to present text, graphics, audio, and video content to the
end-user.
• Content sensitive. The quality and aesthetic nature of content
remains an important determinant of the quality of a WebApp.
• Continuous evolution. Unlike conventional application software that
evolves over a series of planned, chronologically-spaced releases,
Web applications evolve continuously.
• Immediacy. Although immediacy—the compelling need to get
software to market quickly—is a characteristic of many application
domains, WebApps often exhibit a time to market that can be a matter
of a few days or weeks.
• Security. Because WebApps are available via network access, it is
difficult, if not impossible, to limit the population of end-users who may
access the application.
• Aesthetics. An undeniable part of the appeal of a WebApp is its look
and feel. 14
E-Commerce
15
Embedded control systems
16
Batch processing systems
17
Entertainment systems
18
Systems for modelling and simulation
19
Cloud Computing
20
Software Engineering: The Fundamental
Principles
• Some fundamental principles apply to all types of software
system, irrespective of the development techniques used:
21
Software engineering Ethics
22
Issues of professional responsibility
• Confidentiality
– Engineers should normally respect the confidentiality of
their employers or clients irrespective of whether or not
a formal confidentiality agreement has been signed.
• Competence
– Engineers should not misrepresent their level of
competence. They should not knowingly accept work
which is out with their competence.
23
Issues of professional responsibility
26
27
Insulin pump hardware architecture
28
Activity model of the insulin pump
29
Essential high-level requirements
30
A patient information system for mental health care
• To make it easier for patients to attend, these clinics are not just
run in hospitals. They may also be held in local medical practices
or community centres.
31
MHC-PMS
• When the local systems have secure network access, they use
patient information in the database but they can download and
use local copies of patient records when they are disconnected.
32
MHC-PMS goals
33
The organization of the MHC-PMS
34
MHC-PMS key features
• Patient monitoring
– The system monitors the records of patients that are involved in treatment
and issues warnings if possible problems are detected.
• Administrative reporting
– The system generates monthly management reports showing the number of
patients treated at each clinic, the number of patients who have entered and
left the care system, number of patients sectioned, the drugs prescribed and
their costs, etc.
35
MHC-PMS concerns
• Privacy
– It is essential that patient information is confidential and is never
disclosed to anyone apart from authorised medical staff and the
patient themselves.
• Safety
– Some mental illnesses cause patients to become suicidal or a
danger to other people. Wherever possible, the system should warn
medical staff about potentially suicidal or dangerous patients.
– The system must be available when needed otherwise safety may
be compromised and it may be impossible to prescribe the correct
medication to patients.
36
Wilderness weather station
37
The weather station’s environment
38
Weather information system
40
A Layered Technology
Foundation of
Encompass SE
Array of
Tasks tool
s
metho
ds
process
model
a “quality”
focus
Software Engineering
Quality Focus
At first ensure the professional quality
Process
Enable timely delivery through framework and work products(models,
docs, report etc.)
Ensure technical method
Ensure the model and change is properly managed
Method
Define “how to” ’s and define broad array of tusks
Include communication, analysis, designing, program construction, testing
and support.
Tools
Provide support for the process and method.
42
Framework
Activities
• Communication
• Planning
• Modeling
– Analysis of requirements
– Design
• Construction
– Code generation
– Testing
• Deployment
43
Generic View of Process
– Timely Delivery
– High quality Result
44
Software Process Framework
Activity
45
Umbrella
Activities
• Software project management
• Formal technical reviews
• Software quality assurance
• Software configuration management
• Work product preparation and production
• Reusability management
• Measurement
• Risk management
46
Key points
• Professional societies publish codes of conduct which set out the standards of
behaviour expected of their members.
47