level: Level 1
Questions and Answers List
level questions: Level 1
Question | Answer |
---|---|
Name two functions of an OS | Resource manager and User interface |
Why do processes have separate address spaces | So they are unable to address each others memory for reading or writing |
What is the text segment of the process address space used for? | The text segment holds program instructions in the machine language. |
Which transfer layer protocol is better for VOIP | UDP |
Give 3 reasons why you would use UDP over TCP for VOIP | Low latency, Don't need to check for lost packets, Quick connection |
What does an address space contain? | System code and data as well as user code and data. |
What is the difference between a program and a process? | A process is a program in execution |
What is mutual exclusion? | A program that prevents simultaneous access to shared resource |
What is the critical region? | Where process accesses shared data |
What is a race condition? | When a device or system attempts to perform two or more operations at the same time |