In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.
2135Post New NCR Java Related AllOther Interview Questions
What is a call-up point? : co- cost center accounting
Is nosql database types?
my first question in huawei was ....1)Tell me about your self 2) oops concept 3)logic gates 4)ram and rom ,what is cache memory nd where it is located 5)diffrence between file system and data base 6) procedure of operating system 7)what is c# 8)high level language and machine language 9) and from mobile networkin !!!! hope thz will help you
What is the trade-off between bias and variance?
what are the interviews questions for storage domain
What environment does qtp run in?
How do you copy in linux terminal?
what functionality does oracle provide to secure sensitive information?
What is the difference between hard real-time and soft real-time os?
Explain how can we inherit a static member?
How would you do the ollowing Security Testing for web application? 1) Authentication. 2) Authorization. 3) cookies. 4) penetration testing. 5) session testing. 6) encryption and decryption testing pls give examples give example i can't understand so pl
what is the command to see the error log?
How can we display the output directly to the browser?
What is linked hashset and its features?
Tell me about your work experience? How has it prepared you for a career at BHP Billiton?