Write a concurrent program using pthreads to model the following manufacturing production system. At

Write a concurrent program using pthreads to model the following manufacturing production system.

At the ABC widget factory, three production lines are constantly working. All three lines require the same basic tools in order to do their jobs. However, each lineproduces a different product. Line A requires the following tools in this order: Hammer, Drill, and Brush, Line B requires the following tools in this order: Saw,Hammer, Brush, and Line C requires the following tools in this order: Drill and Brush. People often work at different paces so, the pace at which these lines producetheir product is different. At the ABC widget factory there is exactly one of each tool (1 hammer, 1 drill, 1 brush, and 1 saw). Your simulation must avoid deadlock,livelock or starvation.

Why have pensions become a less common form of retirement Why have pensions become a less common…

Why have pensions become a less common form of retirement

Why have pensions become a less common form of retirement benefit offered by companies?

Why have pensions become a less common form of retirement

For each of the following situations, put yourself in the shoesof the salesperson. Indication what..

For each of the following situations, put yourself in the shoesof the salesperson. Indication what you believe the appropriateaction would be in each situation and why. Each response should beat least 100 words (500+ total)

Suppose there is a bill to increase the tax on cigarettes by $1 per pack coupled with an income…

Suppose there is a bill to increase the tax on cigarettes by $1 per pack coupled with an income tax cut of $500. Suppose a person smokes an average of 500 packs of cigarettes per year—and would thus face a tax increase of about $500 per year from the cigarette tax at the person’s current level of consumption. The income tax measure would increase the person’s after-tax income by $500.

Would the combined measures be likely to have any effect on the person’s consumption of cigarettes? Why or why not?

list the barriers which occurs in the meeting and tell the ways to overcome them.(200-250) words

list the barriers which occurs in the meeting and tell the ways to overcome them.(200-250) words

You have agreed to design and develop a small console program for Ana, enabling her to select… 1 answer below »

You have agreed to design and develop a small console program for Ana, enabling her to select the appropriate item

and the package, and calculate the corresponding cost. Once an order is processed, the program will return to the

menu and ready to commence another order. This payment information should display:

? total payment amounts received for pizza order

? total payment amounts received for pasta order

? total amount of pizzas and pasta sold in that session*

*A session indicates the duration Ana is using the program after opening it. There is no need for this data to persist

once the program has stopped running.

Ana wants the system to be flexible so that she can include additional items and packages at a later date without

having to rewrite the entire program. This means you will need to use an interface for processing payments, and

polymorphism for the various food item classes, so that the new and different packages may be added at a later date

with minimal updates to the code. She asked that you provide her with some documentation before you commence

coding so that she is able to verify that the program you intend to code will address her requirements. She would

like to see the use cases to summarize the requirements in written format, as well as use case diagrams, class

diagrams and sequence diagrams.

Attachments:

Media-Based Anti Crime Efforts Review the National Citizens’ Crime Prevention Campaign Web site at h

Media-Based Anti Crime Efforts

Review the National Citizens’ Crime
Prevention Campaign Web site at

http://wwwncpcorg/media/currentphp
Spend some time examining the print, television, and Internet public service
announcements

Review Court TV’s Choices and
Consequences public service initiative at

http://wwwcourttvcom/choices/
Explore the About Us page

Review America’s Most Wanted Web
site at http://wwwamwcom/

Provide a 75-100 word response to
each of these questions:

Based on your review of
crime-fighting organizations like the National Citizens’ Crime Prevention
Campaign and Court TV’s Choices and Consequences program, do you think these
programs effectively deter crime? Explain

Does using the media to deter crime
unduly increase society’s fear of crime? Why or why not?

The show America’s Most Wanted is
owned by a prominent television network Does using the media to deter crime
conflict with the media’s financial interests in reporting crime? Explain

Assume that individuals’ income remains unchanged with and without social distancing…. 1 answer below »

  1. 2. In what follows, ignore the negative impact that social distancing has on individuals’ income. Assume that individuals’ income remains unchanged with and without social distancing. Now that people are “social distancing” and are on home quarantine they are spending significantly more time at home and have more free time since they do not need to commute to work. In part (a), (b) and (c), you need to discuss how the market moves (what happens to supply and demand) and thus what happens to the equilibrium price and quantity. (5 marks) a. Ceteris paribus, describe with graph and words what happens in the market for online moving streaming, e.g. Netflix. Assume there is only oneonline moving streaming service. You do not need to consider the market for other goods. (2 marks)
  2. b. Given you answer to part 2a above, now consider the impact on the market for books, which is a perfectly competitive market (consider both digital and print books as a single category). Your answer should consider two key “facts” of the case: (1) people have more time at home and (2) people are watching more movies. (2 marks)
  3. c. Given your answer to part 2a above, now consider the impact on the market for popcorn. You should assume that even in the time of the pandemic, people enjoy eating popcorn while watching a movie. (1 mark)

Protein present in cartilage is (a) cartilagin (b) ossein (c) chondrin (d) none of these. . . .

Protein present in cartilage is (a) cartilagin (b) ossein (c) chondrin (d) none of these. . . .