At Papaye fast-food joint, on entry, customers take a number to be served. The salespersons press buttons to increment numbers on the wall as they attend to each customer. Assuming on entry, you picked number 40. Counter 1 is serving customer #38 and counter 2 is serving customer #39. The sign on the wall says, “Now Serving #39” and you’re ready with your order. Counter 2 finishes with customer #39 and presses the button so the sign says, “Now Serving #40.” But just then the clerk at counter 2 is called to the telephone and leaves the counter, never to return (an interrupt). Meanwhile, counter 1 presses the button and proceeds to serve #41 — and you’ve missed your turn. Counter 1 continues to serve #42, #43, and so on, thinking that counter 2 has attended to you. a. In the computer system, what is the term given to this scenario? b. In a computer system, explain any three (3) mechanisms that can prevent this situation from happening. 2. a. Create any four scenarios that could possibly lead to deadlock.
1. At Papaye fast-food joint, on entry, customers take a number to be served. The salespersons press buttons to increment numbers on the wall as they attend to each customer. Assuming on entry, you picked number 40. Counter 1 is serving customer #38 and counter 2 is serving customer #39. The sign on the wall says, “Now Serving #39” and you’re ready with your order. Counter 2 finishes with customer #39 and presses the button so the sign says, “Now Serving #40.” But just then the clerk at counter 2 is called to the telephone and leaves the counter, never to return (an interrupt). Meanwhile, counter 1 presses the button and proceeds to serve #41 — and you’ve missed your turn. Counter 1 continues to serve #42, #43, and so on, thinking that counter 2 has attended to you.
a. In the computer system, what is the term given to this scenario?
b. In a computer system, explain any three (3) mechanisms that can prevent this
situation from happening.
2. a. Create any four scenarios that could possibly lead to deadlock.
b. Use a directed graph to illustrate each of them.
3. For processes to cooperate, there must be an interprocess communication (IPC)
4. Explain how each of the following functions of the
a. User Interface
b. Error Detection
c. Process Communication
5. a. With a clearly labeled diagram, briefly explain the components that make up a computer system.
b. Explain how the absence of each component will affect the entire computer system.
6. list and explain the areas that present challenges to multicore application programmers.
7. a. Identify the conditions that must be met for deadlocks to occur in the computer system.
b. Explain why the computer system finds it complicated to eliminate these conditions.
8. Any vulnerability at the operating system level opens the entire computer system to attack. Do you agree? Why?
9. The performance of a computer system can be defined as the efficiency with which a computer system meets its goals. Identify and explain any 5 tools which are used to measure a computer’s performance.
Step by step
Solved in 3 steps