100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CISC 3140 final exam 1 questions & answers 2024/2025

Rating
-
Sold
1
Pages
11
Grade
A+
Uploaded on
07-08-2024
Written in
2024/2025

CISC 3140 final exam 1 questions & answers 2024/2025 What are two actions that people involved in the Therac debacle could have taken to reduce the damage that the machine caused? - ANSWERSListen to and investigate the end-user complaints Test software successively and refine the old code, instead of relying on old code. What kind of machine was the Therac-25? (What was the machine used for) - ANSWERSIt was an X-ray radiation therapy machine used to treat cancer patients. What kind of machine was the Therac-25 (be careful here, the question is not what was the machine used for, but what did it actually do)? - ANSWERSLinear accelerator that fired electrons. In what country was the Therac-25 manufactured? - ANSWERSCanada What was one error in the Therac software that resulted in a death? - ANSWERSswitching too fast caused it to not be able to adjust to new setting The Therac programmers engaged in several practices that either failed to prevent errors from being included in production code or failed to repair programming errors when incorrect program behavior was detected. Briefly state what two of those detrimental practices were - ANSWERSNever listen to end-user complaints They did not properly test the software and failed to prevent errors They denied the errors could exist and failed to repair them. What was one government agency that was involved with dealing with Therac-25 problems? - ANSWERSFDA in the USA and Health Protection Branch in Canada Why is the Therac report of great importance to programmers - ANSWERSBad software kills people

Show more Read less
Institution
CISC 3140
Course
CISC 3140









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CISC 3140
Course
CISC 3140

Document information

Uploaded on
August 7, 2024
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CISC 3140 final exam 1 questions &
answers 2024/2025

What are two actions that people involved in the Therac debacle could have taken to reduce the damage
that the machine caused? - ANSWERSListen to and investigate the end-user complaints



Test software successively and refine the old code, instead of relying on old code.



What kind of machine was the Therac-25? (What was the machine used for) - ANSWERSIt was an X-ray
radiation therapy machine used to treat cancer patients.



What kind of machine was the Therac-25 (be careful here, the question is not what was the machine
used for, but what did it actually do)? - ANSWERSLinear accelerator that fired electrons.



In what country was the Therac-25 manufactured? - ANSWERSCanada



What was one error in the Therac software that resulted in a death? - ANSWERSswitching too fast
caused it to not be able to adjust to new setting



The Therac programmers engaged in several practices that either failed to prevent errors from being
included in production code or failed to repair programming errors when incorrect program behavior
was detected. Briefly state what two of those detrimental practices were - ANSWERSNever listen to end-
user complaints

They did not properly test the software and failed to prevent errors

They denied the errors could exist and failed to repair them.



What was one government agency that was involved with dealing with Therac-25 problems? -
ANSWERSFDA in the USA and Health Protection Branch in Canada



Why is the Therac report of great importance to programmers - ANSWERSBad software kills people

, The Therac programmers engaged in several practices that either failed to prevent errors -
ANSWERSPoor documentation. They did not listen to the end-user. Insufficient testing



True or False? Replacement of a hardware lockout in a computer-controlled machine by software will
always result in faulty machine operation. - ANSWERSFalse. We need to verify the new hardware is
compatible with the software. If the hardware is compatible, the only limitation is the implementation of
the software.



Imperative Programming - ANSWERSBy definition, an imperative language tells the computer what to do



Declarative Programming - ANSWERSState what we want without telling the machine how to do it.



OOP - ANSWERSState what we want in the form of objects



What are the three programming paradigms - ANSWERSImperative, Declarative, Object-Oriented



What is one advantage declarative programming languages have over imperative programming
languages? - ANSWERSa) declarative programming languages will figure out how to do the task by
themselves as opposed to imperative programming languages that would have to program how to do
the task.

b) It hides the machine. Instead of deciding how to do something, the programmer can focus on what
they want done

c) Declarative languages let go of memory constrain



When is it incorrect to say "A computer program is a sequence of instructions to be executed by a
computer"? - ANSWERSWith declarative programming



Name 1 imperative, 1 declarative, and 1 object-oriented language - ANSWERSImperative - Algol-60,
Javascript

Declarative - Haskel or Mircosoft Excel

Object-Oriented - Java, C, C++

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Bensuda Oxford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
837
Member since
3 year
Number of followers
445
Documents
21124
Last sold
3 days ago
ECONOMICS,NURSING,BIOLOGY AND ALL REVISION MATERIALS

DEDICATED TO PROVIDE YOU WITH THE BEST LEARNING MATERIALS THAT WILL IMPROVE YOUR GRADES ,WELCOME TO ALIZGRADES AND LETS DO IT TOGETHER!!! GOODLUCK!!!!!!!

3.7

157 reviews

5
73
4
24
3
25
2
11
1
24

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions