[SOLVED] 10/5/22, 8:27 AM

100.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon COMPSCI400-Make-Activity-gwl0gc.zip (55.3 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (3 votes)

04. Make Activity
Setup
1. Log into your Google Cloud VM.
2. Use the wget command to download the starter files (and folders) into your directory structure:

3. After downloading this file, use the tar command to extract its contents and change to the resulting directory:

4. You’ll need to install make on your VM before you can use it:
sudo apt update sudo apt install make
5. You’ll also need Java installed for this activity, so install the headless version (the headless version runs on systems without a graphical user interface, like our GCP VM): sudo apt install openjdk-17-jdk-headless
Activity Add
6. Read through the file RadixSorter.java and make sure you understand what it does. Do not edit the TODO in the file yet.
7. Read through the Makefile and make sure you understand all the rules in the file. The comments describe what they do.
8. Then read through the file SortPrinter.java and make sure you understand what it tests for in the output of RadixSorter.java.
9. Now run make without any argument to compile and run RadixSorter.java.
10. Open the Makefile in the editor of your choice. Add one or more rules to this make file to introduce a new target named “test” which executes the main method within SortPrinter.java. When this make target is invoked, it should also ensure that the SortPrinter.java and
RadixSorter.java files are re-compiled whenever their contents have been changed since their last compilation.
11. When you run the command: make test, the printer should run and display the lists out of order.
12. Open RadixSorter.java and edit this file so that it sorts the lists using radix sort. You can edit, and run the make test command as many times as you need to resolve this bug so that the test passes when run. You can also add more lists to SortPrinter.java if you want to run more tests.
https://canvas.wisc.edu/courses/323035/pages/04-make-activity 1/2 10/5/22, 8:27 AM 04. Make Activity: COMPSCI400: Programming III (001) FA22
Submit
13. Navigate to the 04.MakeActivity folder and run the submission script (which will prompt you for your cs login and password) by typing:
Add
https://canvas.wisc.edu/courses/323035/pages/04-make-activity 2/2

  • COMPSCI400-Make-Activity-gwl0gc.zip