Lecture 1 Flashcards
What are the main parts of a computer
CPU, RAM, I/O devices
What is instruction-level parallelism?
When instructions in a sequence are independent and can be executed in parallel by overlapping.
What is a dependency?
Where one instruction is dependent on another to be able to place.
Give an anology to cooking for process
Cooking a recipe
What does a scheduler choose?
The next running process.
What is something that is ready and waiting to be executed called.
‘ready state’
What ‘switch’ could contribute to deadlock?
Process switch
What device would you use for scheduling across multiple cores?
A central scheduler.
What would a central scheduler be aware of?
All CPUs across the system.
Name another configuration, other than a central schduler, for dealing with scheduling across cores?
Distributed CPUs aware of each other.
What would distributed CPUs have to do in a bid to prevent deadlock or scheduling issues?
Send signals to each other.
Pass work to each other based on resource.
What would distributed CPUs have to do in a bid to prevent deadlock or scheduling issues?
Send signals to each other.
Pass work to each other based on resource.
What is a register?
CPU internal storage
What is the PC
Program Counter
What does the program counter do?
Provides the address of the next instruction