Ethics for information age Chapter 8(Computer Reliability)

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

What is a race condition in software? Why are race conditions difficult to debug?

A race condition in software is a situation in which two or more concurrent tasks share a variable, and the order in which they read or write the value of the variable can affect the behavior of a program. Race conditions are difficult to debug, because in order for a failure to occur, the timing of events must be exactly right. Often the probability that an error will occur is very low.

What is an embedded system? What is a real-time system?

An embedded system is a computer used as a component of a larger system. A real-time system is a computer that processes data from sensors as events occur.

Why are computer simulations playing an increasingly important role in science and engineering?

Computer simulations are playing an increasingly important role in science and engi- neering because in many cases physical experiments are impossible to perform.

What is the significance of the court's ruling in Step-Saver Data Systems v. Wyse Technology and The Software Link?

The significance of the court's ruling in Step-Saver Data Systems v. Wyse Technology and The Software Link was that the purchase order, the invoice, and the oral statements constituted the contract, not the software license agreement.

What is the difference between a data entry error and a data retrieval error?

A data-entry error is an error resulting from incorrect data being entered into a com- puter system. A data-retrieval error is an error resulting from the output of a computer system being misunderstood.

What does a linear accelerator do?

A linear accelerator is a device that is used to treat cancer patients with radiation.

What reasons did the US Department of Justice give for no longer requiring the FBI to ensure the accuracy of information kept in the NCIC databases?

A lot of the information entered into the NCIC comes from other law enforcement and intelligence agencies. It is not practical for the FBI to check all of this information. Sometimes the veracity of information is questionable. Agents should be able to use their discretion is to determine which information may be useful in criminal investiga- tions. If all data had to be double-checked before being entered into the NCIC, there would be far fewer records in the NCIC, reducing its usefulness.

What is the difference between a model and a computer simulation?

A model is a representation of an actual system. There are different kinds of mod- els, including physical models and mathematical models. A computer simulation is a program that implements a mathematical model.

List five uses of computer simulation

Five uses of computer simulation are weather prediction, searching for oil, designing consumer products such as disposable diapers, simulating galactic evolution, and pre- dicting global population growth.

What was the most important difference between the Therac-20 and its successor, the Therac-25?

In the Therac-20 the PDP 11 minicomputer was an optional add-on. Hardware inter- locks to prevent accidental overdoses remained in place. In contrast, the PDP 11 front end computer was fully integrated into the Therac-25. Some hardware interlocks on the Therac-20 were replaced with software controls on the Therac-25.

Why do some people argue that shrink-wrap software should be exempt from the Uniform Commercial Code?

Some people argue that shrinkwrap software should be exempt from the Magnuson- Moss Warranty Act and Article 2 of the Uniform Commercial Code because there is no such thing as error-free software. A program is much more complicated than a pocket knife. If software manufacturers can be held liable for all sorts of damages caused by a bug in a program, less software will be available, and the software that is available will be more expensive.

How long was the Therac-25 in operation before the first documented accident? How much longer did it take for the system to be declared unsafe?

The Therac-25 was in operation two years before the first documented accident. It took another 20 months for the Therac-25 to be declared defective by the FDA.

What is the significance of the court's ruling in Mortenson v. Timberline Software?

The significance of the court's ruling in Mortenson v. Timberline Software was that the licensing agreement limited the consequential damages that Mortenson could recover from Timberline, even though Timberline knew there was a bug in the program and had not told Mortenson.

What is the significance of the court's ruling in ProCD Inc. v. Zeidenberg?

The significance of the court's ruling in ProCD, Inc. v. Zeidenberg is that shrinkwrap licenses are enforceable unless their terms are unconscionable, even though the licenses are not visible before the box is opened.

What is the difference between verification and validation?

Verification is the process of determining if the computer program correctly imple- ments the model. Validation is the process of determining if the model is an accurate representation of the real system.

Name two different ways to validate a computer simulation

You can validate a computer simulation by compare its predicted result with the actual result found by doing the experiment in the real world. For example, you can use a computer simulation to predict what happens when you drive a Nissan Leaf into a wall at 35 miles per hour. Then you can drive a real Nissan Leaf into a wall at 35 miles per hour and compare the predicted results with the actual results. Another way to validate a computer simulation is to take its prediction to an expert and ask the expert if the prediction is accurate.

What are the advantages of allowing software users to identify and report bugs? What are the disadvantages?

he advantage of allowing software users to identify and report bugs is that there are usually many more users outside the company than software testers inside the company. When many more people are exercising the software, there is a greater chance that errors can be uncovered. One disadvantage of allowing software users to identify bugs is that if a lot of bugs are discovered, the reputation of a company can suffer. Most users probably do not think it is their job to find and report errors (unless we're talking about people who have agreed to test a beta release of the software). Also, most software users are not trying to break the software, so even if a lot of people are using a program, that is no guarantee that every bug will be found in a reasonable amount of time.


Set pelajaran terkait

How are you today? 你今天怎么样?

View Set

General California Insurance Law

View Set

ACCT 324 Chapter Multiple choice questions

View Set

Regular Homework #5 Bio 111 - Gen Mager BSU (Mastering Biology)

View Set

The Therapeutic Relationship 4/6/21

View Set

A&P Final Exam Questions (iclickers)

View Set

Physiology - 19 - Regulation of Metabolism

View Set