a=Answer
Review Questions:
16. What is exception handling?
a.
Exception
handling is The ability of a program to intercept run-time errors (as well as
other unusual conditions detectable by the program).
17. Why is readability important to
writability?
a.
because
readability affects a program and Programs that are difficult to read are
difficult both to write and to modify.
18. How is the cost of compilers for a
given language related to the design of that language?
a.
A
language that requires many run-time type checks will prohibit fast code
execution, regardless of the quality of the compiler.
19. What have been the strongest
influences on programming language design over the past 50 years?
a.
Von
Neumann architecture
20. What is the name of the category of
programming languages whose structure is dictated by the von Neumann computer
architecture?
a.
Imperative
language
21. What two programming language
deficiencies were discovered as a result of the research in software
development in the 1970s?
a.
in
the 1970s discovered were incompleteness of type checking and inadequacy of
control statements
22.
What
are the three fundamental features of an object-oriented programming language?
a.
Abstraction, encapsulation and polymorphism are
the three fundamental features of an object oriented programming language.
23. What language was the first to support
the three fundamental features of object-oriented programming?
a.
Smalltalk
(Goldberg and Robson, 1989).
24. What is an example of two language
design criteria that are in direct conflict with each other?
a.
Two
criteria that conflict are reliability and cost of execution
No comments:
Post a Comment