Process Management in Operating Systems: Scheduling, States, and Context Switch
Process Management — Operating Systems Exercises
1 — Batch vs Interactive and Monoprogramming vs Multiprogramming
Question: Analyze the differences between:
- Batch processes and interactive processes.
- Monoprogramming and multiprogramming.
- Compare the text graphs (process management — figures 9.5 and 9.7) and establish similarities and differences.
- When we speak of the process (program execution), do we refer to batch processes, interactive, or both?
- What is the difference between simultaneous execution and concurrent execution?
Answer:
- Batch processes are executed without interactive user input during execution; jobs are collected and run by the system. Interactive processes require user interaction (e.g., a shell session, GUI application).
- Monoprogramming