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.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

 

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) mechanism that will allow them to exchange data and information. With a detailed diagram, explain the various IPC models.
4. Explain how each of the following functions of the operating system contribute to the provision of smooth environment for user program execution.
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.

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY