Questions
Scheduling Algorithms Part 1 First Come First Serve Consider the following processes along with their burst...

Scheduling Algorithms

Part 1

First Come First Serve

Consider the following processes along with their burst time (in Calculate the average waiting time if the processes arrive in the following order

Process

Burst Time in Ms

P1

20

P2

10

P3

5

Calculate the average waiting time if the processes arrive in the following order

(i)P1, P2, P3

(ii)P2, P3, P1

(i) Case 1: Consider a case if processes P1, P2, P3 arrive at the same time say 0 ms in the system in the order P1, P2, P3. The arrival of processes is represented in the Gantt chart as shown below.

Gantt chart

P1

P2

P3

                                          20                                             30                                            35

Process

Waiting Time

Turnaround Time

P1

0

20

P2

20

30

P3

30

35

Therefore, average waiting time =

Turnaround Time =

Case 2: Processes arrive in order P1, P2, P3, let us assume at 0 ms, 2 ms and 4 ms, respectively.

Arrival Time: Time at which the process arrives in the ready queue.

Process

Burst Time

Arrival Time

P1

20

0

P2

10

2

P3

5

4

Gantt chart: Draw the Gantt Chart

Waiting time for process P1 = 0 ms

Waiting time for process P2 = 20 ms – 2 ms = 18 ms

Waiting time for process P3 = 30 ms- 4 ms = 26 ms

Calculate the average waiting time

Calculate the Turnaround Time

In: Computer Science

we found that the marketing research department for the company that manufactures and sells money chips...

we found that the marketing research department for the company that manufactures and sells money chips for microcomputers establish the following price to man in revenue functions PX equals 80 minus 3X price the main function

In: Advanced Math

In a game of basketball, a forward makes a bounce pass to the center. The ball...

In a game of basketball, a forward makes a bounce pass to the center. The ball is thrown with an initial speed of 4.9 m/s at an angle of 20 ∘   above the horizontal. It is released 0.80 m above the floor.

What horizontal distance does the ball cover before bouncing?

In: Physics

Please Use your keyboard (Don't use handwriting) *Course Name: Principles of Microbiology for Public Health BIOL103...

Please Use your keyboard (Don't use handwriting)

*Course Name: Principles of Microbiology for Public Health BIOL103

I need new and unique answers, please. (Use your own words, don't copy and paste)

( Please i need more than 500 words please)

Q) Please compose an essay addressing the following topic:

VACCINES

Discuss the role of Microbiology in context to Public health for the above topic. Explain the different uses and support provided by microbiology in Vaccination Public Health programs.

Your essay must be structured as follows:

Introduction

Body

Conclusion

I need new and unique answers, please. (Use your own words, don't copy and paste)

( Please i need more than 500 words please)

In: Anatomy and Physiology

write the pseudocode to process these tasks: From the random module import randint to roll each...

write the pseudocode to process these tasks:

  1. From the random module import randint to roll each die randomly
    1. # in pseudocode, import a random function
    2. # the name is helpful for the next M5-2 assignment
  2. Define a class called Dice
    1. In Python, the syntax has a colon after it: class Dice():
    2. In pseudocode, you can specify it generally or be specific
  3. Under the class declaration, list the attributes. Here are some tips:
    1. # attributes are what we know about a single die (dice is plural)
    2. # self is the first attribute in Python and must always appear first
    3. # add a num_sides attribute and to set it to 6 for the 6 sides on the dice
  4. Define a method for roll(self)
    1. # it describes what happens when we roll a single die
    2. # in the code, it will look like this example
      1. def __init__(self, dice_sides=6):
      2. # in pseudocode, we do not worry about the punctuation
      3. # just list it as part of your logic
  5. Under roll(self), return a random int value between 1 and self.dice_sides
  6. Save this file as M5Lab1ii - you can save it as MS Word or a text file.

For the second module, write the pseudocode to complete these tasks:

  1. In the same M5Lab1ii file, start a second module below the first module.
  2. From a new dice module, import our Dice class
  3. Create a 6-sided die by using assignment # for example: dice = Dice()
  4. Create an empty results list
  5. Write a for statement that takes each roll_num in range() and rolls it 100 times
  6. Set the value of result to dice.roll()
  7. For each roll and append it to the results list using your list’s name and .append() with the variable for each dice roll inside the parameters for append(). For example:
    1. # yourlistname.append(result)
  8. Refer to the name of your list within the print() parameter to print the results.
  9. 100 dice rolls for the values 1-6 appear in a list on the Python shell.
  10. Save the two modules in M5Lab1ii - you can save it as MS Word or a text file.

In: Computer Science

A project that costs $2,500 to install will provide annual cash flows of $750 for each...

A project that costs $2,500 to install will provide annual cash flows of $750 for each of the next 5 years.

a. Calculate the NPV if the opportunity cost of capital is 10%? (Do not round intermediate calculations. Round your answer to 2 decimal places.) NPV $

b. Is this project worth pursuing? Yes No

c. What is the project's internal rate of return IRR? (Do not round intermediate calculations. Round your answer to 2 decimal places.) IRR %

In: Finance

Sunland Handicrafts, Inc., has net sales of $3.20 million with 50 percent being credit sales. Its...

Sunland Handicrafts, Inc., has net sales of $3.20 million with 50 percent being credit sales. Its cost of goods sold is $1.92 million. The firm’s cash conversion cycle is 51.5 days, and its operating cycle is 86.5 days. What is the firm’s accounts payable?

In: Finance

Sodium trioxalatocobaltate (III) trihydrate is prepared by the following reactions: [Co(H2O)6Cl2] + K2C2O4 *H2O >>> Co2O4...

Sodium trioxalatocobaltate (III) trihydrate is prepared by the following reactions:
[Co(H2O)6Cl2] + K2C2O4 *H2O >>> Co2O4 + 7 H2O

2CoC2O4 + H2O2 + 4 Na2C2O4 >>> 2 Na3[Co (C2O4)3*H2O + 2NaOH

what is the percent yield of Na3[Co (C2O4)3*H2O if 7.6 grams are obtained from 12.5 grams of [Co(H2O)6]Cl2 ? ( assume excess amount of the other reagents.)

In: Chemistry

Classless Subnetting 200.30.0.0/16 Group Blocks Needed Addresses Per Block Host Bits CIDR Total Addresses Increment #...

Classless Subnetting

200.30.0.0/16

Group

Blocks

Needed

Addresses Per Block

Host Bits

CIDR

Total Addresses

Increment #

Start Address

End Address

A

16

512

B

128

64

C

32

1024

D

512

4

E

256

16

Group C

Block

Start (Subnet ID)

1st Address

Last Address

End (Broadcast)

1

2

3

4

5

In: Computer Science

for Boeing please focus in the following If you had $20,000 to invest, would you invest...

for Boeing please focus in the following

  1. If you had $20,000 to invest, would you invest it is this firm?
  2. Why or why not? (Discuss this in relation to Boeing. Do not offer alternative investment areas.)

In: Operations Management

1) A person is using the normal distribution to determine the safety stock for a product....

1) A person is using the normal distribution to determine the safety stock for a product. If the weekly demand is N(40, 16) and the company wishes to maintain their 90 percent service level, approximately how much safety stock should be held given a one-week lead time?

Select one:

a. 21 units

b. 17 units

c. 9 units

d. 6 units

2) A person is using the normal distribution to determine the safety stock for a product. If the weekly demand is N(40, 16) and the company wishes to maintain their 90 percent service level, what is the approximate reorder point given a one-week lead time?

Select one:

a. 61 units

b. 46 units

c. 49 units

d. 57 units

In: Operations Management

Summarize the background of the terrorist organization, its purpose, and structure. Explain the political, religious, and...

  • Summarize the background of the terrorist organization, its purpose, and structure.
  • Explain the political, religious, and ideological views and motivations.
  • Which definition or definitions of terrorism most closely fit your chosen terrorist organization?
  • Discuss if the organization identifies with left wing views, right wing views, or other political ideology and why.
  • Expand on the impact that right- and/or left-wing extremism has on terrorism.

In: Operations Management

In Python, there are different sorting algorithms. Selection Sort, Bubble Sort and Insertion Sort. • Write...

In Python, there are different sorting algorithms.

Selection Sort, Bubble Sort and Insertion Sort.


• Write a Pseudo code first for each of these sort methods.  


• After writing the pseudo code write python code from the pseudo code.


• Upload the pseudo code and Python code for each of the three algorithm mentioned.

In: Computer Science

Your landscaping company can lease a truck for $7,200 a year for 6 years. It can...

Your landscaping company can lease a truck for $7,200 a year for 6 years. It can instead buy the truck for $35,000. The truck will be valueless after 6 years. a. What is the present value of the lease payments, if the opportunity cost of capital is 7%. (Do not round intermediate calculations. Round your answer to 2 decimal places.) Present value $ b. Is it cheaper to buy or lease? Lease Buy

In: Finance

Adjustment Letter: Ben & Jerry’s In an exciting inside look, you see managers discussing six factors...

Adjustment Letter: Ben & Jerry’s

In an exciting inside look, you see managers discussing six factors that determine Ben & Jerry’s continuing success. Toward the end of the video, you hear staffers discuss a new packaging material made with unbleached paper. As a socially responsible company, Ben & Jerry’s wanted to move away from ice cream packages made from bleached papers. Bleaching requires chlorine, a substance that contains dioxin, which is known to cause cancer, genetic and reproductive defects, and learning disabilities. In producing paper pulp mills using chlorine are also adding to dioxin contamination of waterways. After much research, Ben & Jerry’s found a chlorine-free, unbleached paper board for its packages, That was the good news. The bad news is that the inside of the package is now brown.

Assume you have been hired at Ben & Jerry’s to help answer incoming letters. Although you are fairly new, your boss gives you a letter from an unhappy customer. This customer opened a pint of Ben & Jerry’s “World’s Best Vanilla” and then threw it out. After seeing the brown inner lid, he decided that his pint must have been used for chocolate before it was used for vanilla. Or, he said, “The entire pint has gone bad and somehow turned the sides brown.” Whatever the reason, he wasn’t’ taking any changes. He wanted his money back.

TASK: Write a letter that explains the brown carton, justifies the reason for using it, and retains the customer’s business.

In: Economics