4.7.1 Fo CompOrgArch (Computer Architecture) Flashcards

(8 cards)

1
Q

What are the two main types of computer architecture and the difference betweenn them

A
  • Harvard
  • Von Neumann
    Von Neumann architecture uses one shared memory for both data and instructions, while Harvard architecture uses separate memory for data and instructions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is meant by computer architecture in this context

A

The different ways of setting up the CPUs access to the main memory

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

What are the advantages of Von Neumann

A
  • Allows various different tasks to be handled as long aas they are loded into the main memory
  • Instructions can be changed dynamically for the need of the program
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the disadvantages of Von Neumann

A
  • Because both instructions and data share the same data bus, a bottleneck can occur when the CPU has to wait for one to be transferred before it can access the other.
  • It is generally slower than the Havard approach
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the advantages of Harvard architecture

A
  • No bottleneck between data and instruction retreival
  • Generally quicker than Von Neumann for the same power output
  • It is better defended against viruses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why is the Harvard approach better defended against viruses

A

Viruses are instructions disguised as data, so when they’re sent through the data bus and try to execute, they fail in Harvard architecture because the CPU separates data from instructions — but in Von Neumann architecture, it doesn’t, making it more vulnerable.

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

What is the Harvard approach used for

A

Embedded systems such as digital signal processing (DSP) systems

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

What is the Von Neumann approach used for

A

general purpose computing systems

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