Topic 2 - Computer architecture Flashcards

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

Control Unit

A

Control the retrieval of instructions from the primary memory as well as the sequence of their execution
Registers
- MAR, MDR

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

Arithmetic Logic Unit

A

Performs all basic arithmetic, logical or input/output operations

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

Memory Address Register

A

Holds the memory address of the data to be used by the ALU,
so that the ALU can fetch the corresponding content from the memory and process it
It also holds the memory address of data that has been processed and will be stored

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

Memory Data Register

A

Holds data that is to be used by the ALU and then saved to the RAM
ALU places the result onto the MDR and the data is copied to the memory address location in the RAM

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

Data Bus

A

RAM to MDR

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

Control Bus

A

RAM to CU

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

Memory (address) Bus

A

RAM to MAR

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

Machine cycle

A
  1. Address of the next instruction stored in MAR
  2. Data is fetched from main memory and stored in MDR
  3. CU decodes instruction
  4. ALU executes command/operation
  5. Output value stored in accumulator if needed
  6. processed data stored back on main memory. Address sent along Address Bus, data sent along data bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Random Access Memory (RAM)

A

Stores data and instructions of program currently being run.
Data is constantly moved and overwritten.
- Volatile
- All data are deleted once there’s no power

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

Read Only Memory (ROM)

A

Stores permanent instructions and data of programs used to boot and operate the computer
- Non-volatile
-Data and instructions remain even when there’s no power
- Smaller than RAM

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

Cache memory

A

Type of memory that is smaller and accessed faster than RAM since closer to the CPU.
- Stores most frequently used data and instructions
- Performance speeds up
- Computer checks if there is a copy of data in cache before accessing main memory

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

Secondary memory

A

Relatively slow but higher capacity than primary memory
- Can be written to but non-volatile
- Also known as persistent storage
- Contents are not wiped out after process is finished or when there’s no power

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

Primary memory

A

The only storage that is directly accessible by the CPU

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

Startup Memory

A
  • RAM is empty when the computer starts up
  • Instructions and data need to be copied into the RAM in order for the computer to run
  • Mostly copied from the secondary memory
  • Only ROM would be able to store programs and instructions
  • ROM cannot be over-written
  • Computer would only be able to perform fixed operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Virtual Memory

A

Memory management capability of an OS that uses hardware and software to allow a computer to compensate for physical memory shortages by temporarily transferring data from RAM to disk storage

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

Types of secondary memory

A
  • Hard drive
  • CD, DVD
  • USB
  • Secure Digital or Compact Flash
  • Zip disk
  • Floppy disk
  • Magnetic tape
17
Q
A