Docsity

Software Engineering: Definition, Challenges, and Importance, Exams of Computer Science

Toggle sidebar
bg1
Burhan Mohy-ud-Din
Introduction to Software Engineering
What is a software?
Many people equate the term software with computer programs. However, I
prefer a broader definition where software is not just the programs but also all
associated documentation and configuration data that is needed to make these
programs operate correctly. A software system usually consists of a number of
separate programs, configuration files, which are used to set up these programs,
system documentation, which describes the structure of the system, and user
documentation, which explains how to use the system and web sites for users to
download recent product information.
Software engineers are concerned with developing software products, i.e., software
which can be sold to a customer. There are two fundamental types of software
product
1. Generic products These are stand-alone systems that are produced by a
development organization and sold on the open market to any customer who is able
to buy them. Examples of this type of product include software such as databases,
word processors, drawing packages and project management tools.
2. Customized (or bespoke) products These are systems which are commissioned
by a particular customer. A software contractor develops the software especially
for that customer. Examples of this type of software include control systems for
electronic devices, systems written to support a particular business process and air
traffic control systems.
Software Crisis:
Software crisis was a term used in the early days of computing science for
the difficulty of writing useful and efficient computer programs in the required
time. The software crisis was due to the rapid increases in computer power and the
complexity of the problems that could be tackled. With the increase in the
complexity of the software, many software problems arose because existing
methods were neither sufficient nor up to the mark.
The causes of the software crisis were linked to the overall complexity of hardware
and the software development process. The crisis manifested itself in several ways:
• Projects running over-budget.
• Projects running over-time.
Software was very inefficient.
References: Software Engineering by IAN SOMMERWILLE
Software Engineering: A Practitioner Approach by ROGER S.PRESSMAN
pf3
pf4
pf5

Partial preview of the text

Download Software Engineering: Definition, Challenges, and Importance and more Exams Computer Science in PDF only on Docsity!

Introduction to Software Engineering

What is a software? Many people equate the term software with computer programs. However, I prefer a broader definition where software is not just the programs but also all associated documentation and configuration data that is needed to make these programs operate correctly. A software system usually consists of a number of separate programs, configuration files, which are used to set up these programs, system documentation, which describes the structure of the system, and user documentation, which explains how to use the system and web sites for users to download recent product information. Software engineers are concerned with developing software products, i.e., software which can be sold to a customer. There are two fundamental types of software product

  1. Generic products These are stand-alone systems that are produced by a development organization and sold on the open market to any customer who is able to buy them. Examples of this type of product include software such as databases, word processors, drawing packages and project management tools. 2. Customized (or bespoke) products These are systems which are commissioned by a particular customer. A software contractor develops the software especially for that customer. Examples of this type of software include control systems for electronic devices, systems written to support a particular business process and air traffic control systems. Software Crisis: Software crisis was a term used in the early days of computing science for the difficulty of writing useful and efficient computer programs in the required time. The software crisis was due to the rapid increases in computer power and the complexity of the problems that could be tackled. With the increase in the complexity of the software, many software problems arose because existing methods were neither sufficient nor up to the mark. The causes of the software crisis were linked to the overall complexity of hardware and the software development process. The crisis manifested itself in several ways: ^ •^ Projects running over-budget. ^ •^ Projects running over-time. Software was very inefficient. References: Software Engineering by IAN SOMMERWILLE

^ •^ Software was of low quality. ^ •^ Software often did not meet requirements. Projects were unmanageable and code difficult to maintain. Software was never delivered.  Why is it important?  Undoubtedly software is playing a vital role in all the field of life these days. We can see many software applications being operated around us in our daily routine. Some of the major areas in which software has played an important role ^ are identified as under. Business decision-making: Software systems have played a major role in businesses where you have to analyze your data and on the basis of that analysis you have to make business decisions. This process of data analysis and decision- making has become very accurate and easy by the use of software. Modern scientific investigation and engineering problem solving: Scientific investigations and engineering problem solving require an intensive amount of calculations and data analysis. The accuracy of these analyses is also very important in scientific applications. This process has become very easy and accurate by the use of software. For example software systems are becoming more involved in bioinformatics and the process of DNA decoding is only possible by the use of software systems. Similarly many astronomical observations are being recorded and analyzed by the software systems these days.  ^ Games-We see many computer games these days that interests people of all ages. ^ All these games are drive through software systems.

Embedded systems-We see many kinds of gadgets being employed in our

daily used things, like small microcontrollers used in our cars, televisions,

microwave ovens etc. All these systems are controlled through the software.

Similarly in many other fields like education, office automation, Internet

applications etc, software is being used. Due to its central importance and

massive use in many fields it is contributing a lot in terms of economic

activity started by the software products. Billions and trillions of dollars are

