Unit 1 Flashcards

1
Q

What are the reasons for studying programming languages?

A
  • Increased ability to express ideas.
  • Improved background for choosing appropriate languages.
  • Increased ability to learn new languages.
  • Better understanding of significance of implementation.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which Programming domain has large numbers of floating point computations and uses arrays?

A

Scientific Applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which programming domain is used to produce reports, and uses decimal numbers and characters?

A

Business Applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which programming domain has symbols rather than numbers manipulated, and uses linked lists?

A

Artificial Intelligence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which programming domain needs efficiency because of continuous use?

A

Systems Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which Programming Domian has an eclectic collection of languages and uses markup scripting.

A

Web Software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

List all of the programming domains.

A
  • Scientific Applications
  • Business Applications
  • Artificial Intelligence
  • Systems Programming
  • Web software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the Language Evaluation Criteria?

A
  • Readability
  • Writability
  • Reliability
  • Cost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the ease at which programs can be read?

A

Readability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The ease at which a language can create a program is called what?

A

Writability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The conformance to specifications is called what?

A

Reliability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Cost is described as what?

A

The ultimate total cost

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A relatively small set primitive constructs that can be combined in a relatively small numbers of ways is called what?

A

Orthogonality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What has few constructs, a small number of primitives, and a small set of rules for combining them?

A

Simplicity and Orthogonality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The testing for type errors refers to what?

A

Type Checking

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When considering computer architecture influence what is the basis for imperative languages?

A
  • Variables model memory cells
  • Assignment statements model piping
  • Iteration is efficient
17
Q

What is the Fetch-Execute-Cycle?

A
  • initialize the program counter
  • repeat forever
  • fetch the instructions pointed by the counter
  • increment the counter
  • decode the instruction
  • execute the instruction
  • end repeat
18
Q

The common type of computer architecture that stores both programs and data in a common memory is called:

A

Von Neumann

19
Q

List the three steps of the process of executing instructions in the CPU in order.

A

1: fetch
2: decode
3: execute