Computer Systems: Chapter 2 (Computer Structure) Flashcards

1
Q

What are the 3 main parts of the CPU?

A
  • Control Unit
  • Arithmetic and Logic Unit (ALU)
  • Registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the ALU?

A

The ALU carries out the calculations and performs the logical operations

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

What is the Control Unit?

A

The Control Unit controls all other parts of the processor and makes sure that the program instructions of the computer are carried out in the correct order

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

What are the Registers?

A

The Registers are a group of storage locations internal to the processor that hold data being processed, instructions being executed and addresses to be accessed

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

What do the buses do?

A

They connect the processor to the memory and input/output devices

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

What is the Data bus?

A

The Data bus carries data to and from the processor to the main memory and any other devices attached to the Data bus, and is bi-directional

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

What is the Address bus?

A

The Address bus carries the address information from the processor to the main memory and any other devices attached to the Address bus, and is unidirectional

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

What 5 lines is the Control bus made up of?

A

The Control bus is made up of the read, write, clock, interrupt, and reset lines

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

What is the Read line in the Control bus?

A

The Read line instructs memory to place data from the specified memory address on the Data bus

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

What is the Write line in the Control bus?

A

The Write line instructs memory to take data on the data bus and place it in the location specified by the address bus

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

What is the Clock line in the Control bus?

A

The Clock line carries a series of clock pulses at a constant rate in order to synchronise all operations of the CPU

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

What is the Interrupt line in the Control bus?

A

The Interrupt line sends a signal to the processor from a peripheral device to stop one routine and give control of the processor to the peripheral device

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

What is the Reset line in the Control bus?

A

The Reset line returns the processor to its initial state by stopping the current process, saving the contents of the Registers and then resets the system

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

What is the Fetch-Execute cycle?

A

It is the way in which the processor takes in an instruction from memory (fetch) and carries out that instruction (execute)

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

What are the steps involved in a memory Read operation? (4)

A
  • The processor sets up the Address bus with the required memory address
  • The Control Unit activates the read line on the Control bus
  • The contents of the particular storage location in memory are released onto the Data bus and copied into the processor’s Memory Data Register.
  • If the contents are an instruction then it’s decoded and executed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the steps involved in a memory Write operation? (4)

A
  • The processor sets up the Address bus with the required memory address by placing a value in the Memory Address Register.
  • The processor sets up the Data bus with the value to be written to memory by placing a value in the Memory Data Register.
  • The Control Unit activates the write line on the Control bus
  • The contents of the Memory Data Register are transferred to the required storage location in the computer’s memory
17
Q

What is Cache memory?

A

It holds frequently accessed instructions (which speeds up the fetch execute cycle) to speed up system performance

18
Q

What is Main memory?

A

It consists of a number of storage locations, each with a unique binary address, and is split into RAM and ROM

19
Q

What is Addressability?

A

It is the method a computer uses to identify storage locations

20
Q

What is a ‘Word’?

A

A word is the number of bits that can be processed by the processor in a single operation

21
Q

What is Random Access Memory (RAM)?

A

It is the part of the Main memory that holds its data as long as the computer is switched on

22
Q

What is Read Only Memory (ROM)?

A

It is the part of Main memory that holds its data even when the computer is switched off

23
Q

How is the maximum capacity of Memory calculated?

A

(2^width of address bus) x width of data bus in bytes

24
Q

What is the order, from fastest to slowest, of the types of memory?

A

Registers are the fastest, then Cache, then Main Memory, then Backing storage is the slowest

25
Q

What is Clock speed?

A

It is the rate at which the Clock generates pulses

26
Q

What is MIPS?

A

Millions of Instructions Per Second is a measure of the performance of a computer system

27
Q

What is FLOPS?

A

Floating Point Operations Per Second is another measure of the performance of a computer system

28
Q

What are Application-Based tests?

A

They are tests which show how a computer system is likely to perform when it is being used to carry out ordinary tasks

29
Q

Why does increasing Data bus width increase computer performance?

A

It will increase the number of bits that can be transferred in parallel to and from memory

30
Q

What effect does the use of Cache memory have on computer performance?

A

It will mean that the CPU can quickly get instructions and data from Cache memory, instead of accessing the slower Main memory

31
Q

Why does increasing the rate of data transfer to and from peripherals increase computer performance?

A

All peripherals operate at slower speeds than the processor, so increasing the rate of data transfer between them will reduce the gap and increase performance

32
Q

What are 3 trends in computer hardware?

A
  • Increasing Clock Speeds
  • Increasing Memory
  • Increasing Backing Storage Capacity
33
Q

What is an advantage of using MIPS?

A

MIPS measures processor throughput and are independent of other computer components ie hard disk speed

34
Q

What are the differences between Cache memory and Main memory? (2)

A
  • Cache memory is more expensive per megabyte

* Cache memory has faster access

35
Q

What would be the effect of adding one new line to the address bus on the maximum addressable memory?

A

The addressable memory size would double

36
Q

Why is using Clock speed alone not an effective way to measure computer performance ?

A

Clock Speed does not take other important architectural features into consideration (such as data bus width)

37
Q

Why is FLOPS a better measure of system performance that MIPS? (2)

A
  • FLOPS results may be more reliable as logic and arithmetic operations measured are more complex, so would better reflect system performance
  • MIPS test may have been performed with small and simple machine instructions, which do not reflect system performance
38
Q

Why do computers not come with the maximum addressable memory installed?

A

Most programs do not require maximum RAM to be installed