Questions
How will you use your Accounting education to serve your community? What strengths do you possess...

How will you use your Accounting education to serve your community? What strengths do you possess that will contribute to a successful career in the business profession?

In: Accounting

Single Lane Bridge Problem : Java Threads Given : //Use ReentrantLock for mutual exclusion import java.util.concurrent.locks.Lock;...

Single Lane Bridge Problem : Java Threads

Given :

//Use ReentrantLock for mutual exclusion
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

public class bridge  {
    private final ReentrantLock myLock = new ReentrantLock();

    public bridge(){

    }

    public String cross(){
        myLock.lock();
        try {

            return "crossing the bridge";

        } finally {
            myLock.unlock();
        }
    }
}
public class lane extends Thread
{
    int cars;
    bridge Bridge;
    public lane(int Cars1, bridge Bridge1)
    {
        cars = Cars1;
        Bridge = Bridge1;
    }

    public void run(){
        for(int x=0;x

//Important clue :

<Thread-ID> waiting to cross

This means that this thread is now competing for the lock and will have to wait its turn.

- Once a thread has gained access to the critical section it should output:

<Thread-ID> crossing the bridge

- It takes different cars a different amount of time to cross the bridge, so your code should simulate this by sleeping for a random amount of time when accessing the critical section.

- Once a car has left the bridge, your program should output:

<Thread-ID> exiting

- Threads can enter the critical section in any order.

 

Create main such that the output is as follows :

Thread-0 waiting to cross

Thread-0 crossing the bridge

Thread-0 exiting

Thread-1 waiting to cross

Thread-2 waiting to cross

Thread-1 crossing the bridge

Thread-1 exiting

Thread-2 crossing the bridge

Thread-2 exiting

.....

.....

.....

.....

In: Computer Science

Please answer one of the following questions 1. Ungerleider and Mishkin’s experiments were developed after evidence...

Please answer one of the following questions

1. Ungerleider and Mishkin’s experiments were developed after evidence indicated that specific cognitive problems are associated with damage to specific regions of the brain. Why was that evidence insufficient to show that that region controls that cognitive function? How were Ungerleider and Mishkin’s experiments designed to avoid this limitation?

2. Ungerleider and Mishkin designed different sets of experiments to study the different routes that visual information takes through the brain depending on the kind of information being processed. Describe one of the sets of experiments, including explaining how the experiment shows what path the information takes.

3. What is the justification for studying the algorithms of cognition? What are two aspects of cognition that cannot easily be captured without theorizing about the brain?

4. What are the four main features of artificial neural networks? What does studying them contribute to our understanding of cognitive processing?

5. Discuss in detail one feature of H.M.’s condition and explain how studying that feature has informed our broader understanding of the brain.

https://content.sakai.rutgers.edu/access/content/group/f02aa0f6-61b3-4a49-a7bd-a2a6f002d39f/Readings%20-%20First%20Half/Bermudez_Brain_and_Cognition_Ch3.pdf

In: Psychology

Select the lightest W10 section. Using Fy=50ksi and Fu= 65ksi to select trial sizes and check...

Select the lightest W10 section. Using Fy=50ksi and Fu= 65ksi to select trial sizes and check for Gross Section Yielding and Tensile Rupture. Assume the member is to have two lines of bolts in each flange. (use ASD method)

Pd - dead load = 225 ksi
Pl - live load = 150 ksi
L - member length = 28 ft
Bolt diameter = 7/8 in

Select the lightest W12 not W10.

In: Civil Engineering

Suppose that you have a standard Solow model with production given by Cobb-Douglas function. Assume A...

  1. Suppose that you have a standard Solow model with production given by Cobb-Douglas function. Assume A = 1, s = 0.1, α = 1/3, and δ = 0.1.
    1. Solve for the steady-state level of capital per worker, k* (Hint: use dynamic formula for capital stock.).
    2. Create an Excel spreadsheet to compute the dynamics of the capital stock. Plot the evolution of capital stock for 10 periods (i.e., t = 1, 2, … , 10) using your result in part (a).
    3. Suppose that in period 11 the savings rate increases to 0.2 and stays there permanently. Use Excel to compute the dynamic adjustment in the capital stock per worker as a result of the change in the savings rate for periods t = 11, 12, …. , 150).
    4. Plot adjustment in the capital stock per worker for periods 1 through 150. What is the new steady-state level of k, which the capital stock approaches asymptotically? How many periods will it take for capital stock per worker to reach its new steady state level?

In: Economics

Write a brief summary of the AIS used at your place of employment. If you are...

Write a brief summary of the AIS used at your place of employment. If you are not currently employed, you may use a previous employer or interview an acquaintance about the AIS used at his or her workplace. If you have not been employed, interview a friend or family member. Assume you are an accounting manager at this organization and, reflecting on the concepts covered in this course, describe the changes that you would make to the internal control structure. If you would not make any changes, explain why. Consider the personal attitudes, values, and culture of your employees and organization.

In: Accounting

In shorthorn cattle, the polled (hornless) condition is dominant over the horned condition. Heterozygotes produced by...

In shorthorn cattle, the polled (hornless) condition is dominant over the horned condition. Heterozygotes produced by mating red and white cattle are roan-colored; and long legs are dominant over short. A homozygous red, polled, long-legged bull is mated to a herd of cows that are all homozygous for the alternative alleles at all three loci. a) What will the progeny look like? (1) b) When the F1 progeny are mated, what phenotypic combinations, and in what ratio, should be expected in the F1 if independent assortment occurs? (2)

