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

  Possession of information can influence decisions in

1.discuss the implications of including both the social and technical aspects in developing a new system. provide

  Questionwrite down a program which asks user to respond to

questionwrite down a program which asks user to respond to a question by entering either 1 for yes or 2 for no. use a

  Create a gui system that will allow a user to add and remove

Create a GUI system that will allow a user to add and remove employees where each employee has an employee id (six-digit number), employee name, and years of service.

  Write a set of unit tests for the sample application

COMP426/526 - 16A ASSIGNMENT. Using JUnit write a set of unit tests for the sample application you created for assignment one. If you have a large amount of functionality you may limit your tests to 30

  Design a flowchart and pseudocode using control breaks

design a flowchart and pseudocode using control breaks that enable the user to print invoices for any raw material that is selected.

  Questionyou use a 1 ghz system with paged virtual memory

questionyou use a 1 ghz system with paged virtual memory for doing a real-time application. no other application is

  What legal arguments could be raised by sudson

What legal arguments could be raised by Sudson in support of the enforcement of the automatic renewal clause against Letisha and what ethical issues are raised, if any, by Sudson s practice of using the automatic renewal clause in their lease agr..

  Extend the vector-adt package to include less than operator

Extend the Vector_ADT package to include a negation operator ("-") function that return a vector. Extend the Vector_ADT package to include a less than operator.

  Draw the state table and excitation table for the flip-flop

A set-dominate flip-flop is similar to an SR flip-flops, except that an input S = R = 1 will result in setting the flip-flop. Draw the state table.

  Write down a class grade with a method getnumericgrade

note down  a Java program that translates a letter grade into a number grade. Letter grades are A B C D F, possibly followed by + or -. Their numeric values are 4, 3, 2, 1, and 0. There is no F+ or F-. A + increases the numeric value by 0.3, a - d..

  Define the eigarnal scheme and compare it to the rsa scheme

Define the RSA digital signature scheme and compare it to the RSA cryptosystem. Define the EIGarnal scheme and compare it to the RSA scheme.

  What is a balanced transportation model

What is a balanced transportation model? Describe the approach you would use to solve an unbalanced model.

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