Write a program to coordinate the barber and the customers

Assignment Help Computer Engineering
Reference no: EM131926446

Assignment

A barbershop consists of a waiting room with n chairs and a barber room with one barber chair. If there are no customers to be served, the barber goes to sleep. If a customer enters the barbershop and all chairs are occupied, then the customer leaves the shop. If the barber is busy but chairs are available, then the customer sits in one of the free chairs. If the barber is asleep, the customer wakes up the barber.

Write a program to coordinate the barber and the customers.

The application must be submitted as a NetBeans project or Microsoft Visual Studio (VS 2013/VS 2015) project which includes the source codes of your program. In addition to the NetBeans project or Microsoft Visual Studio project, use Microsoft Word to provide ONLY ONE assignment/user-documentation file.

Documentation should include:

• A report which clearly describes the design and description of your software components.

• A logical flow diagram describes the logical flow structure of the application using any diagramming/graphics software such as Microsoft Visio.

• A logical flow diagram for every method, functions, and procedures defined in the application using any diagramming/graphics software such as Microsoft Visio.

• A description of any input files to test the application. (a file with valid data and a file with invalid data)

• A detailed instruction of how the program can be compiled and executed.

• Screenshots of execution sessions processing valid inputs and invalid inputs.

Reference no: EM131926446

Questions Cloud

How much will the couple save on monthly payments : The couple has been offered a chance to re-finance their mortgage balance. How much will the couple save on monthly payments?
What is the stock after taking flotation costs into account : Thurman industries plans to issue a $100 par perpetual preferred stock with a fixed annual dividend of 12 percent of par. It would sell for $105.20.
Which year should he report the income from project : The client paid Larry's bill in 2017. In which year should he report the income from this project?
What is the work done by the kinetic friction force : What is the work done by the kinetic friction force after you stop pushing the box (µk = 0.60)?
Write a program to coordinate the barber and the customers : Write a program to coordinate the barber and the customers. A report which clearly describes the design and description of your software components.
What was the average nominal risk premium : What was the average nominal risk premium on Crash-n-Burn's stock? (Do not round intermediate calculations. Enter your answer as a percent rounded to 1 decimal)
Calculations for amount of property-plant and equipment : Calculations for the amount of property, plant, and equipment and the annual depreciation for the project
How much kinetic energy would a proton acquire : How much kinetic energy would a proton acquire, starting at rest at point B and moving to point A?
How much do you have to save per month : You are 30 years old today. You want to retire at the age of 55. You expect to live until age 90. You would like to have a monthly income of $11,000 per month.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd