Understanding of the various issues

Assignment Help Basic Computer Science
Reference no: EM131079721

This assignment demonstrates your understanding of the various issues around the OS scheduler.  It also serves to help move you along with the final project.

Before attempting this project, be sure you have completed all of the reading assignments, hands-on labs, discussions, and assignments to date.

1. Take the project you wrote in the homework last week and do a FCFS scheduler with 5 IO bound threads (1 class) and 5 processor bound threads (another class).

a) The IO bound class will be a thread class that runs an IO intensive operation.  You can write to the system out a number of times (ie 1000) or do something like read and write a file.

b) The processor bound class will be a thread class that runs a computationally intensive operation.  You can perform some math computation a number of times. No IO in the loop.

c) Create a controller class that implements an FCFS schedule and instantiates 5 objects of each class and runs each object.

2) Take the start and stop time for each thread and print out the time it takes to run.

3) Take the start and stop time to schedule and run all the threads and print out the time to run.

4) Run the program 3 times.

a) First time intersperse the IO bound and computationally intensive operations (call the start method).

b) Second time run the IO bound threads first and the processor bound second.

c) Third time run the processor bound threads first and the IO bound second.

5) Attach your code as well as a document.  The document should include snapshots (enough to demonstrate it ran) of the running code as well as results in spreadsheet form.  Results should also list the wait time for each thread.  Also calculate for each of the 3 scenarios the average wait time for the

IO bound threads, processor bound threads and the overall run time for all of the threads.  Include a lessons learned contrasting how the Java environment handled the 3 scenarios.

6) Code should follow standard practices with good commenting, variable and method names, and good formatting..... its a 400 level course.

Reference no: EM131079721

Questions Cloud

Band of desired frequencies : What type of filter is used to eliminate a specific frequency from band of desired frequencies?
Determine the euro-pound exchange rate : A German firm is attempting to determine the euro/pound exchange rate and has the following exchange rate information: USD/pound = $1.5509/£ and the USD/euro rate = $1.2194/€. Therefore, the euro/pound rate must be: Choose one answer.
Set of business requirements for the problem : Define the current problem and the set of business requirements for the problem you need to solve from a local and global perspective.
What is mimo : What is MIMO? What's the history? What issues are addressed? What are the goals? Identify all advantages and disadvantages of MIMO.
Understanding of the various issues : This assignment demonstrates your understanding of the various issues around the OS scheduler.  It also serves to help move you along with the final project.
Express in terms of heaviside unit step functions : Express in terms of Heaviside unit step functions the following piecewise-continuous causal functions. In each case obtain the Laplace transform of the function.
Required return on a debt security to be higher or lower : Identify whether each of the following factors will cause the required return on a debt security to be higher or lower. Briefly explain your answer. (Each part is independent).
What are the general benefits of preparing the budget : What are the general benefits of preparing the budget? Discuss how the budget is likely to be used for the control function.
Hipaa privacy rule : The HIPAA privacy rule states, "An individual has the right to inspect and obtain a copy of the individual's protected health information (PHI) in a designated record set."

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Merging transaction and analytical processing problem occurs

When merging transaction and analytical processing a problem occurs. Real-time analytical processing diminishes the performance of transaction processing. What is the solution to this problem that many companies use?

  Describe a sequence of probes that could enable b

describe a sequence of probes that could enable B to obtain sufficient state information to continue with A's connections.

  Show the format of a 24-bit memory address

Consider a byte-addressable computer with 24-bit addresses, a cache capable of storing a total of 64K bytes of data, and blocks of 32 bytes.  Show the format of a 24-bit memory address if the computer uses direct mapping.

  Describe any evidence that was used in developing activities

Summarize briefly the changes that the program is intended to bring about (for example, increased physical activity in overweight Latino children).

  Software review

Research instructional software programs and list two programs you think would be beneficial for your classroom/school and explain how they would benefit your classroom/school. Remember to search for open-source software as well as software that can ..

  Describe how to add a printer to gigi''s server.

Adhere to APA formatting and reference guidelines when writing your response. Additionally, your response should be free of grammatical errors, use complete sentences, and give specific details to support statements.

  What should microsoft do to deal with their current issues

What should Microsoft do to deal with their current issues: Data privacy and decline of traditional computers

  Create a script that presents a movie guessing game

Use a single script file named Week5.php to display and process the form Can this be done with the movies 8 mile and black swan.

  Monetizing web portals

How do these sites currently make money from this client base?

  Demonstrate an understanding of existing strategic impact

Demonstrate an understanding of existing and emerging information technologies and strategic impact on organizational operations. Explain how to develop reasoned responses to the major forces shaping the role of IT in organizations competing in a ..

  Discuss whether you accept demand from manager

Discuss whether you should accept this demand from your manager or whether you should persuade your team to give their time to the organization rather than to their families. What factors might be significant in your decision?

  Calculate the number of days

Bay Traders, an international gourmet food distributor, is concerned about shipping delays over the last six months. Review the orders over the past six months and identify any order that was not shipped within 30 days.

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