3.1 - computer architecture ๐Ÿ— Flashcards

1
Q

what does a modern CPU have inside?

A

an ALU, CU, and some register buses

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

who paved the way for CPUs to look like this and why?

A

John von Neumann - he did this to allow computers to operate with less human intervention through his stored program concept

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

what does ALU stand for and what are its functions?

A

ALU = arithmetic + logic unit; it carries functions like logical shifts, subtractions, and logic gate operations while a programโ€™s running on a device

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

what does CU stand for and what are its functions?

A

CU = control unit; it reads instructions from the program counter to interpret them through a fetch-decode-execute cycle while also helping keep data flow in a device in sync

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

how does the CPU access data and programs on a device?

A

it takes them from backing stores like HDDs and SSDs to temporarily put them into the RAM (aka IAS) to allow for faster R/W ops

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

what special purpose registers are in a von Neumann-system CPU?

A

the CIR (current instruction register), ACC (accumulator), MAR (memory address register), MDR (memory data register), and program counter (PC)

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

what does the CIR do?

A

it stores the instruction currently being decoded+executed

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

what does the accumulator do?

A

it temporarily stores data during ALU calculations

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

what does the MAR do?

A

it stores the memory location address being written to

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

what does the MDR do?

A

it stores data thatโ€™s either already read or about to be written

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

what does the PC do?

A

it stores the address of the next instruction to be read

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

what do device memory partitions contain?

A

binary addresses that can be written into the MAR to have their contents put into the MDR

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

what system buses exist in von Neumann architecture?

A

the address, data, and control buses

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

what does the address bus do?

A

it unidirectionally carries addresses from the CPU to device memory and can address more memory locations simultaneously the wider it is

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

what does the data bus do?

A

it bidirectionally carries data between the CPU and device memory and can process more bits simultaneously the wider it is

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

what does the control bus do?

A

it bidirectionally carries signals between the control unit and other device components and is always 8 bits wide

17
Q

whatโ€™s meant by the โ€œfetchโ€ part of the FDE (fetch-decode-execute) cycle?

A

itโ€™s when the MDR fetches the next instruction from a currently-stored memory address in the MAR and keeps it with itself so its contents can be copied to the CIR and the PC incremented by 1

18
Q

whatโ€™s meant by the โ€œexecuteโ€ part of the FDE cycle?

A

itโ€™s when instructions thatโ€™ve already been decoded are passed as control signals by the CPU to the components where theyโ€™d be most appropriate

19
Q

how do system clock speeds affect device performance?

A

increasing them could potentially make a device work faster as long as they donโ€™t exceed a certain limit beyond which overclocking occurs

20
Q

what could happen in the event of overclocking?

A

the deviceโ€™s CPU could overheat and instructions could also end up being out-of-sync

21
Q

how does cache memory work?

A

it stores a set of frequently accessed instructions and data within the CPU itself so they can be accessed more quickly than if they were stored in the device RAM

22
Q

how does the number of cores in a CPU affect device performance?

A

increasing that number could potentially reduce the need for clock speed changes but might also be a burden on communication between CPU cores as well

23
Q

what are ops in a deviceโ€™s low-level instruction set divided into?

A

the opcode (informs about the necessities to the CPU) and operand (contains the must-be-acted-on data/memory registers)

24
Q

what are some examples of device instruction sets?

A

x86 (32-bit), x64 (64-bit), i386 (32-bit), and Itanium (64-bit)

25
what are embedded systems?
they're hardware/software combos designed to carry some specific functions that're easy to fit into devices but can be hard to upgrade to the advantage of next-gen tech
26
where can some examples of embedded systems be found IRL?
washing machines, digital weighing scales, arcade machines, vending machines, lighting systems, security devices, dumb TVs, and vehicle satnav systems