Questions
Write a client program that writes a struct with a privateFIFO name (call it FIFO_XXXX, where...

Write a client program that writes a struct with a privateFIFO name (call it FIFO_XXXX, where XXXX is the pid that you got from the getpid( ) function) to the server. Have the server read the privateFIFO name and write a message back to the client. Read the message and print it on the client side. Take screenshots of the output from your client and server programs. Send the output to Blackboard. What I'm checking for on this homework is that the name got created in the client and passed correctly to the server and the server can respond to the client. Turn the background of your window white and increase the font size.

Write in C, Will be used on Putty.

Thank you.

In: Computer Science

Old World Charm, Inc. specializes in selling scented candles. The company has established a policy of...

Old World Charm, Inc. specializes in selling scented candles. The company has established a policy of reordering inventory every other month (which is 6 times per year). A recently employed MBA has considered New England's inventory problem from the EOQ model viewpoint. If the following constitute the relevant data, what is the extra total cost of the current policy compared with the total cost of the optimal policy? Enter your answer rounded to two decimal places. Do not enter $ or comma in the answer box. For example, if your answer is $12,300.456 then enter as 12300.46 in the answer box. Ordering cost = $10 per order Carrying cost = 20% of purchase price Purchase price = $15 per unit Total sales for year = 1,000 units Safety stock = 0

In: Finance

How does your cultural background affect how you handle conflict? How might the Christian Worldview as...

How does your cultural background affect how you handle conflict? How might the Christian Worldview as a “cultural background” influence the way someone might handle conflict?

In: Psychology

1.What is Capital Asset Pricing Model (CAPM)? What is it used for ? a) There have...

1.What is Capital Asset Pricing Model (CAPM)? What is it used for ?

a) There have been discussions about how useful the Capital Asset Pricing Model (CAPM), does it actually work or is "beta dead"?

b) Why is the model important in Finance ?

In: Finance

So I went through a lab experiment last week, basically, We have a mixture and we...

So I went through a lab experiment last week, basically, We have a mixture and we remove iron with a magnet, we than seperate naphthalene by sublimation (by heating a flask). Than we have urea which is the only component that can dissolve in water which is obtained by crystallization after seperation from the polypropylene which floats on the water and the sand which sinks.

1) Describe the prinicpal diffuclties you encountered in obtaining a clean seperation and in collecting the seperated components without loss.

I really forgot the diffuclties I ecountered, anyone got an idea?

In: Chemistry

A student at a predominantly African American high school insists on wearing a T-shirt that some...

A student at a predominantly African American high school insists on wearing a T-shirt that some say advocates white supremacy ideologies. Using the preferred freedoms approach, convince the school board to allow the student to wear the shirt to class.

In: Psychology

You are in charge of security at a casino, and there is a thief who is...

You are in charge of security at a casino, and there is a thief who is trying to steal the casino's money! Look over the security diagrams to make sure that you always have a guard between the thief and the money!
There is one money location, one thief, and any number of guards on each floor of the casino.

Task in Java, Python and CPP:
Evaluate a given floor of the casino to determine if there is a guard between the money and the thief, if there is not, you will sound an alarm.

Input Format:
A string of characters that includes $ (money), T (thief), and G (guard), that represents the layout of the casino floor.
Space on the casino floor that is not occupied by either money, the thief, or a guard is represented by the character x.

Output Format:
A string that says 'ALARM' if the money is in danger or 'quiet' if the money is safe.

In: Computer Science

"Queer is understood as an umbrella term that refers to a range of sexual identities that...

"Queer is understood as an umbrella term that refers to a range of sexual identities that are not "straight." (Siobhan B. Somerville). A key concept in queer theory is the notion of "heteronormativity" which refers to institutions, structures of understanding, and practical orientations that make heterosexuality coherent and privileged. "

1. Do you think in modern days the word "queer" is more accepted? Why or why not?

2. Also do you think there should be a non binary option on licenses? Why or why not?

In: Psychology

What are the advantages and disadvantages of both scheduled and unscheduled home visits when probation officers...

What are the advantages and disadvantages of both scheduled and unscheduled home visits when probation officers go to offenders who are on probation homes?

In: Operations Management

Consider the language defined as such: L = { w$w’ : w is a string of...

  1. Consider the language defined as such:

L = { w$w’ : w is a string of numbers 0-9 and can be of length ≥ 0, and w’ is the reverse string of w}

Write a recursive grammar that defines all strings in the language.

  1. Using the language above, write the Java code (using recursion) that will recognize if a string is part of the language or not.

In: Computer Science

a) Use the following data from eight individuals who were measured on variables X and Y,...

a) Use the following data from eight individuals who were measured on variables X and Y, to calculate the requested sums, below.       

i

X

Y

A

2

4

B

2

1

C

5

3

D

6

7

E

1

2

F

3

4

G

1

2

H

1

7

a. ΣX        b. Σ(X - Y)         c. ΣX2        d. Σ(X)2

e. (ΣX)2        f. Σ(Y - X)3        g. ΣXY        h. ΣX - ΣY

b) Use the following data from eight individuals who were measured on variables X and Y, to calculate the requested sums, below.

i

   X   

   Y   

A

5

3

B

2

9

C

3

8

D

5

7

E

7

6

F

8

5

G

8

4

H

2

3

a. ΣX            b. ΣY            c. ΣXY            d. ΣX2

e. (ΣX)2            f. (ΣXY)2        g. (ΣX)(ΣY)        h. Σ(X - 3)

i. Σ(X - 2)(Y - 3)        j. Σ(Y - 3)2

In: Math

Hudson Corporation will pay a dividend of $2.80 per share next year. The company pledges to...

Hudson Corporation will pay a dividend of $2.80 per share next year. The company pledges to increase its dividend by 4.90 percent per year indefinitely.
If you require a return of 9.40 percent on your investment, how much will you pay for the company's stock today?

Multiple Choice

  • $59.73

  • $64.71

  • $18.67

  • $59.32

  • $62.22

In: Finance

1500 m^3/h of a gas mixture containing 20 mole% solute and rest inert enters the absorber...

1500 m^3/h of a gas mixture containing 20 mole% solute and rest inert enters the absorber at 250 K temperature and 106.6 kPa pressure to remove 80% of original solute. solute free water used for absorption contains 10 mole% solute when it leaves the tower at the bottom. calculate the solvent flow rate to tower.

In: Other

Your company has just announced a 7-percent price increase on your entire product line and you...

Your company has just announced a 7-percent price increase on your entire product line and you are meeting with your most important customer. She announces that your competitor has already been to see her and will not raise prices for at least 24 months. What do you do to keep the customer?

In: Operations Management

Examine the key reasons why a business may not want to hold too much or too...

Examine the key reasons why a business may not want to hold too much or too little working capital. Provide examples that illustrate the consequences of either situation.

In: Finance