Questions
Answer the following questions about computer operating systems: Consider the following set of processes, with the...

Answer the following questions about computer operating systems:

  1. Consider the following set of processes, with the length of the CPU-burst time given in milliseconds:

Process

Burst Time

Priority

P1

10

3

P2

1

1

P3

2

3

P4

1

4

P5

5

2

The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0

  1. Draw four Gantt charts illustrating the execution of these processes using FCFS, SJF, nonpreemptive priority (lower number implies a higher priority), and RR (quantum=1) scheduling. (If you do this on paper, take a photo with your phone and insert it into your document, and upload the photo as a separate jpeg file as well.)
  2. What is the turnaround time of each process for each of the scheduling algorithms in part a?
  3. What is the waiting time of each process for each of the scheduling algorithms in part a?
  4. Which of the schedules in prat a results in the minimal average waiting time (over all processes)?
  1. Consider the following resource allocation table.

Allocated

Process

R1

R2

R3

P1

2

3

0

P2

1

1

1

P3

4

1

2

P4

0

0

1

P5

0

0

0

Need

Process

R1

R2

R3

P1

5

0

4

P2

2

0

1

P3

0

1

0

P4

5

2

1

P5

6

4

0

Available = (0 1 1)

Which, if any, of the processes above are deadlocked? If they are not deadlocked, in which order can the processes above execute?

In: Computer Science

a) In the electrolysis of molten LiCl, which product forms at the anode? (choose one) 1....

a) In the electrolysis of molten LiCl, which product forms at the anode? (choose one)

1. Li(l)

2. Cl2(g)

3. O2(g)

4. H2(g)

b) In the electrolysis of molten BaI2, which product forms at the anode?

1.

H2(g)

2.

I2(g)

3.

O2(g)

4.

Ba(l)

In: Chemistry

A researcher is interested in determining whether there is a correlation between number of packs of...

A researcher is interested in determining whether there is a correlation between number of packs of cigarettes smoked

# packs of cigarettes smoked (X)

(Y)

0

80

0

70

1

72

1

70

2

68

2

65

3

69

3

60

4

58

4

55

day and longevity (in years). n=10.

In: Statistics and Probability

Using the data below, determin how many workers should be hired by this perfectly competitive firm....

Using the data below, determin how many workers should be hired by this perfectly competitive firm. Assume the marginal factor cost, or wage rate, is $55, and the marginal revenue product is in $'s:

No. of Workers MRP
1 80
2 70
3 60
4 40

a) 1

b) 2

c) 3

d) 4

In: Economics

A positive ___ represents an internal source of funding. 1) Share capital account 2) Cash flow...

A positive ___ represents an internal source of funding.

1)

Share capital account

2)

Cash flow

3)

Retained earnings

4)

Dividends account

Which of the following is not a typical operating activity?

1)

payment of long-term notes payable

2)

payment of accounts payable

3)

collection of accounts receivable

4)

payment of wages

In: Accounting

Give the maximum number of electrons in an atom for the given quantum numbers or designations....

Give the maximum number of electrons in an atom for the given quantum numbers or designations.

n = 4 ______ 8p ______

n = 6, l = 1 ______ 3px ______

in an f-subshell ______ 4dyz ______

n=7, l = 2, ml = -2 ______

n = 3, l = 2, ml = 1, ms = +1/2 ______

In: Chemistry

The Dammon Corp. has the following investment opportunities: Machine A Machine B Machine C ($10,000 cost)...

The Dammon Corp. has the following investment opportunities:

Machine A Machine B Machine C
($10,000 cost) ($22,500 cost) ($35,500 cost)
Inflows Inflows Inflows
year 1 $ 6,000 year 1 $ 12,000 year 1 $ -0-
year 2 3,000 year 2 7,500 year 2 30,000
year 3 3,000 year 3 1,500 year 3 5,000
year 4 -0- year 4 1,500 year 4 20,000

Under the payback method and assuming these machines are mutually exclusive, which machine(s) would Dammon Corp. choose?

Multiple Choice

  • Machine A

  • Machine B

  • Machine C

  • Machine A and B

In: Finance

1. CUSTOMER RELATIONSHIP MANAGEMENT SYSTEMS-TOPIC 7 TASK: Create a Template for IT CRM Support Ticket Form...

1. CUSTOMER RELATIONSHIP MANAGEMENT SYSTEMS-TOPIC 7 TASK: Create a Template for IT CRM Support Ticket Form

2. COMPONENTS OF IT INFRASTRUCTURE-OPERATING SYSTEM PLATFORMSTOPIC 4 TASK: Fill in the IT CRM Support Ticket Form with Device specifications as below: 1) Device Name 2) Processor 3) Installed RAM 4) Device ID 5) Product ID 6) System Type 7) Storage: -Apps & Features, Documents, Temporary Files 8) Type 1) CMD 2) ipconfig /all get details: a) Physical Address b) IP Address

3. RISK ASSESSMENT-TOPIC 8 TASK: Determines level of risk to firm if specific activity or process is not properly controlled. Print Screen and attach to the IT CRM Support Ticket Form: - 1) Virus & threat protection 2) Firewall & network protection 3) Device security 4) Device performance and health

4. SYSTEMS DESIGN-TOPIC 9 TASK: Redesign the Process for Information Systems Help Desk.

In: Computer Science

Can you please solve this problem in java lab 9b: MicroDB. In Lab9A, each method returned...

Can you please solve this problem in java

lab 9b: MicroDB. In Lab9A, each method returned an integer. In this part of the lab, all methods will have a void return type and take in an array of integers as a parameter. You’re going to write a program that creates a mini database of numbers that allows the user to reset the database, print the database, add a number to the database, find the sum of the elements in the database, or quit. In main, you will declare an array of 10 integers (this is a requirement). Then you will define the following methods: • printArray (int[ ] arr) – this takes in an array and prints it • initArray (int[ ] arr) – this initializes the array so that each cell is 0 • printSum (int[ ] arr) – this calculates the sum of the elements in the array and prints it • enterNum(int[ ] arr) – this asks the user for a slot number and value – putting the value into the array in the correct slot • printMenu (int[ ] arr) – prints the menu in the sample output (that’s it, nothing more) Note: C++ folks – if you want to pass the size of the array as a second parameter, you can. In main, create an array of 10 integers and immediately call initArray( ). Then, continuously looping, print the menu and ask the user what they want to do – calling the appropriate methods based on the user’s choice. Note that every time you call a method, you must pass the array that was created in main. If it makes it easier, we used a do-while loop and a switch statement in main. In our implementation, main was only 15 lines of code.

Page 3 of 4 Sample output #1 Would you like to: 1) Enter a number 2) Print the array 3) Find the sum of the array 4) Reset the array 5) Quit 1 Enter the slot: 5 Enter the new value: 76 Would you like to: 1) Enter a number 2) Print the array 3) Find the sum of the array 4) Reset the array 5) Quit 1 Enter the slot: 2 Enter the new value: 33 Would you like to: 1) Enter a number 2) Print the array 3) Find the sum of the array 4) Reset the array 5) Quit 2 |0|0|33|0|0|76|0|0|0|0 Would you like to: 1) Enter a number 2) Print the array 3) Find the sum of the array 4) Reset the array 5) Quit 3 109 Would you like to: 1) Enter a number 2) Print the array 3) Find the sum of the array 4) Reset the array 5) Quit 4 Would you like to: 1) Enter a number 2) Print the array 3) Find the sum of the array 4) Reset the array 5) Quit 2 |0|0|0|0|0|0|0|0|0|0 Would you like to: 1) Enter a number 2) Print the array 3) Find the sum of the array 4) Reset the array 5) Quit 5

In: Computer Science

The data in the table below presents the hourly quantity of production for three lines of...

The data in the table below presents the hourly quantity of production for three lines of production processes over the first 4 days in XYZ Company. Answer the questions based on the Excel Output given below.

Day

Process 1

Process 2

Process 3

1

33

33

28

2

30

35

36

3

28

30

30

4

29

38

34

ANOVA: Single Factor

SUMMARY

Groups

Count

Sum

Average

Variance

Process 1

4

120

30

4.66667

Process 2

4

136

34

11.3333

Process 3

4

128

32

13.3333

ANOVA

Source of Variation

SS

df

MS

F

P value

Between Groups

32

?

?

?

Within Groups

88

?

?

Total

120

11

a. State the null and alternative hypothesis for single factor ANOVA. (1 mark)

b. State the decision rule (α = 0.05).

c. Calculate the test statistic.

d. Make a decision.

In: Statistics and Probability