Unit 1 Flashcards
What are the reasons for studying programming languages?
- Increased ability to express ideas.
- Improved background for choosing appropriate languages.
- Increased ability to learn new languages.
- Better understanding of significance of implementation.
Which Programming domain has large numbers of floating point computations and uses arrays?
Scientific Applications
Which programming domain is used to produce reports, and uses decimal numbers and characters?
Business Applications
Which programming domain has symbols rather than numbers manipulated, and uses linked lists?
Artificial Intelligence
Which programming domain needs efficiency because of continuous use?
Systems Programming
Which Programming Domian has an eclectic collection of languages and uses markup scripting.
Web Software
List all of the programming domains.
- Scientific Applications
- Business Applications
- Artificial Intelligence
- Systems Programming
- Web software
What is the Language Evaluation Criteria?
- Readability
- Writability
- Reliability
- Cost
What is the ease at which programs can be read?
Readability
The ease at which a language can create a program is called what?
Writability
The conformance to specifications is called what?
Reliability
Cost is described as what?
The ultimate total cost
A relatively small set primitive constructs that can be combined in a relatively small numbers of ways is called what?
Orthogonality
What has few constructs, a small number of primitives, and a small set of rules for combining them?
Simplicity and Orthogonality
The testing for type errors refers to what?
Type Checking
When considering computer architecture influence what is the basis for imperative languages?
- Variables model memory cells
- Assignment statements model piping
- Iteration is efficient
What is the Fetch-Execute-Cycle?
- initialize the program counter
- repeat forever
- fetch the instructions pointed by the counter
- increment the counter
- decode the instruction
- execute the instruction
- end repeat
The common type of computer architecture that stores both programs and data in a common memory is called:
Von Neumann
List the three steps of the process of executing instructions in the CPU in order.
1: fetch
2: decode
3: execute