Barber Shop 1 Barber Customer Queue. 2 C1C2C3 Barber Before Opening Customers waiting in queue.

Slides:



Advertisements
Similar presentations
THREE QUESTIONS. There was a young man who went overseas to study for a quite a long time. When he returned, he asked his parents to find him a religious.
Advertisements

Why is there so much pain and suffering in the world?
TLA. Replacing The Battery On the Back of the pager press in this button while moving the door away from the pager, then lift up. On the Back of the pager.
Managing your Time. Managing your Time Prioritisation  Agree KRAs with management  Agree priorities of KRAs.
Comments from your last final presentation (fall 2011)
The Power of One, or Why is Adherence important? This presentation has been placed on the Mitan web site since a number of contributors to the Professional.
Classic Synchronization Problems
BA271 Week 9 Lecture Using forms in Access. Status Report … Review where we are … –Midterm – Graded! –Final websites – Graded! –Access #1 – Graded! –Access.
Semaphores. Announcements No CS 415 Section this Friday Tom Roeder will hold office hours Homework 2 is due today.
My Policies and Some Advice for Doing Well in this Course.
Example 14.4 Queuing | 14.2 | 14.3 | 14.5 | 14.6 | 14.7 |14.8 | Background Information n Which system has the.
1 Lab Session-3 CSIT 121 Fall 2004 Section-3 should finish Lab-1 Exercise first Division rules Operator precedence rules Lab Exercise.
Coming up: Today: Section 2.4 Next class period: Review for Online Quiz 2 Class period after that: Review for Gateway Quiz 2(taken right after Spring Break)
Your Website Chat & Live Customer Support Solution "Instant Customer GratificationSM" Brought to you by: Affordable Business Productivity and Communications.
/t/ / I d/ /d/ Try Again Go on /t/ / I d/ /d/
1 Sleeping Barber Problem There is one barber, and n chairs for waiting customers If there are no customers, then the barber sits in his chair and sleeps.
ALLAH DOES EXIST …. This is one of the best explanations of why Allah allows pain and suffering :
Dear Friends of Bro’s Place, I apologies for not having you a show for last week. I could have told you that I lost one of my cats but you would not have.
18/02/08Week 21 CENG334 Introduction to Operating Systems Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
5.4 Which of the following scheduling algorithms could result in starvation? a. First-come, first-served b. Shortest job first c. Round robin d. Priority.
© Copyright _ Bro’s Place 2003 A stretched out Slinky is 87 feet long.
Getting started with for students before you register Make sure you have: an active account Internet browser installed on your computer Student.
6 th form He usually … up at 7 o’clock. a) get b) got c) gets.
Nachos.
User Account Administration
Joining Turnitin ® It will be required for you to submit some assignments through Turnitin.
PROJECT TITLE : AUTOMATED EVALUATION OF RETAIL PRICE OF PRODUCTS IN THE TROLLEY SYSTEM AND WIRELESS TRANSMISSION OF THE BILLING SYSTEM.
AS Making EdExcel. Page 1 Design Briefs – 1 for each project you have done this year. Example Design Brief (put the title of the product here) I am going.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Classical problems.
Computer Science 112 Fundamentals of Programming II Modeling and Simulation.
Thread Synchronization Tutorial #8 CPSC 261. A thread is a virtual processor Each thread is provided the illusion that it owns a core – Copy of the registers.
Principles of Computer Science I Honors Section Note Set 1 CSE 1341 – H 1.
“The prom” Hey Candace where are you going? Do you think he is going to ask you to the prom??? Hey Stacy! I am going to the park to meet Jeremy =] !!
Monitoring duties for TA’s Computer lab ES 2.104: open 9am-11pm daily Monitored by a TA when open Monitoring duty split into slots: 2 hour slots from 11am-9pm.
EYE-TERNET ® USER MANUAL. POSITIONING 1. POSITIONING  Open the wrapping  Bring out the lens and water-flask  Spray the water on the lens at each utilisation.
THE ART OF SPONSORING Are you a business builder magnet?
How To Register & Order Meals on Meal Selector
CANADA Morgan Pylant. Content Area: Social Studies Grade Level: Third Summary: The purpose of this instructional PowerPoint is to teach the student the.
Get to work… 1.Pick up from the front table: A.Syllabus B.Student Survey 2.Find your seat. 3.Have the handouts and a pen/pencil out. Everything else if.
Practical points of an oral presentation. Review of an oral presentation It is a condensed version of the paper. It is organized around one TOPIC. A TOPIC.
Technological Design Model
SMART Agency Tipsheet Facility List This document focuses on setting up facilities within an agency. Total Pages: 7 Facility Profile Contacts Operating.
CSE 1340 Introduction to Computing Concepts Class 1 ~ Intro.
Elapsed Time How Can We Calculate How Much Time Has Gone By? April 5, 2010.
What time do you have to wake up on the week? I wake up at 6: 00 a.m every day.
CS 3340 Windows Programming. Course Evaluation Course Outcomes Not about the instructor Do it Today! 2.
Use of a Peer Notetaker Accommodation If you receive “Use of a Peer Notetaker” as an accommodation this tutorial will show you how to implement that accommodation.
STUDY SKILLS TIME MANAGEMENT.
CS 3340 Windows Programming

 Connect iPhone to computer with USB cable.  Launch iTunes on your computer and turn off your iPhone.  Hold Home button and Sleep button at the same.
