Questions
1- Which of the following scheduling algorithms could result in starvation? Why? If any, show how...



1- Which of the following scheduling algorithms could result in starvation? Why? If any, show how can starvation problem be resolved.

a. First-come, first-served (FCFS)
b. Shortest job first (SJF)
c. Round robin (RR)
d. Priority?


2- Illustrate Peterson solution to critical section problem, showing how it satisfy the conditions of mutual exclusion, progress, and bounded waiting!

3- What is the meaning of the term busy waiting? What other kinds of waiting are there in an operating system? Can busy waiting be avoided altogether? Explain your answer.

4- Explain why interrupts are not appropriate for implementing synchronization primitives in multiprocessor systems.


5- Which of the following components of program state are shared across threads in a multithreaded process?
a. Register values
b. Heap memory
c. Global variables
d. Stack memory

6- Using pseudo C like code, illustrate two algorithms uses hardware synchronization.

7- Semaphores are used to overcome a drawback of hardware synchronization, what is this drawback, and how semaphores addresses this drawback?

In: Other

1. According to a survey, working men reported doing 63.1 minutes of household chores a day,...

1. According to a survey, working men reported doing 63.1 minutes of household chores a day, while working women reported tackling 81 minutes daily. But when examined more closely, millennial men reported doing just as many household chores as the average working women, 81 minutes, compared to an average of 55 minutes among both boomer men and Gen Xers. The information that follows is adapted from these data and is based on random samples of 1146 men and 795 women.

Mean Standard Deviation n
All Women 81 10.4 795
All Men 63.1 16.7 1,146
Millennials 81 9.2 355
Boomers 55 13.9 465
Xers 55 10.5 326

(a)

Construct a 95% confidence interval for the average time all men spend doing household chores. (Round your answers to one decimal place.)

minutes to minutes

(b)

Construct a 95% confidence interval for the average time women spend doing household chores. (Round your answers to one decimal place.)

minutes to minutes

2. A survey is designed to estimate the proportion of sports utility vehicles (SUVs) being driven in the state of California. A random sample of 500 registrations are selected from a Department of Motor Vehicles database, and 26 are classified as SUVs.

(a)

Use a 95% confidence interval to estimate the proportion of sports utility vehicles in California. (Round your answers to three decimal places.)

(b)

How can you estimate the proportion of sports utility vehicles in California with a higher degree of accuracy? (HINT: There are two answers. Select all that apply.)

increase the sample size n increase zα/2 by decreasing the confidence coefficient conduct a non-random sample increase zα/2 by increasing the confidence coefficient decrease zα/2 by increasing the confidence coefficient decrease the sample size n decrease zα/2 by decreasing the confidence coefficient

3.

A small amount of the trace element selenium, 50–200 micrograms (µg) per day, is considered essential to good health. Suppose that random samples of 40 adults were selected from two regions of the United States and that each person's daily selenium intake was recorded. The means and standard deviations of the selenium daily intakes for the two groups are shown in the table.

Region
1 2
Sample Mean (µg) 167.6 140.7
Sample Standard Deviation (µg) 23.7 17.8

Find a 95% confidence interval for the difference

(μ1μ2)

in the mean selenium intakes for the two regions. (Round your answers to three decimal places.)

µg to µg

Interpret this interval.

We are 95% confident that the difference in the average daily selenium intake for the samples taken from Region 1 and Region 2 is within the interval. The probability that the difference in the average daily selenium intake for the populations in Region 1 and Region 2 is exactly in the middle of the interval is 95%.     We are 95% confident that the difference in the average daily selenium intake for the populations in Region 1 and Region 2 is within the interval. The probability that the difference in the average daily selenium intake for the populations in Region 1 and Region 2 is within the interval is 95%. The daily selenium intake is within the interval for 95% of the populations in Region 1 and Region 2.

4.

Does Mars, Incorporated use the same proportion of red candies in its plain and peanut varieties? A random sample of 59 plain M&M'S contained 13 red candies, and another random sample of 31 peanut M&M'S contained 9 red candies. (Use p1 for the proportion of red candies in plain M&M'S and p2 for the proportion of red candies in peanut M&M'S.)

(a)

Construct a 95% confidence interval for the difference in the proportions of red candies for the plain and peanut varieties

(p1p2).

(Round your answers to three decimal places.)

to

(b)

Based on the confidence interval in part (a), can you conclude that there is a difference in the proportions of red candies for the plain and peanut varieties? Explain.

