Topic 1 -Systems Architecture Flashcards

1
Q

What does CPU stand for?

A

Central Processing Unit

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

What is the function of the CPU?

A

to execute out instructions and process data

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

What are the 3 main parts of the CPU?

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

What is the function of the Control Unit (CU)?

A

To execute program instructions by following the fetch-decode-execute cycle

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

What is the function of the Arithmetic Logic Unit (ALU)?

A

Does all the calculations and contains the Accumulator Register

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

What is the function of the cache?

A

Stores regularly used data so the CPU can access it quickly if it’s needed. If the CPU requests data, it checks the cache first, if it doesn’t have it, it checks the RAM

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

Is the cache faster than the registers?

A

It’s slower than the registers but faster than the RAM

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

What are registers?

A

Small storage locations in the CPU which are super-quick to read/write to

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

What is the Von Neumann Architecture?

A

A system where the CPU runs programs stored in memory

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

What are the names of all the registers?

A
  • Program Counter (PC)
  • Accumulator
  • Memory Address Register (MAR)
  • Memory Data Register (MDR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the function of the Program Counter?

A

holds the address of the next instruction to be executed

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

What is the function of the Memory Address Register?

A

holds the memory address of the current instruction, which points to data or a CPU instruction

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

What is the function of the Memory Data Register?

A

holds the actual instruction, and then the data that has been fetched from memory

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

What is the function of the accumulator?

A

Stores the intermediate results of the calculations in the Arithmetic Logic Unit (ALU)

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

Does Von Neuman architecture store the memory in the same or separate places?

A

It stores it in the same memory

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

How does the CPU carry out instructions?

A

the Fetch-Decode-Execute cycle

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

What happens during the fetch instruction?

A
  • the memory address is copied from the PC to the MAR
  • the instruction stored in the MAR address is copied to the MDR
  • the program counter is incremented to point to the address of the next instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What happens during the decode instruction?

A
  • the instruction in the MDR is decoded by the CU
19
Q

What happens during the execute instruction?

A
  • the instruction is preformed
  • this could be:
    -load data from memory
    -write data to memory
    -do a calculation
    -do a logic operation
    -jump to a different address
    -halt the program
20
Q

What is an embedded system?

A

A computer system built into another device to control or manage a specific function

21
Q

Embedded systems are dedicated to a single task. What does that mean?

A

It means they are built to do one specific job. This makes them cheaper, easier to design, and more efficient.

22
Q

Give some examples of embedded systems

A
  • microwave
  • washing machine
  • traffic lights
  • fitness tracker
  • digital camera
  • smart thermostat
  • printer
23
Q

What does RAM stand for?

A

Random Access Memory

24
Q

What is RAM?

A

Primary memory in a computer which can be both read and written to. Is is volatile memory.

25
What is volatile memory?
Memory that loses its data when it doesn't have power
26
What is the function of RAM?
used to store running programs, documents or files while the computer is on
26
What is non-volatile memory?
Memory that keeps its data even when it has no power
27
What happens if the computer runs out of RAM?
It uses a section of secondary storage to hold the extra data -this is called Virtual Memory
28
What is Virtual memory?
Virtual memory uses a section of secondary storage (like a hard drive or SSD) as extra RAM when physical RAM is full. It lets more programs run but is much slower than real RAM.
29
What does ROM stand for?
Read Only Memory
30
What is ROM?
Non-volatile memory that stores the instructions a computer needs to be boot up, called the BIOS
31
What does "flashing the BIOS" mean?
It means updating or rewriting the BIOS firmware stored in flash memory
32
What 3 things does a CPU's performance depend on?
* Clock speed * Number of cores * Cache size
33
How does clock speed effect a CPU's performance?
the higher the clock speed, the greater amount of instructions that can be carried out per second
34
How does the number of cores effect a CPU's performance?
each core in a CPU can process data independantly from the rest the more cores a CPU has, the more instructions it can carry out at one
35
How does cache size effect a CPU's performance?
a large CPU cache gives the CPU faster access to more data it needs to process
36
What is primary storage?
the memory areas that the CPU can access very quickly, such as CPU registers, cache, ROM and RAM. It has the fastest read/write speds and is mostly volatile
37
What is secondary storage?
Non- volatile, its where all the data (OS, apps and files) are stored when not in use. This includes magnetic HDDs, SSDs, CDs and SD cards. Read/write speeds are much slower compared to primay storage
38
How does a magnetic Hard Disk Drive (HDD) work?
A read/write head moves over a data track which detects tiny magnetic changes which represent binary data
39
How does a magnetic Solid State Drive (SSD) work?
it usees flash memory — it uses electrical charges in memory cells to store 1s and 0s, with no moving parts.
40
How does a optical disk (CD,DVD,bluray) work?
a laser reads and writes data as tiny pits and lands on the surface of a disc. The pattern reflects light differently to represent 1s and 0s.
41
Give advantages and disadvantages to magnetic storage
* largest storage capacity * cheaper to produce * more likely to be damaged if dorpped due to moving parts * not as fast to read/write data than a SSD * can be noisy
42
Give advantages and disadvantages to optical storage
* cheap to produce * lightweight * unaffected by shocks and water * limited storage capacity * can be damaged by scratches and excessive use
43
Give advantages and disadvantages to solid state storage
* fastest type of storage * lightweight * less prone to damage than magnetic disks * more expensive per gb of data