Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CISC 3140 FINAL EXAM QUESTIONS & ANSWERS(RATED A+)

Beoordeling
-
Verkocht
-
Pagina's
5
Cijfer
A+
Geüpload op
27-10-2025
Geschreven in
2025/2026

Why is it important to talk to the end users when compiling specifications for a new system? - ANSWERThe end users know what they want and what the end result should look like; prevents confusion and project completion delays. What were the TWO errors in the Therac code that resulted in a death? - ANSWERa) The machine couldn't handle all the data as fast as it came in b) An error resulting from a 1 byte flag Why is the Therac report of great importance to programmers (i.e., what is the most important single fact demonstrated by the report that should be of major importance to the approach that should be taken when software is developed?) - ANSWERBad software kills people. What were the TWO detrimental practices carried out by the Therac developers. - ANSWERa) They did not listen to end user feedback at all b) They did not properly test the software/there was zero proper documentation What is one advantage of using recursion for iteration rather than more familiar language features such as for and while loops? - ANSWERNo need for index variables What is ONE use of the make program other than constructing executables of programs? - ANSWEREnsures the target is up-to-date to current times True or false? Code written many years ago should never be used in new software. - ANSWERFalse What is the effect of the Subversion command "svn import myfiles" - ANSWERCopies the files into the repository under Subversion control What is the "cdr" function of Scheme used for? - ANSWERIt retrieves every element in the list except the first element What is the primary block of storage managed by Subversion (i.e. what unit of storage do you get when you check out something from a Subversion repository)? - ANSWERA working directory Write a Scheme function that will evaluate to 1 if its parameter is an even integer, and -1 otherwise. Assume that the parameter passed to the function is a legal integer. - ANSWER(define is_equal (lambda (x) (if (even? x) 1 -1 Why should

Meer zien Lees minder
Instelling
CISC 3140
Vak
CISC 3140

Voorbeeld van de inhoud

CISC 3140 FINAL EXAM QUESTIONS
& ANSWERS(RATED A+)

Why is it important to talk to the end users when compiling specifications for a new
system? - ANSWERThe end users know what they want and what the end result
should look like; prevents confusion and project completion delays.

What were the TWO errors in the Therac code that resulted in a death? -
ANSWERa) The machine couldn't handle all the data as fast as it came in
b) An error resulting from a 1 byte flag

Why is the Therac report of great importance to programmers (i.e., what is the most
important single fact demonstrated by the report that should be of major importance
to the approach that should be taken when software is developed?) - ANSWERBad
software kills people.

What were the TWO detrimental practices carried out by the Therac developers. -
ANSWERa) They did not listen to end user feedback at all
b) They did not properly test the software/there was zero proper documentation

What is one advantage of using recursion for iteration rather than more familiar
language features such as for and while loops? - ANSWERNo need for index
variables

What is ONE use of the make program other than constructing executables of
programs? - ANSWEREnsures the target is up-to-date to current times

True or false? Code written many years ago should never be used in new software. -
ANSWERFalse

What is the effect of the Subversion command "svn import myfiles" -
ANSWERCopies the files into the repository under Subversion control

What is the "cdr" function of Scheme used for? - ANSWERIt retrieves every element
in the list except the first element

What is the primary block of storage managed by Subversion (i.e. what unit of
storage do you get when you check out something from a Subversion repository)? -
ANSWERA working directory

Write a Scheme function that will evaluate to 1 if its parameter is an even integer,
and -1 otherwise. Assume that the parameter passed to the function is a legal
integer. - ANSWER(define is_equal (lambda (x)
(if (even? x) 1 -1

, Why should floating point numbers be tested for equality by using expressions with
Abs and epsilon rather than using if(A == B)? - ANSWERThis is because floating
point numbers are approximations, two floating point numbers could represent the
same real. "Abs" functions and epsilon can give an accurate answer


What is the primary purpose of X-Servers? - ANSWERThey provide/reorder the
graphics

In the context of makefile programming, what is a "phony target"? - ANSWERTWO
DEFINITIONS:
1) It is not really the name of a file, but the name of a RECIPE to be executed
2) A target that cannot be constructed

What does the make program do here?
main.o: main.c helper.h
gcc main.c - ANSWERChecks if both files main.c and helper.h have been modified
recently, if so it compiles main.c


What is the single, most important difference between Subversion and Git? -
ANSWERSubversion has one CENTRAL repository, while Git is distributed

For what purpose was the Algol language invented? - ANSWERTo communicate
algorithms

What commands (other than compiler commands like javac or gcc) can be executed
by the Make program? - ANSWERANY other command line command

What is the difference between Imperative and Declarative programming languages?
- ANSWERImperative: Specify HOW you want to get something
Declarative: Specify WHAT it is that you want, not how to get it

How might Backus-Naur form be used in a business programming environment in a
way other than for definition of the syntax of a programming language? -
ANSWEREnsuring the correct input and output is used for things such as correct
enters inputs for fields

In what country was Therac-25 manufactured? - ANSWERCanada

Recall that reentrant code does not modify itself. Give one example of what this
make possible that would not be possible otherwise. - ANSWERIt allows multiple
users to access the same code at the same time.

Why is the C/C++ programming language a poor choice for programming scientific
applications ? - ANSWERIt does not support complex number arithmetic

Present an example of a situation in which "agile programming" is a good choice of
methodology. - ANSWERFirefighting

Geschreven voor

Instelling
CISC 3140
Vak
CISC 3140

Documentinformatie

Geüpload op
27 oktober 2025
Aantal pagina's
5
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$13.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
papersbyjol West Virginia
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
443
Lid sinds
3 jaar
Aantal volgers
254
Documenten
14151
Laatst verkocht
1 dag geleden

3.7

78 beoordelingen

5
29
4
20
3
18
2
2
1
9

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen