ANSWERS(RATED A+)
What did Therac-25 do? - ANSWERradiation therapy machine that provided direct
electron beam therapy & megavolt x-ray therapy
Name some Therac-25 errors - ANSWER-flags weren't properly maintained
-programmers did not listen to the end user
-used increment instead of set
What does a Declarative language do & give an example - ANSWER-tells the
machine what it expects (a functional language)
-Haskell, OCaml
What does an Object Oriented language do & give an example - ANSWER-is a
middle ground between declarative and imperative
-Java, Python
Whats the difference between Git & Subversion repositories? - ANSWER-Git is a
distributed repository, many developers can work without sharing a network
-Subversion is monolithic, you need to commit directly to the SVN server
What does the command "svn add" do ? - ANSWERgives subversion control of the
file, does NOT add the file to the repository, does NOT move the file
Why is Therac-25 important for future programmers? - ANSWER-shows that bad
software can kill people
-programmers should listen to user complaints
What were some bad practices in programming Therac-25? - ANSWER-the code
wasn't documented properly
-the programmers reused old code
70% of countries business goes through ______ - ANSWERCOBOL
Why is COBOL good for business programming? - ANSWER-facilities aimed at
commercial application
-strong documentation
-supports decimal arithmetic
What is Backus-Naur form? - ANSWERa meta-language
What is Backus-Naur used for? - ANSWERit's a language used to describe the
syntax of languages used in algol60