Reference no: EM133627930
PROGRAM DESCRIPTION: In this assignment, we have to1) write complete C++ program to implement an efficient variable-base radix sort for integers and (2) perform an analysis with respect to the theoretical and experimental running time. We are not providing any code template, but you must follow the input and output formats specified below. Please put down your name in the comments at the beginning of all the source code files. Read carefully what you are required to do to receive full credit.
PROGRAM REQUIREMENTS: • Your program should accept one command-line argument for the supported base (i.e., 2 for binary, 8 for octal, 10 for decimal, and 16 for hexadecimal) that will be used in the radix sort. If the user does not enter a base as the command-line argument, display out a meaningful usage statement and terminate the program.
• Implement as a function a variable-base radix sort (e.g., where the base is passed into a function as a parameter). That is, when the value 10 is passed to the function, the radix sort will use base 10 in the sorting algorithm.
• Randomly generate integral sequences with value range between 0 and 1000010, inclusively, and populate a data structure, such as an array, of size ?? = 10, 100, 1000, and 10000. Be sure to seed your random number.
• For each data structure size, run the radix sort 10 times to take measurements of the time needed for sorting in nanoseconds, excluding the time to generate the random numbers, display the sorting time for each pass, and compute the average sorting time. One possible way to measure the time is here.
• To show the proper working of the radix sort, display the unsorted and then sorted integers for the first pass of ten when the data structure size is the smallest (i.e., 10). Do not include the time to display in the time measurements.
• Your code should be well documented in terms of comments. For example, good comments in general consist of a header (with your name, course section, date, and brief description), comments for each variable, and commented blocks of code.
Describe the process associated with implementing
: Describe the process associated with implementing and documenting security controls. Also, explain the timeline and number of individuals you would need
|
What industrial psychology concepts would you raise
: What industrial psychology concepts would you raise? Why? Identify at least 3 recommendations to help create a smoother transition for employees.
|
Describes creating a program that addresses
: Describes creating a program that addresses all domains of development evidences an understanding of the impact of environments and relationships
|
Explain how they relate to an organizations programs
: Managers use a vaiety of planning approaches. Explain how they relate to an organization's programs, projects, policies, rules, and procedures.
|
Write complete c++ program to implement efficient variable
: write complete C++ program to implement an efficient variable-base radix sort for integers and (2) perform an analysis with respect to the theoretical
|
What is the most important job of the marketer
: In your opinion, and based on your research and or readings. What is the most important job of the marketer as it relates to your project? Any example to share?
|
What is the key concept or concepts of power redundancy
: What is the key concept or concepts of power redundancy, Network redundancy, Backup and retention policy, snapshots, configuration management
|
Which is a review and evaluation of healthcare procedures
: Which is review and evaluation of healthcare procedures and documentation for purpose of comparing quality of services or products provided in given situation?
|
Where should you look to see who made the firewall change
: outbound RDP packets are now successfully reaching external hosts, and you did not configure this firewall rule. Where should you look to see who made
|