Test 1 Part 1 Flashcards
Six Attributes of a Variable
Name, Address, Value, Type, Lifetime, Scope
Four Grammar Types
Regular, Unrestricted, Context-free, Context-sensitive
Definition of a Strongly Types Language
Catches all types of Errors + Exceptions
Definition of an ambiguous grammar
Two different parse trees can be made by the same sentence
What is the L-value of a variable?
Address of a Variable
What is the R-value of a variable
Value
APL language is either
Interpreted, Dynamic Language
Language Evaluation criteria
Readability, Writability, Reliability, cost
Six reasons to study concepts of Programming Languages
Express Ideas, Better Knowledge of background, advanced knowledge of computers, Learn a new language, Better implementation
5 Major Language categories
Imperative, Functional, Logic, Object Oriented, Visual
Two Languages that are Strongly typed
ML, Miranda
Major Scientific Computing Program
Fortran
Binding Times
Compiler Design, Language design, Load, Run, Compile
Major Categories of Readability
Orthogonality, Overall Simplicity, Control Statements, Data Types/Structures, Syntax
Major Business Computing
Cobol