Questions
Implementation of Quick sort and heap sorting algorithms in C++ FULL PROGRAMM BOTH THE QUICK SORT...

Implementation of Quick sort and heap sorting algorithms in C++

FULL PROGRAMM

BOTH THE QUICK SORT AND HEAP SORT IN THE SAME PROGRAMM

In: Computer Science

Volunteers are an important part of strategic human resources management because they assist employees in meeting...

  1. Volunteers are an important part of strategic human resources management because they assist employees in meeting their organization’s mission.
  • How would you utilize the skills of volunteers in your place of work?
  • What do we need to understand about volunteer motivation to be effective in managing them?
  • What do you believe are some impacts of having volunteers in the workplace?
  • From your own experience, what do you see as emerging trends in managing volunteers?

(250 words in toral or more)

In: Operations Management

solve using both methods (Dsolve and ODE45 on matlab) please provide steps 1) y'+y=e^x 2) y'+2y=...

solve using both methods (Dsolve and ODE45 on matlab) please provide steps

1) y'+y=e^x

2) y'+2y= 2 sin(x)

In: Advanced Math

A bullet of mass 0.010 kg and speed of 100 m/s is brought to rest in...

A bullet of mass 0.010 kg and speed of 100 m/s is brought to rest in a wooden block

after penetrating a distance of 0.10 m. The work done on the bullet by the block is

A.

50 J.

B.

-

50 J.

C.

0.001 J.

D.

-

0.001 J.

E.

zero.

In: Physics

PROGRAM MUST BE WRITTEN IN JAVAFX Develop a program flowchart and then write a menu-driven Java...

PROGRAM MUST BE WRITTEN IN JAVAFX

Develop a program flowchart and then write a menu-driven Java program that will solve the following problem. The program uses one and two-dimensional arrays to accomplish the tasks specified below. The menu is shown below. Please build a control panel as follows: (Note: the first letter is shown as bold for emphasis and you do not have to make them bold in your program.)

Help SetParams FillArray DisplayResults Quit

Upon program execution, the screen will be cleared and the menu shown above will appear at the top of the screen and properly centered. The menu items are explained below. Note, that upon execution of the program only options Help, SetParams, and Quit will be functional. You need to use a bool type variable flags to check for the proper states.

H or h(for Help) option will invoke a function named help( ) which will display a help screen. The help screen(s) should guide the user how to interact with the program, type of data to be entered, and what results would the program produce. Each help screen should remain on the screen until the user strikes any key (e.g., strike the space bar followed by a carriage return). Once the user strikes a key, the screen will be cleared and the menu is displayed again.

S or s (for SetParams ) option will prompt the user for the number of students and the number of quizzes in a course. The number of students can be up to 50 and the number of quizzes can be up to 5. That is, you need to size arrays that can handle up to these limits. The user’s input needs to be checked against these limits. If they are out of range, the program needs to issue a message and prompt the user again without terminating the program. Once this option is successfully completed, the screen will be cleared and the menu is displayed again.

F or f (for FillArray ) option will be invoked after option SetParams. Your program will check for this. If this option is exercised before SetParams, the program must provide informational warning to the user, wait for the user to read the message, and then allow the user to strike a key, where the program clears the screen and displays the menu again. Once option SetParams is exercised, the program will fill the array with the following constraints: Student number (or ID) is a five-digit integer value starting at 75678 and increments by one for each student in the class (i. e., 75679, 75680, etc.), and the scores in each quiz is an integer number, randomly generated by the program, in the range of 0 to 100, inclusive. Once this task is completed, the program will issue the message “Data entry completed…” and allows the user to read the message, strike a key, which causes the screen to clear, followed by the menu display. Under no circumstances should the task be done in the main() function. The main() will delegate the tasks to other functions specified by you, the code developer.

D or d (for Display Results) option will be invoked after option FillArray. Your program will check for this. If this option is exercised before FillArray, the program must provide informational warning to the user, wait for the user to read the message, and then allow the user to strike a key, where the program clears the screen and displays the menu again. Once option FillArray is exercised, the program will compute the following parameters for the array of quizzes with constraints as specified below: This option computes the lowest, the highest, average, and Medium (sort the array in ascending order, and picking the middle element of the sorted array) for each quiz. The option displays the tabulated quiz array showing the rows and columns with proper labels. The following is an example you can employ in your program. The example is shown for 4 students and 3 quizzes.

Student ID Quiz 1 Quiz 2 Quiz 3

75678

75679

75680

75681

The results for each quiz should be tabulated and listed as well. The following is an example of output format you can follow.

Quiz 1:

Lowest: xx

Highest: xx

Average: xx.xx

Medium x

where x represents a place holder for the actual digit.

Once the user entered a key, the screen will be cleared and the menu is displayed again

Q or q (for Quit) option will clear the screen and returns the control to the Operating System

PROGRAM MUST BE WRITTEN IN JAVAFX (Chapter 12 Starting Out With Java 7th edition Tony Gaddis)

In: Computer Science

Suppose you manage a local grocery store, and you learn that a very popular national grocery...

