I followed the instructions to set up my virtual machine.
Computing Exercises Associated With HW 2:
(Some commands not shown because their output is too long to screenshot.)
The description of -l is "use a long listing format"
The description of -h is "with -l and -s, print sizes like 1K 234M 2G etc."
As the description suggests, using "-h" with "-l" displays the file sizes in a human-readable format.
Computing Exercises Associated With HW 3:
ARG is a meaningless expression that can't be compiled (or if in quotes it's just the string "ARG"), while $ARG represents the variable ARG.
Computing Exercises Associated With HW 4:
Variables program:
Numerical operations program:
++ adds 1 to a variable, -- subtracts 1. C++ is probably an augmented version of C.
++x changes the variable then returns it, whereas x returns the variable then changes it.
Non-numeric variables program:
While loop program:
For loop program:
Convert while to for loop:
Debugging:
(When I change idebug to 1, the output appears again.)
Computing Exercises Associated With HW 5:
Computing Exercises Associated With HW 6:
Computing Exercises Associated With HW 7:
Computing Exercises Associated With HW 8:
Computing Exercises Associated With HW9
https://colab.research.google.com/drive/14FsjghQmPEZukqhC9EF-KwqdbPL8pco4
Computing Exercises Associated With HW9.5
https://colab.research.google.com/drive/1LCEKwNQ2AgD7Vl0VDpXHG1SLnNvhJEcV
Computing Exercises Associated With HW10