CISC 3140 MIDTERM QUESTIONS AND ANSWERS 100% 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
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