subject

1os is a very simple operating system that allows multiple users to save and print files. the 141os manages multiple disks, multiple printers, and multiple users - all of which can be considered concurrent processes. files can be stored on any disk and printed on any printer by any user. the goal of the system is to exploit possible parallelism to keep the devices (disks and printers) as busy as possible. this will be a two week assignment. the first part (due week 9) is to define the java classes for userthread, disk, and printer. the second part (due week 10) is to write printjobthread that manage printing a specified file and userthread that saves files to disk sectors. (note only one line of a file may be stored in a sector, so a file will require one sector per line.) although printers and disks can be thought of as parallel processes, i suggest you not make them threads. if you do, you must make them daemon threads by calling setdaemon or your program will never terminate.1. define symbolic constants for number_of_users=4, number_of_disks=2, and number_of_printers=3. store instances of the appropriate objects in three separate arrays: users, printers, and disks.2. a sample of the input (user*) and output (printer*) is in the hw8 directory located in my homework starts directory *** here ***. the printer* files will be generated by your program, but the exact files that get sent to each printer may vary. if you use a bufferedwriter, be sure you flush the buffer after each write.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:40
Amain idea is supported, explained, or expanded on with a numbers b. a concluding statement c. details d. a topic sentence. im e paragraphs reset nex next
Answers: 2
question
Computers and Technology, 22.06.2019 15:00
This is not a factor that you should use to determine the content of your presentation. your audience your goals your purpose your technology
Answers: 1
question
Computers and Technology, 22.06.2019 15:00
Hyperactive media sales has 10 windows 7 laptop computers used by sales-people in the organization. each laptop computer has several customized applications that are used during the sales process as well as customer relationship management software. all of the applications on the laptops are difficult to configure and have large data files. if all of the laptops have current hardware, what is the easiest way to install windows 10 on them?
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
You know the right answer?
1os is a very simple operating system that allows multiple users to save and print files. the 141os...
Questions
question
Mathematics, 07.10.2020 23:01
Questions on the website: 13722361