Test Flashcards

1
Q

Difference between serial process and parallel processes

A

Serial sends a single bit at a time while parallel send multiple. Serial higher frequency, parallel lower. Serial fewer traces required, parallel more.

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

What is RISC

A

Execute all instructions in a single cycle. Only read/ write to memory with load/store instructions. Requires many registers to be efficient. No microcode

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

What is CISC?

A

Complicated instructions that do multiple things at once. Harder to decide and implement, required microcode. Instructions take many cycles to execute. Small number of registers

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

Instruction pipeline

A

Fetch
Decode and register fetch
Execute
Memory access
Register write back

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

Virtual memory principle

A

Processor request data from RAM. If data is in RAM, it will be fetched immediately. If the data is not in RAM, it will be requested from the disk. Data will be transferred from disk to RAM. the processor can now get them from RAM

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

How does cache make cpu efficient?

A

It can quickly transfer information between the ram and cpu compared to how many cpu cycles it would take

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

What is buffer overflow

A

If data entered is above the maximum, it is stored in memory and can be overflowed to store the out text

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

Attacks against speculative execution

A

Mmu doesn’t check for permission to access memory. When it find the path to take, the cpu hits undo on the changes the wrong branch made. Doesn’t undo changes to cache

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

Difference between cpu time sharing and multitasking

A

Time sharing is a fixed window of time for a process to execute on the pc and switches to another process when time sharing is over. Multitasking is switching the process at natural break points. Allows for prioritisation of processed.

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