Documente Academic
Documente Profesional
Documente Cultură
Chap 1
11. What primitive control statement is used to build more complicate control statements in
The selection statement plus GOTO is used to build more complicated control statements such
as FOR loop.
Subprograms
15.What is aliasing?
2 or more distinct names that can be used to access the same memory cell.
18.How is the cost of compilers for a given language related to the design of that language?
Many run time checks will prohibit fast code execution. If optimization is used compiling will
19. What has been the strongest influence on programming language design over the past 50
years?
20. What is the name of the category of programming languages whose structure is dictated by
the von Neumann computer architecture?
Imperative languages
21. What two programming language deficiencies were discovered as a result of the research in
23.What language was the first to support the three fundamental features of object-oriented
programming?
Smalltalk
24.What is an example of two language design criteria that are in direct conflict with each
other?
25. What are the three general methods of implementing a programming language?
Compiler
It is the primary limiting factor in the speed of von Neumann architecture computers.
30. What are the advantages of implementing a language with a pure interpreter?
Easy implementation of many source-level debugging operations, because all run time error
messages can refer to source level units.
1. Why is useful for a programmer to have some background in language design, even though her
Increased capacity to express ideas, appropriate language choice, learn new languages more
easily, better understanding of the significance of implementation, better use of already known
2. How can knowledge of programming language characteristic benefit the whole computer
community?
If those who choose languages were better informed, perhaps better languages would squeeze
3. What programming language has dominated scientific computing over the past 50 years?
FORTRAN
4. What programming language has dominated business applications over the past 50 years?
COBOL
5. What programming language has dominate artificial intelligence over the past 50 years?
LISP
C has 2 structured data types (arrays and structs) arrays can be returned from functions but
structs can't.
10. What language used orthogonality as a primary design choice?
Algol 68