Suppose you manage a local grocery store, and you learn that a very popular national grocery chain is about to open a store just a few miles away. Use the model of monopolistic competition to analyze the impact of this new store on the quantity of output your store should produce (Q) and the price your store should charge (P). What will happen to your profits? Explain your reasoning in detail. How and why do profits change? What could you do to defend your market share against the new store? (200 WORDS)

In: Economics

discuss the constitution that makes up whole blood

discuss the constitution that makes up whole blood

In: Biology

You are excited to start saving money. You plan to put $20 per week into an...

You are excited to start saving money. You plan to put $20 per week into an investment that you think will pay you 10.4% per year. You plan to make your first deposit today. How much will you have in 10 years? Suppose there are 52 weeks in a year. (Enter only numbers and decimals in your response. Round to 2 decimal places.)

In: Finance

"London Cholera outbreak" Draw conclusions about "London Cholera outbreak" and formulate practical applications. What can be...

"London Cholera outbreak"

Draw conclusions about "London Cholera outbreak" and formulate practical applications.

  • What can be done to prevent similar outbreaks in the future?

In: Nursing

Determine the Terzaghi’s Bearing Capacity of a square footing 2.25x2.25m located at a depth of 1.24...

Determine the Terzaghi’s Bearing Capacity of a square footing 2.25x2.25m located at a depth of 1.24 m in a sandrock for which c = 0 and Ф = 360. The unit weight of the sandrock above the water table is 17.17 kN/m³; the saturated unit weight is 19.37 kN/m³.

Terzaghi’s Bearing Capacity Factors—Nc=63.53 , Nq=47.16 ,   and Ny= 54.36

3.1.The water table is at the surface

3.2.The water table is at 1.10m from the surface

3.3.The water table is at 1.55m from the surface

3.4.The water table is at 3.10m from the surface

3.5.The water table is at 4.50m from the surface

In: Civil Engineering

List at least 4 ways the behaviors of airlines in the US have changed since the...

List at least 4 ways the behaviors of airlines in the US have changed since the deregulation of the late 1970s. Who has gained by the deregulation of the airline industry? Who has lost? Explain your answer using economic concepts including monopoly power, competition, producers' surplus, consumers' surplus, deadweight loss, etc.

In: Economics

a) Plot the Lorenz curve for the income distribution: (2,2,4,6,8,20,30,40,60,100) Consider an income redistribution that takes...

a) Plot the Lorenz curve for the income distribution:

(2,2,4,6,8,20,30,40,60,100)

Consider an income redistribution that takes 20% of income from each of the three richest individuals and distribute equally to individuals that have an income below the poverty line (9). Plot the Lorenz curve again to demonstrate that inequality has decreased.

What happened to the coefficient of variation between the two periods? What can you conclude about the change in inequality between periods from this?

In: Economics

Explain why, in any DNA molecule, the % adenine = % thymine, and the %cytosine =...

Explain why, in any DNA molecule, the % adenine = % thymine, and the %cytosine = % guanine.

In: Biology

Pretend you are a Shark Tank advisor. Two business partners have come to you for advice...

Pretend you are a Shark Tank advisor. Two business partners have come to you for advice for a business they own and operate. This assignment requires you to create a one-page executive summary (not including backup tables of your analysis) of your advice for this business.

Topic/Question - Read the following scenario then address the recommendation/advice section of this assignment.

Tired of hiring themselves out and abiding by corporate rules and various personality issues with management of fitness facilities, two fully certified personal trainers opened a fitness facility. Each trainer was certified in indoor cycle (aka Spinning), personal training, strength, high-intensity training, and TRX. The facility was housed in the finished basement of one owner’s personal residence. They invested $3000 that covers startup equipment costs. Startup equipment included spin bikes, fans, weights, step benches, and mats. Over time they upgraded the spin bikes and added more features such as resistance bands, ropes, TRX equipment, kettlebells and other items for approximately $1000. Based on periodic feedback from clientele, they added some yoga classes and another instructor to teach additional spin classes. The owners taught 90% of the classes themselves and did not take a salary from the business. The yoga classes fully funded the yoga instructor. The additional spin instructor cost approximately $150/month. Costs included $500 monthly for insurance, $200 monthly for utilities, $80 for music licensing. Clientele paid $10 per class unless they purchased a package of 20 classes for $85 or 10 classes for $65. They ran approximately 26 classes a week. Unless there were 2 clients in a class, the class was cancelled. The business averaged 4 clients per class and averaged cancelling 3 classes per week. They also had personal training clients who paid 20 per session. The business averaged 8 personal training sessions per week. Tax rate is 20%. Depreciation on the equipment is 20% a year. Efficiency of the business is compromised from time to time based on clientele – since this is a boutique business that runs classes of 5-6 individuals, personalities and drama sometimes require the business owner’s significant management time in the form of communications with clientele.

Between the two of them, they could earn $800/month by contracting themselves out to other facilities. Additionally, without the business, the trainers could conduct personal training sessions in the basement facility using the equipment they already have and would incur insurance costs of $60/month, no music licensing fees and $100 utilities.

In: Economics

METHOD AND IMPORTANCE OF DRAINAGE AND DEWATERING GIVING SOME PRACTICLES EXAMPLES

METHOD AND IMPORTANCE OF DRAINAGE AND DEWATERING GIVING SOME PRACTICLES EXAMPLES

In: Civil Engineering