click below
click below
Normal Size Small Size show me how
OS CH1
Chapter 1: Introduction to Operating Systems
| Question | Answer |
|---|---|
| What is multiprogramming? | Multiprogramming is the rapid switching of the CPU between multiple processes that are in memory. It's used to keep the CPU busy, especially when one or more processes are waiting for I/O to complete |
| What is the purpose of a system call? | : A system call allows a user process to access and execute operating system functions within the kernel. User programs use them to request services from the OS |
| What are the three main components of a process's memory space | The three main components are the text segment (the program code), the data segment, and the stack |
| What is the family of computers concept? | The idea is that a family of computers can be created with a range of different properties, such as speed and power consumption, but all are architecturally compatible |
| example of Family of computers concept | .n example is the Intel Pentium series (I, II, III, 4) or the core i3, i5, i7, i9 series, which differ in price and performance but maintain architectural compatibility |
| What is the difference between kernel mode and user mode? Kernal | In kernel mode, the operating system has access to privileged processor instructions and can manage all system resources. |
| What is the difference between kernel mode and user mode? User Mode | User mode is for user programs and limits access to these privileged instructions to protect the system. Certain actions, like disabling interrupts or changing the memory map, must be restricted to kernel mode |