Since the value p1p2 = 0 is not in the confidence interval, it is possible that p1 = p2. We should not conclude that there is a difference in the proportion of red candies in plain and peanut M&M'S. Since the value p1p2 = 0 is in the confidence interval, it is possible that p1 = p2. We should not conclude that there is a difference in the proportion of red candies in plain and peanut M&M'S.     Since the value p1p2 = 0 is in the confidence interval, it is very unlikely that p1 = p2. We should conclude that there is a difference in the proportion of red candies in plain and peanut M&M'S. Since the value p1p2 = 0 is not in the confidence interval, it is very unlikely that p1 = p2. We should conclude that there is a difference in the proportion of red candies in plain and peanut M&M'S.

In: Statistics and Probability

ZARA Unique personal experience at Zara. Have you ever shopped at Zara? What did you like...

ZARA

Unique personal experience at Zara. Have you ever shopped at Zara? What did you like about the store? What didn’t you like? How does Zara differ from its competition? If you’ve visited Zara locations in different countries, what differences did you notice in terms of offerings, price, or other factors?

2. The Gap’s business model. a. Where do the Gap clothes come from? Who makes them? Is this approach ethical? b. Why was Gap initially first in sales in the fashion industry? c. Why did it experience a crisis? d. What is the Fair Factories Clearinghouse? What services does it currently offer?

Section 2. 1. What is the role of IT in the Zara’s business model? a. The use of IT in design. b. The use of IT in manufacturing & logistics. c. The use of IT in stores.

Section 3. 1. What are the limitations/vulnerabilities of the Zara’s business model? 2. How can we improve it? 3. Does Zara have a sustainable competitive advantage from its IT systems? What can and cannot be copied by its competitors?

In: Economics

Provide brief answers to the following questions. Use specific situations and examples where applicable ( In...

Provide brief answers to the following questions. Use specific situations and examples where applicable ( In Your Own Words)

  1. State and explain any two (2) sampling techniques / method in auditing  

In: Statistics and Probability

B = {red,red,green,purple} C = {red,{green},red,{red,green},purple,{green,green,red,purple}} A.) What is the power set of C? B.) Is...

B = {red,red,green,purple}
C = {red,{green},red,{red,green},purple,{green,green,red,purple}}

A.) What is the power set of C?

B.) Is B ∈ P(C)?

In: Advanced Math

Suggest reasons why glucose 6-phosphate dehydrogenase deficiency may be manifested in red blood cells but not...

Suggest reasons why glucose 6-phosphate dehydrogenase deficiency may be manifested in red blood cells but not in adipocytes, which also require NADPH for their metabolism. Make sure to explain your reason.


In: Biology

What would these commands look like in Kali Linux? In Kali Linux: a) Create a user...

What would these commands look like in Kali Linux?

In Kali Linux:

a) Create a user (username= YOUR-FIRSTNAME).

b) Create a file (filename=test) and use chmod command to add the write permission for Others.

c) Use setfacl to remove write permission to YOUR-FIRSTNAME user. Use getfacl to check the file's permissions.

d) Remove YOUR-FIRSTNAME user.

Deliverable(Screenshots from each section if possible please)

In: Computer Science

1) Explain how morphology of sickle cell red blood cells is different from morphology of healthy...

1) Explain how morphology of sickle cell red blood cells is different from morphology of healthy red blood cells

In: Biology

1) Textbook Review Question (2 pt.) What is the most basic method of determining stellar distances?...

1) Textbook Review Question (2 pt.) What is the most basic method of determining stellar distances? EXPLAIN the method!

2) Textbook Review Question (2 pt.) Explain the difference between a star’s apparent and absolute magnitudes. Which one is an intrinsic property of a star?

3) Textbook/Lecture Review Question (2 pt.) What information about a star can be determined from its color? Give an example.

4) Textbook Review Question (8 pt.) Enumerate in as much detail as you can, the steps thought to be involved in the evolution of Sun-like stars. Include in your answer: • What is meant by being on the main sequence? • What triggers the end of the main sequence? • How do the “lives” of the most massive stars end and what are the two possible products of this event?

5) Textbook Review Question (2 pt.) How do we know that the materials in our solar system are from the death of a star larger than out Sun?

In: Physics

Instructions: Research a case that involves any of the employment law concepts ( The Civil Rights...

Instructions:

  1. Research a case that involves any of the employment law concepts ( The Civil Rights Act of 1964, Enforcement of Title VII, Equal Pay Act of 1963, 1866 Civil Rights Act, Section 1983, Pregnancy Discrimination Act of 1978, Age Discrimination in Employment Act of 1967 (ADEA)
  2. Read the case. Feel free to use secondary sources to help with understanding the case.
  3. Answer the following questions in your own words and in complete sentences:
    1. Who were the parties involved in the case?
    2. In 3-4 sentences, what were the facts of the case (what were the parties suing about)?
    3. What law(s) were involved in the case?
    4. What did the highest court decide in the case?
    5. Do you agree or disagree with the court's holding? Why?
  4. Post your answers along with the case citation as a discussion post.

In: Operations Management