In: Biology

Hardware Define the ways in which the system resources are used to solve the computing problems...

Hardware Define the ways in which the system resources are used to solve the computing problems of the users

True or false.

Operating system Controls and coordinates use of hardware among various applications and users

True or false.

A goal of the scheduling algorithms is to maximize CPU Utilization while minimizing Throughput

True or false

System and Application programs Provides basic computing resources

True or false.

The one program running at all times on the computer is the system

True or false.

CPU scheduling decisions may take place when a process switches from waiting to ready

True or false.

Main memory usually into two partitions:

  1. Resident Operating System, usually held in low memory with interrupt vector.
  2. User processes then held in high memory.
  3. not of the above
  4. a and b

Translation:

  1. Relocation register scheme used to protect user processes from each other
  2. Conversely, would like the ability to share memory when desired (for communication)
  3. Ability to translate accesses from one address space (virtual) to a different one (physical)
  4. Prevent access to private memory of other processes

Address generated by CPU is divided into:

  1. Page number
  2. Page offset
  3. Page system
  4. a and b

Why worry about memory multiplexing?

  1. The complete working state of a process and/or kernel is defined by its data in memory (and registers)
  2. Consequently, cannot just let different processes use the same memory
  3. Probably don’t want different processes to even have access to each other’s memory (protection)
  4. All of above

An operating system can use aging to solve which problem?

  1. Deadlock
  2. Race condition
  3. Critical section
  4. Starvation

Which of the following isnt an active entity?

  1. System
  2. Program

The swap-out of a running process and swap-in of a new process in thememory is?

  1. Context switch
  2. Waiting time
  3. Execution time
  4. Turnaround time

In: Computer Science

Although personally one may benefit from the recent tax reductions act, the debates among economists never...

Although personally one may benefit from the recent tax reductions act, the debates among economists never stop. (1)Suppose the economy is under recession. How would a cut in taxes affect output(Y), price level (P), and unemployment (U)? Please use the models and explain your reasoning. Be sure to state the assumptions clearly. (2) In recent decades, macroeconomics policy-making process has been strongly influenced by a theory called "supply side economics". Why some economists are against it? why some support it? Please answer this question by summarizing the assigned articles in blackboard under "Fiscal Policy"

In: Economics

Buddies is a charitable organization that sponsors group activities and provides adult companionship for troubled youths...

Buddies is a charitable organization that sponsors group activities and provides adult companionship for troubled youths from single-parent families. Buddies screens, trains, motivates, and supervises the adult volunteers, who are paired with children referred by local agencies and by parents concerned with their children’s future. The organization provides a service that can augment any professional help a child may be receiving. But its main role is one of prevention by providing a meaningful adult relationship for a child before the child becomes a severe parental or societal problem. Buddies is a nationwide organization that began in 1913 in Pierre, South Dakota, and there are over 300 local agencies throughout the country with the parent office, Buddies Regional, in New Jersey. Buddies Regional provides support in establishing and administering local programs, but each agency is responsible for raising its own funding.

The Bayou Land branch in Lafayette, Louisiana, was started only five months ago and has an operating budget for the current year of $60,000. The budget is modest by most standards but will be hard to achieve given the newness of the organization and the drop in crude oil prices that has hit Lafayette especially hard. About 30 percent of the necessary funds will come from the Acadiana United Appeal, and the remainder from a government grant, some fund-raising events, and donations.

The Importance of the Dance

The final event planned is a dance that the organization hopes will raise $8,000; which is the projected yearly deficit. Although eliminating the shortfall is an important objective, there are other reasons why the dance needs to be successful. The Acadiana United Appeal has made it clear that it wants local agencies to establish their own fund-raising scheme in which it matches every dollar in profit generated by an organization. Buddies Regional also encourages its local agencies to develop their own fiscal base. A number of studies have found that agencies that rely heavily on outside monies tend to stagnate, in the past due to the restrictions that often accompany such monies. Nationwide, United Appeal has been known to oversee quite strictly the running of organizations that it funds heavily. It is precisely this type of rigidity that Buddies Regional wants to avoid by encouraging local units to raise a large proportion of their budget on their own. And although the Acadiana United Appeal has in the past adopted a policy of minimum intervention, one can never be sure when this philosophy might change. Finally, a successful event would raise the statue of Bayou Land’s organization. Buddies Regional would raise the agency’s classification from an agency-in-formation to a provisional agency, which would enable more children to be served.