Philippines Customer Service Outsourcing
Solutions Queueing Theory 1
Principles of Software Development
First Year Advising The University of New Orleans
Jill got to the grocery store at 11:20
Group: Chris, Daniel, Jeff, Kathy, Shirelle, Vincent
Solutions Queueing Theory 1
Implementing Mutual Exclusion
Barbershop Example We can simulate a barbershop using semaphores.
Implementing Mutual Exclusion
Daily routine.
More IPC B.Ramamurthy 4/15/2019.
CSE 231 Section *** Teaching Assistant: YOUR NAME
Subhorn Khonthapagdee (TA)
Homework Reading Machine Projects Labs
The Basics of Intravenous Fluid Administration
Hair Removal Methods: What's Effective and What's Not.
Do now activity #1 What is the difference between a control and a variable? How come water (H2O) is not an element? List 10 examples of the word “organism”.
Presentation transcript:

Barber Shop 1 Barber Customer Queue

2 C1C2C3 Barber Before Opening Customers waiting in queue

3 C1C2C3 Barber Barber Shop Opens C2C3 C1 Barber removes customer from the queue Barber wakes up customer after the hair cut

4 C2C3 Barber Barber Shop Opens C3 C1C2

5 C3 Barber Barber Shop Opens C2C3

6 Barber Barber goes to sleep

7 C4 Barber New Customer Comes Customer wakes up barber before goes to sleep C4

8 C5C6 Barber New Customer Comes C4

9 C5C6 Barber Barber Shop Closing C4 Barber should finish all waiting customers

10 C5C6 Barber Barber Shop Closing C4 C7 New customers don’t wait when shop is closing

11 C6 Barber Barber Shop Closing C5 C8 New customers don’t wait when shop is closing

12 Barber Barber Shop Closing C6 C9 New customers don’t wait when shop is closing

13 Barber Barber Shop Closed Barber shop can open again

14 C10C11 Barber Barber Shop Closed New customers wait when shop is closed

15 C10C11 Barber Barber Shop Opens C11 C10 Barber removes customer from the queue Barber wakes up customer after the hair cut

16 C11 Barber Closing Before Exiting C11

17 Barber Closing Before Exiting Asking user Yes/No

18 C1C2C3 Barber User No Customers come and wait

19 C1C2C3 Barber Exiting Before Opening Clear customer queue

Test 4 (Final) 60 points 5:00 – 6:52, Tuesday, May 14 Section 1 and 2: Lab

Project Phase IV 40 points Demo by 11:30 AM, Friday, May 17 Drop solution before demo Evaluation –One hour before demo – for each student –Including yourself 21