CORRECT.
What did Therac-25 do? Answer - radiation 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
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 ______ Answer - COBOL
Why is COBOL good for business programming? Answer - -facilities aimed at
commercial application
-strong documentation
-supports decimal arithmetic
, What is Backus-Naur form? Answer - a meta-language
What is Backus-Naur used for? Answer - it's a language used to describe the
syntax of languages used in algol60
What is Structured Programming? Answer - a discipline based on a theorem
that says that only 3 constructs are needed to write any program
What are the 3 constructs of structured programming? Answer - 1. definition
of function & binding of names
2. execution
3. decision (if/else/then)
What is Agile Programming? Answer - you can change the specs without
approval, used for "firefighting"
What is Successive Programming? Answer - you can take up a problem and
split it into smaller problems
What are the 3 types of languages? Answer - -Imperative
-Declarative
-Object Oriented
What does an Imperative language do & give an example Answer - -it tells the
machine what to do
-C