Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CISC 3140 FINAL QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
13
Grade
A+
Uploaded on
23-04-2025
Written in
2024/2025

CISC 3140 FINAL QUESTIONS AND ANSWERS

Institution
CISC. 3140
Course
CISC. 3140

Content preview

CISC 3140 FINAL QUESTIONS AND ANSWERS
What are two actions that people involved in the Therac debacle could have taken to
reduce the damage that the machine caused? - Answers :Listen 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) - Answers
:It was an X-ray radiation therapy machine used to treat cancer patients.

The Therac programmers engaged in several practices that either failed to prevent
errors - Answers :Poor 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. - Answers :False. 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 - Answers :By definition, an imperative language tells the
computer what to do

Declarative Programming - Answers :State what we want without telling the machine
how to do it.

OOP - Answers :State what we want in the form of objects

What are the three programming paradigms - Answers :Imperative, Declarative, Object-
Oriented

What is one advantage declarative programming languages have over imperative
programming languages? - Answers :a) 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

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)? - Answers :Linear accelerator that
fired electrons.

In what country was the Therac-25 manufactured? - Answers :Canada

, What was one error in the Therac software that resulted in a death? - Answers
:switching 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 - Answers :Never 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? - Answers :FDA in the USA and Health Protection Branch in Canada

Why is the Therac report of great importance to programmers - Answers :Bad software
kills people

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

Name 1 imperative, 1 declarative, and 1 object-oriented language - Answers :Imperative
- Algol-60, Javascript
Declarative - Haskel or Mircosoft Excel
Object-Oriented - Java, C, C++

Name a programming language other than C++ or Java that can be used for Object-
Oriented Programming? - Answers :Python

Give an example of a programming situation in which the C programming language
would be a language of choice? - Answers :When the program needs to be in real-time

Programming operating systems

Why is the C/C++/Java programming language a poor choice for programming scientific
applications? - Answers :complex arithmetic is poorly supported - no complex arithmetic

Why should C/Java not be used to write business programs? - Answers :C/Java does
not have precise decimal arithmetic

Why is Java not the best choice of programming language for business programs? -
Answers :It does not support decimal arithmetic. COBOL does decimal arithmetic

Why contrary to all too frequently popular opinion, are Fortran, Cobol and Prolog not
"dead languages" despite their age?( - Answers :Because they do their job well. A
language that does something well will endure.
Because they do exactly what they are designed to do and they do it well

Written for

Institution
CISC. 3140
Course
CISC. 3140

Document information

Uploaded on
April 23, 2025
Number of pages
13
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$14.89
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
GEEKA YALA UNIVERSITY
Follow You need to be logged in order to follow users or courses
Sold
2105
Member since
4 year
Number of followers
1446
Documents
53792
Last sold
17 hours ago

3.8

358 reviews

5
177
4
61
3
48
2
17
1
55

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions