REVIEW QUESTION CHAPTER 1 (PROGRAMMING LANGUAGE CONCEPT)

16. What is exception handling? Exception halding is the ability of a program to intercept run-time errors and other unusual conditions detectable by the program and take corrective measures then continue which is an obvious aid to reliability. 17. Why is readability important to writability? Readability is important to writability because programs that are difficult to read will be difficult to be written or modified. 18. How is the cost of compilers for a given language related to the design of that language? The cost of compilers for a given language is related to the design of it because a languange 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? Von Neumann architecture 20. What is the name of the category of programming languages whose structure is dictated by the von Neumann computer architecture? Imperative Language 21. What two programming language deficiencies were discovered as a result of the research in software development in the 1970s? Incompleteness of type checking and inadequacy of control statements (GOTO statements) 22. What are the three fundamental features of an object-oriented program- ming language? Encapsulation, Inheritance, and Polymorphism 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? Reliability and cost of execution