INTRODUCTION Flashcards

1
Q

What is computer architecture?

A

attributes of a system that have a direct impact on the logical execution of a program.
It’s about what a computer does eg the multiply instruction

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

Give examples of some aspects of computer architecture

A
  • the instruction set
  • the number of bits used to represent various data types
  • I/O mechanisms
  • memory addressing techniques
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is computer organization

A

operational units and their interconnections that realize the architectural specifications.

Deals with how features are implemented e.g. Is there a hardware multiply unit or is it done by repeated addition?

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

Give examples of some aspects of computer organization

A

Control signals
interfaces
memory technology.

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

How does the organization and architecture differ across different versions from the same computer?

A

Different versions have the same basic architecture eg
All Intel x86 family share the same basic architecture
The IBM System/370 family share the same basic architecture

However, Organization differs between different versions

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

What is the benefit of having the same basic architecture across different versions from the same family

A

This gives code compatibility (At least backwards)

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

What is a hierarchical system?

A

A set of interrelated subsystem, each of the later, in turn, hierarchical in structure until we reach some lowest level of elementary subsystem.

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

What is structure?

A

Structure is the way in which components relate to each other.

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

What is function?

A

Function is the operation of individual components as part of the structure

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

What are the different functions in a computer?

A
  • Data processing: Computer must be able to process data which may take a wide variety of forms and the range of processing.
  • Data storage: Computer stores data either temporarily or permanently.
  • Data movement: Computer must be able to move data between itself and the outside world. (I/O systems)
  • Control: There must be a control of the above three functions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
Draw the function view of a computer and illustrate the following scenarios:
Data movement
Storage
Processing from/to the storage
Processing from storage to i/o
A

*See the notes for a pic

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

What are the main structural components of the computer

A
  • Central processing unit (CPU)
  • Main memory
  • I / O
  • System interconnections
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the CPU structural components:

A
  • Control unit
  • Arithmetic and logic unit (ALU)
  • Registers
  • CPU interconnections
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

List ways to increase microprocessor speed

A
Pipelining
Having on-board L1 & L2 cache
Branch prediction
Data Flow analysis
Speculative execution
Adding new circuits, and the speed boost that comes from reducing the distances between them
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is branch prediction?

A

The processor looks ahead in the instruction code fetched from memory and predicts which branches, or group of instructions are likely to be processed next.

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

What is data flow analysis?

A

The processor analyzes which instructions are dependent on each other’s results, or data, to create an optimized schedule of instructions to prevent delay.

17
Q

What is speculative execution?

A

Using branch prediction and data flow analysis, some processors speculatively execute instructions ahead of their actual appearance in the program execution, holding the results in temporary locations.

18
Q

Describe performance mismatch

A

while processor speed and memory capacity have grown rapidly, the speed with which data can be transferred between main memory and the processor has lagged badly

19
Q

What are some solutions to improve performance?

A
  • Increase the number of bits that are retrieved at one time by making DRAMs “wider” rather than “deeper” and by using wide bus data paths.
  • Change the DRAM interface to make it more efficient by including a cache7 or other buffering scheme on the DRAM chip.
  • Reduce the frequency of memory access by incorporating increasingly complex and efficient cache structures between the processor and main memory.
  • Increase the interconnect bandwidth between processors and memory by using higher speed buses and by using a hierarchy of buses to buffer and structure data flow.
20
Q

How is programming a system better than hardwiring it?

A

Hardwired systems are inflexible. General purpose hardware can do different tasks, given correct control signals. Instead of re-wiring, supply a new set of control signals

21
Q

Draw a diagram to show the difference between programing in hardware and programing is software

A

*See notes for picture