Tickets for the dance will be sold at $50 per couple, and the sale of drinks should net $10 per couple. The dance will be held at the Breau Bridge Music Hall, which has a ballroom seating 300 couples. Billy Delacroix, a manager at the music hall and a member of Buddies’ board of directors, has arranged for the owners to donate the ballroom. Hors d’oeuvres will be provided at a cost to Buddies of $5.00 per couple, and the $500 will cover labor and miscellaneous expenses. The only other expense is the cost of the band, whose selection is generating some controversy among the dance organizers. The choice is between the Mamou Playboys and the Red Stick Ramblers. Both plan the same type of music, a mixture of zydeco and Cajun music. The Mamou Playboys, however, will cost $6,000, the Red Stick Ramblers only $3,000.

Some Arguments for Each Band

Supporters of the Mamou Playboys believe that this band will increase ticket sales, and they cite the band’s 15 years’ experience and recognition among the 30-45 years old age group, the target population of the dance. These individuals also believe that a long view is appropriate. “We can’t just look at one year, “They argue, “But will also have to consider the impact of our decision on future dances. The Mamou Playboys will set the tone for the event and increase its future popularity. This is especially relevant if the United Appeal implements its matching scheme on any money raised by a charity from an event such as the dance.” Finally, they point out that if the Mamou Playboys were selected it would be a “big deal” for Lafayette and the dance would receive more publicity, this benefiting the Buddies organization. They cite this as an intangible factor that should not be ignored.

Supporters of the Red Stick Ramblers agree that the Mamou Playboys are the better band but question whether the Mamou Playboys will generate enough extra sales to make up the increased cost. Both sides feel 200 tickets will likely be sold even if the Red Stick Ramblers are selected, but there is some concern that the dance tickets will not sell as well as expect. “After all,’ says Bill Fabre, an accountant by profession, “there is a recession out there. The $50 ticket price may be a bit steep for this town, especially in view of the declining price of oil. Let’s be realistic and admit we may not be able to sell 200 tickets. The Mamou Playboys increase the overhead and the Buddies can’t afford to take a loss on this dance. Eliminating the deficit has to be our number one priority. There is just no slack in our budget, and any shortfall may will have to come out of the salaries for the staff, which would not only be unfair but would also be bad business. In short we simply do not have the luxury to worry about the future. Let’s get by this year and then concern ourselves with future dances.”

Supporters of the Red Stick Ramblers do admit that any additional publicity from using the Mamou Playboys would benefit Buddies. They are not convinced, however, that the Mamou Playboys would be best for the organization in the long run. Hopkins points out that two local philanthropists ‘have their eye on our agency.’ She believes that these individuals would “bail us out” in the event of a shortfall. “But,” she cautions, “they would be much less likely to support us in the future.” Hopkins is convinced that if Buddies can stand on its own this year, these philanthropists will be generous in coming years since “they admire agencies that try to be self-supporting.” She agrees with Fabre that he Red Stick Ramblers make more sense, though she believe that Fabre is too pessimistic about ticket sales. She wonders, however, whether the price should be lowered to $40 per couple. “Perhaps,” she speculates, “we can more than gain on volume what we would lose on the unit price.”

After much discussion all agree it is highly probable that 200 ticket can be sold even if the Red Stick Ramblers are used and that 150 is the absolute lower limit. It is also estimated that lowering the price to $40 will increase sales by 20 to 40 tickets.

Questions

For the questions 1 to 4 assume the price of a ticket is $50.

  (a) Calculate the break-even ticket sales for each band.

          (b) Express your answer as a percentage of the estimated ticket sales.

(a) Assume the Red Stick Ramblers are selected. Develop a table showing the profits on the dance at the following ticket levels: 150, 200, 250, and 300 (sellout).

(b) repeat part (a) assuming the Mamou Playboys are selected.

3.    How many extra tickets must be sold to compensate for the higher cost of the Mamou Playboys?

4. If the dance is to raise $8,000, how many tickets must be sold if the Mamou Playboys are used? The Red Stick Ramblers?

5. evaluate the proposal to lower the price of a ticket to $40. What implications, if any, does it have for the band choice?

6. Based on your previous answers and gather information provided in the case, which band would you pick? Why?

7. The break-even and profit formulas you sued are based on certain assumptions. What are they? Are they likely to hold for this situation? Explain.

8. Suppose the dance organizers were sure that 270 tickets could be sold at a price of $50 regardless of the band used. How would this affect the choice?

9. How would knowledge of the demand curve for each band be helpful for the determining which group to use and what price to charge?

In: Accounting