Worldometer is run by an international team of developers, researchers, and volunteers intending to make world...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Worldometer is run by an international team of developers, researchers, and volunteers intending to make world statistics available in a thought-provoking and time relevant format to a wide audience worldwide. It is published by a small and independent digital media company based in the United States. Worldometer is a provider of global COVID-19 statistics for many caring people around the world. For COVID-19, worldmeter collect data from official reports. direct and indirect from Government's communication channels, and through local media sources when deemed reliable. Table 4 below shows the latest data collected up to October 2021 for the top 10 countries for COVID-19 reported cases. As a local statistician, you are required to present the data in a sorted format for comparison. (a) Table 4 COUNTRY TOTAL CASES TOTAL TOTAL ACTIVE DEATHS RECOVERED CASES USA 45,549,842 739,803 35,107,459 9,702,580 INDIA 34,023,005 451,509 33,362,709 208,787 BRAZIL 21,597,949 601,643 20,740,267 256,039 UK 8,272,883 138,080 6,765,629 1,369,174 RUSSIA 7,892,980 220,315 6,937,756 734,909 TURKEY 7,540,223 66,841 6,987,778 485,604 FRANCE 7,069,089 117,173 6,860,549 91,367 IRAN 5,754,047 123,498 5,280,624 349,925 ARGENTINA 5,268,653 115,582 5,135,343 17,728 SPAIN 4,980,206 86,869 4,823,235 70.102 Referring to Table 4. produce the processing cycle of sorting "Total Deaths" in descending order using the Quick sort algorithm. [5 Marks] (b) Based on the illustration from 2 (a), examine and write the Quick Sort function to sort based on "Total Deaths" where the pivot value is the last element. [25 Marks] Worldometer is run by an international team of developers, researchers, and volunteers intending to make world statistics available in a thought-provoking and time relevant format to a wide audience worldwide. It is published by a small and independent digital media company based in the United States. Worldometer is a provider of global COVID-19 statistics for many caring people around the world. For COVID-19, worldmeter collect data from official reports. direct and indirect from Government's communication channels, and through local media sources when deemed reliable. Table 4 below shows the latest data collected up to October 2021 for the top 10 countries for COVID-19 reported cases. As a local statistician, you are required to present the data in a sorted format for comparison. (a) Table 4 COUNTRY TOTAL CASES TOTAL TOTAL ACTIVE DEATHS RECOVERED CASES USA 45,549,842 739,803 35,107,459 9,702,580 INDIA 34,023,005 451,509 33,362,709 208,787 BRAZIL 21,597,949 601,643 20,740,267 256,039 UK 8,272,883 138,080 6,765,629 1,369,174 RUSSIA 7,892,980 220,315 6,937,756 734,909 TURKEY 7,540,223 66,841 6,987,778 485,604 FRANCE 7,069,089 117,173 6,860,549 91,367 IRAN 5,754,047 123,498 5,280,624 349,925 ARGENTINA 5,268,653 115,582 5,135,343 17,728 SPAIN 4,980,206 86,869 4,823,235 70.102 Referring to Table 4. produce the processing cycle of sorting "Total Deaths" in descending order using the Quick sort algorithm. [5 Marks] (b) Based on the illustration from 2 (a), examine and write the Quick Sort function to sort based on "Total Deaths" where the pivot value is the last element. [25 Marks]
Expert Answer:
Related Book For
Statistics For The Behavioral Sciences
ISBN: 9781319190743
5th Edition
Authors: Susan A. Nolan, Thomas Heinzen
Posted Date:
Students also viewed these programming questions
-
E7-7 Calculating Cost of Ending Inventory and Cost of Goods Sold under Periodic FIFO, LIFO, and Weighted Average Cost LO 7-3 Oahu Kiki tracks the number of units purchased and sold throughout each...
-
Use the attached "words.txt" file to store the words along with their ranks in an AVL tree. Then provide the user the option to search for any word. If the word exists the program displays the rank...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
We saw in Section 25.6 that DCC can be used to form a peptide bond. We explored the mechanism, and we saw that DCC activates the COOH moiety so that it readily undergoes nucleophilic acyl...
-
Thanks to a recent pay raise, you now have enough funds to pay for a housecleaner every other week. You are therefore in a position to delegate this dreadful cleaning task to someone else. What steps...
-
A firm is considering using the Internet to supplement its traditional sales methods. Using data from an industry association, the firm estimates that 1 of every 1,000 Internet hits results in a...
-
Show that the market portfolio must be on the capital market line and on the portion of the curve called the efficient frontier (see Section 21.2).
-
Sunbird Theatre Inc. owns and operates movie theaters throughout Florida and Georgia. Sunbird Theatre Inc. has declared the following annual dividends over a six-year period: 2011, $20,000; 2012,...
-
For the given functions, (a) express dw dt dw Then (b) evaluate dt as a function of t, both by using the Chain Rule and by expressing w in terms of t and differentiating directly with respect at the...
-
(JAVA Programming ONLY, No other language is allowed no javascript either) 1 a) In Java Design and implement an array-based stack. Implement the following operations: push, pop, top, size, isEmpty,...
-
Suppose you short-sell a $100m 10-year on-the-run par treasury and buy an $100m 10-year off-the-run par treasury to earn the yield spread in late 1997. At the time, the rates on these bonds were...
-
< 4:12 Ishu Meri Jaan on 24/09/23, 4:05... All Media Iny ating depart Ladha pch ch diff cabl Do charge of selecting of acted depreca n .4G 00
-
For each of the following situations, compute for the amount of discount and the payment made: PURCHASE DATE Aug. 10 LIST PRICE P40,000 Sept. 8 P10,000 TERMS P5,000 down, balance 2/10n n/30, FOB...
-
Kinder Morgan, an oil and gas pipeline company, is contemplating the expansion of its TransMountain Pipeline, which runs from Alberta to the British Columbia coast. The project is estimated to cost...
-
1 . If you want to design a radio telescope with an angular resolution of 0 . 0 5 o operating at a frequency of 9 4 GHz , what diameter should the radio telescope have? 2 . The Extremely Large...
-
(1) Building upon you identification of the various stakeholders and advocates within Anti-Black Racism policy, what may be the tensions between stakeholders? What are the tensions between...
-
For the given transfer function: Vo(s) / Vi(s) = (s^2C^2R^2 + 1) / (s^2C^2R^2 + 4sCR + 1) Assumiing that 1/(CR) = 120 PI so write the matlab code to find the magnitude plot
-
Can the purchase of a company by venture capitalists create value? And by trade buyers?
-
Why can we say that the mean or the median figure is the choice of an indecisive person?
-
Has a reduction in working capital of 1% the same impact on a DCF as a 1% improvement in the EBIT margin?
Study smarter with the SolutionInn App