Test 1 Flashcards
Why do we study programming languages?
- Increased ability to express idea
- Improved background for choosing appropriate languages
- Increased ability to learn new languages
- Better understanding of implementation
- Better use of known languages
- Overall advancement of computing
4 Properties of Programming Languages are?
- Syntax
- Names
- Types
- Semantics
The precise description of all its grammatically correct programs is called what?
Syntax
Variables, functions, parameters, classes, and objects are all examples of what in a programming language?
Names
Named entities are bound to what in a running program
- Scope
- Visibility
- Type
- Lifetime
A collection of values and a collection of operations on those values is called what?
Types
A language’s type system can help do what?
- Determine legal operations
- Detect type errors
The meaning of a program is called what?
Semantics
What programming languages is used for scientific applications
Fortran
What programming languages is used for business applications
COBOL
What programming languages is used for systems programming
C
What programming languages is used for artificial intelligence?
LISP
What programming languages is used for web software?
HTML, PHP, Java, Etc
A small instruction set and simple syntax fall into what of a good programming language
Simplicity and readability
a relatively small set of primitive constructs can be combined in a relatively small number of ways to build the control and data
structures is called what?
Orthogonality
A language element is bound to a property at the time that property is defined for it is an example of what
Clarity about binding
When a program behavior is the same under all conditions, this is known as what?
Reliability
How easily a language can be used to create programs is known as:
Writability
The ease with which programs can be moved from one implementation to another is:
Portability
The applicability to a wide range of applications is:
Generality
The completeness and precision of the language’s official definition is:
well-definedness
What architecture are languages primarily developed around?
Von Neumann Architecture
What type of languages are most dominant thanks to Von Neumann’s architecture?
Imperative