Computer science Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What control lines are buses made up from?

A

Memory read and write
Bus request and grant
Clock
Reset

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

Explain briefly how the width of the data bus affects system performance.

A

If the data bus is 16 bits and a computer word is 32 bits, the processor will have to access memory twice to fetch data or instructions. This will have a detrimental effect on performance.

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

Explain briefly the relationship between the width of the address bus and the maximum possible memory capacity of a computer system.

A

The width of the address bus determines the maximum address that can be accessed. e.g. an address bus of 32 bits means that 232 addresses can be accessed – that’s 4GiB.

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

Explain what is meant by the stored program concept.

A
  • Instructions and data are stored in the main memory of the computer
  • Processor fetches, decodes and executes these instructions…
  • …in sequential order
  • Programs can be moved in and out of memory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The Fetch-Decode-Execute cycle describes the sequence of operations involved in executing instructions. Several registers are involved in this cycle. With reference to these registers, describe the Fetch phase of the cycle.

A
  • Address of the next instruction copied from the PC (program counter) to the MAR (memory address register)
  • Instructions held at that address are sent via the data bus…
  • to the MDR (memory data register)
  • Simultaneously, PC is updated so that it holds the address of the next instruction
  • Contents of MDR are copied via the data bus…
  • to the CIR (current instruction register)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly