Cop 4703 Ch 2 Review Questions and
Answers Rated A+
In what ways are Scheme and Common Lisp opposites of each other? - ANSWER-
Common LISP allows for static scoping and dynamic scoping Scheme only uses static
scoping. Scheme is relatively small while Common LISP is large and complex.
In what year did the COBOL design process begin? - ANSWER-1959
In what year was Plankalkul designed? In what year was that design published? -
ANSWER-Plankalkul was designed by Konrad Zuse between 1942 & 1945. He first
published a paper on it in 1948. More information on the language was published in
1972.
In what year was the Fortran design project begun? - ANSWER-May 1954
On what programming language was COBOL based? - ANSWER-FLOW-MATIC
speedcoding was invented to overcome two significant shortcomings of the computer
hardware of the early 1950s. What were they ? - ANSWER-The first hardware
shortcoming was the lack of floating point hardware. The second was the lack was
automatic incrementing address registers.
What are the inputs and outputs of an XSLT processor? - ANSWER-Inputs: An XML
data document and an XSLT document
Outputs: XML document
What are two characteristics of C that made it less safe than Pascal? - ANSWER-Lack
of complete type checking and flexibility
What characteristic of Ruby's arithmetic operators makes them unique among those of
other languages? - ANSWER-Ruby supports a rich set of operators, as you'd expect
from a modern language. Most operators are actually method calls.
What control flow statements were added to Fortran 4 to get Fortran 77? - ANSWER-
logical loop statements and IF with an optional ELSE
What data structure that appeared in COBOL origin with Plankalkul? - ANSWER-
Hierarchical data structures (records)
What deficiency of the switch statement of C is addressed with the changes made by
C# to that statement? - ANSWER-There is no simplicity branch at the end of the
selectable segments of code, which has cost enumerable programming errors.
Answers Rated A+
In what ways are Scheme and Common Lisp opposites of each other? - ANSWER-
Common LISP allows for static scoping and dynamic scoping Scheme only uses static
scoping. Scheme is relatively small while Common LISP is large and complex.
In what year did the COBOL design process begin? - ANSWER-1959
In what year was Plankalkul designed? In what year was that design published? -
ANSWER-Plankalkul was designed by Konrad Zuse between 1942 & 1945. He first
published a paper on it in 1948. More information on the language was published in
1972.
In what year was the Fortran design project begun? - ANSWER-May 1954
On what programming language was COBOL based? - ANSWER-FLOW-MATIC
speedcoding was invented to overcome two significant shortcomings of the computer
hardware of the early 1950s. What were they ? - ANSWER-The first hardware
shortcoming was the lack of floating point hardware. The second was the lack was
automatic incrementing address registers.
What are the inputs and outputs of an XSLT processor? - ANSWER-Inputs: An XML
data document and an XSLT document
Outputs: XML document
What are two characteristics of C that made it less safe than Pascal? - ANSWER-Lack
of complete type checking and flexibility
What characteristic of Ruby's arithmetic operators makes them unique among those of
other languages? - ANSWER-Ruby supports a rich set of operators, as you'd expect
from a modern language. Most operators are actually method calls.
What control flow statements were added to Fortran 4 to get Fortran 77? - ANSWER-
logical loop statements and IF with an optional ELSE
What data structure that appeared in COBOL origin with Plankalkul? - ANSWER-
Hierarchical data structures (records)
What deficiency of the switch statement of C is addressed with the changes made by
C# to that statement? - ANSWER-There is no simplicity branch at the end of the
selectable segments of code, which has cost enumerable programming errors.