A process cannot continue until requested disk data arrives. Which state is it in?
Which description identifies a process?
- An active program instance with execution state and resources
- A stored program file with no active execution state or resources
- A processor core that executes every program without saved state
When awaited disk data arrives, a blocked process must immediately enter the running state.
Circle one: True False
After switching to B, the cache still contains some useful B lines, but B's next required line is absent. What explains that access's extra cost?
- The absent line must be fetched from a lower memory level
- Every useful B line must first be erased by the context switch
- Every open B file must first be copied into the register set
Which order matches the lesson's simplified switch from process A to process B?
- Resume B, overwrite A's context, then select B's address space
- Restore B, discard A's unsaved context, then resume B again
- Save A, select B's address space, restore B, then resume B
A toy kernel performs 3 switches. Each switch performs 16 register copies in total, counting both saving and restoring. How many register copies occur?
Answer: ______________
A student says every process switch copies all memory bytes and recreates all open files. Which correction fits the lesson?
- Switching deletes the paused process's memory and file records
- Switching stores every open file inside the processor registers
- CPU state changes; memory mappings and open-file records stay stored
The same workload finishes less work per second after switching becomes more frequent. Which mechanism could explain the reduction?
- Every switch closes all files and destroys all process memory
- More context handling and possible cache misses consume time
- Every blocked process immediately becomes ready and runs