being invested in this field throughout the world every year.

    Software Engineering:  References: Software Engineering by IAN SOMMERWILLE

program and associated documentation. Examples of these attributes (sometimes called nonfunctional attributes) are the software s response time to a user query and the understandability of the program code. The specific set of attributes that you might expect from a software system obviously depends on its application. Software should be written in such a way that it may evolve to meet the changing needs of customers. This is critical attribute because software change is an inevitable consequence of a changing business environment Software dependability has a range of characteristics, including reliability, security and safety. Dependable Software should not cause physical or economic damage in the event of system failure. Software should not make wasteful use of system resources such as memory and processor cycles. Efficiency therefore includes responsiveness, processing time, memory utilization, etc. Software must be usable, without undue effort, by the type of user for whom it is designed. This means that it should have an appropriate user interface and adequate documentation. Software must be responsive, reliable. Balancing Act: Software Engineering is actually the balancing act. You have to balance many things like cost, user friendliness, Efficiency, Reliability etc. You have to analyze which one is the more important feature for your software is it reliability, efficiency, user friendliness or something else. There is always a trade-off among all these requirements of a software. It may be the case that if you try to make it more user-friendly then the efficiency may suffer. And if you try to make it more cost-effective then reliability may suffer. Therefore there is always a trade-off between these characteristics of software. These requirements may be conflicting. For example, there may be tension among the following: Cost vs. Efficiency Cost vs. Reliability Efficiency vs. User-interface References: Software Engineering by IAN SOMMERWILLE

A software engineer is required to analyze these conflicting entities and tries to strike a balance. Challenge is to balance these requirements:

Software Engineers always confront with the challenge to make a good

balance of all these things depending on the requirements of the particular

software system at hand. He should analyze how much weight should all

these things get such that it will have acceptable quality, acceptable

performance and will have acceptable user-interface.

In some software the efficiency is more important and desirable. For example

if we talk about a cruise missile or a nuclear reactor controller that are droved

by the software systems then performance and reliability is far more

important than the cost-effectiveness and user-friendliness. In these cases if

your software does not react within a certain amount of time then it may

result in the disaster like Chernobyl accident. Therefore software

development is a process of balancing among different characteristics of a

software described in the previous section. And it is an art to come up with

such a good balance and that art can be learned from experience.

Law of Diminishing Returns:

In order to understand this concept lets take a look at an example. Most

of you have noticed that if you dissolve sugar in a glass of water then the

sweetness of water will increase gradually. But at a certain level of saturation

no more sugar will dissolved into water. Therefore at that point of saturation

the sweetness of water will not increase even if you add more sugar into it.

The law of diminishing act describes the same phenomenon. Similar is

the case with software engineering. Whenever you perform any task like

improving the efficiency of the system, try to improve its quality or user

friendliness then all these things involve an element of cost. If the quality of

your system is not acceptable then with the investment of little money it

could be improved to a higher degree. But after reaching at a certain level of

quality the return on investment on the system’s quality will become reduced.

Meaning that the return on investment on quality of software will be less than

the effort or money we invest. Therefore, in most of the cases, after reaching

References: Software Engineering by IAN SOMMERWILLE

To address these challenges, we will need new tools and techniques as well as innovative ways of combining and using existing software engineering methods. Professional and ethical responsibility Like other engineering disciplines, software engineering is carried out within a legal and social framework that limits the freedom of engineers. Software engineers must accept that their job involves wider responsibilities than simply the application of technical skills. They must also behave in an ethical and morally responsible way if they are to be respected as professionals. It goes without saying that you should always uphold normal standards of honesty and integrity. You should not use your skills and abilities to behave in a dishonest way or in a way that will bring disrepute to the software engineering profession. However, there are areas where standards of acceptable behavior are not bounded by laws but by the more tenuous notion of professional responsibility. Some of these are:

1. Confidentiality You should normally respect the confidentiality of your employers or clients irrespective of whether a formal confidentiality agreement has been signed. 2. Competence You should not misrepresent your level of competence. You should not knowingly accept work that is outside your competence. 3. Intellectual property rights You should be aware of local laws governing the use of intellectual property such as patents and copyright. You should be careful to ensure that the intellectual property of employers and clients is protected. 4. Computer misuse You should not use your technical skills to misuse other people's computers. Computer misuse ranges from relatively trivial (game playing on an employer s machine, say) to extremely serious (dissemination of viruses). Professional societies and institutions have an important role to play in setting ethical standards. Organizations such as the ACM, the IEEE (Institute of Electrical and Electronic Engineers) and the British Computer Society publish a code of professional conduct or code of ethics. Members of these organizations undertake to follow that code when they sign up for membership. These codes of conduct are generally concerned with fundamental ethical behavior. References: Software Engineering by IAN SOMMERWILLE