CECS 7510 Assignment II
CECS 7510 Assignment II
As we can see from the image depending on the company and the risk they
have to manage they can permit lower or higher flaws per thousand of lines
of code. Imagine that NASA has a higher percentage, they produce
spaceships that have to be controlled by systems and without connection to
make an update they must work with what they have in space. There was a
problem one time where the programmer forgot to convert from English to
standard units resulting in catastrophic losses, but if the project does not
have so much risk and can be updated then they can have a higher
percentage because it does not represent a higher treat and in addition
ensuring that it have a lower percentage will cost money and time.
The number of flaws usually decreases as the life cycle progresses because
you spent considerable amount of time in the early stages detecting errors,
because the earlier you detect the errors the less costly it will be to fix them.
3. NotPetya Cyberattack
Location: USA
Location: USA
happened and how it happened and why. What was the root cause
of the problem? Was it a design problem? A testing problem? A
hardware failure? A software failure? Operator error?
Documentation error? Please give a detailed analysis in answering
these questions.
The Therac-25 tragedy was a problem with radiation that occurred in the
USA. A Software bugs in the Therac-25 radiation therapy overdose patients
with radiation, resulting in at least six accidents. The incidents highlighted
the dangers of software control in safety-critical systems without adequate
testing. The problem with the software was that sometimes it does not
change correctly from low power to high power meaning that patients that
needed a low power sometimes receive the high power variation resulting in
receiving a higher radiation dose. A software design failure cause the
incident because they eliminated a part that prevented hardware
interlocking so if the part was still in the system then the overdose would not
occur. Also during the testing phase of this project it was poorly tested,
because a proper test for the part that they removed would have throw the
error. With more preparation and analysis the lives of the affected could have
been saved because being infused with a high dose of radiation can lead to
serious consequences.