Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Complete this assignment within the space on your GitHub repo in a folder called assignment_01. When you are finished, submit it by uploading your files
Complete this assignment within the space on your GitHub repo in a folder called assignment_01. When you are finished, submit it by uploading your files to your GitHub repo using the interface in a browser. You are free to discuss your approach to each question with your classmates but you must upload your own work. Question 1: In this exercise, you will run the program ADD_1_2_3.txt, which adds the number in register 1 to the number in register 2 and saves the result in register 3. a) Browse to the Webpage http://proto.atech.tufts.edu/RodRego/, on which you will run the RAP program. b) Choose two numbers to add together to test this program. Enter the first number in register 1 and the second in register 2. c) Take a screen shot of the Rodrego program in this initialized state and save it in png format as ADD_12_3_init.png. You might want to crop the image to show only the Rodrego screen, without the rest of your desktop on display. d) Run the program ADD_12_3.txt to completion. e) Take a screen shot of the Rodrego program in this completed state and save it in png format as ADD_1_2_3_end.png. Upload the two png files into the assignment_01 folder your GitHub repo. When you refresh your browser, you should see the images appear on the page. If not, verify that you have named the files precisely as specified and upload a new document, as necessary. Question 2: In this exercise, you will run the program SUB-12 4. txt, which subtracts the number in register 2 from the number in register 1 and saves the result in register 4. That is, if Ri is the content of register i, the content of register 4 should be R4 = R1 R2. a) Browse to the Webpage http://proto.atech.tufts.edu/RodRegol, on which you will run the RAP program. b) Choose two numbers to subtract to test this program. Enter the first number in register 1 and the second in register 2. c) Take a screen shot of the Rodrego program in this initialized state. Wait until you see the result to name this file. d) Run the program SUB_12_4.txt to completion. e) Check the result. Is the correct value in register 4? i) If so, name the first image SUB_1_2_4_init_success.png. Then take a screen shot of the Rodrego program in this completed state and save it as SUB_12_4_end success.png. ii) If not, name the first image SUB.1 2.4 init fail.png. Then take a screen shot of the Rodrego program in this completed state and save it as SUB_1_2_4_end fail.png. f) Repeat the process in steps (a)-(d) with different values until you find a case that succeeded and another that failed. Name the two additional files of your second case as in step (e)(i) or (e)(ii), according to the outcome. g) Upload all four png files into the assignment_01 folder your GitHub repo. When you refresh your browser, you should see the images appear on the page. If not, verify that you have named the files precisely as specified and upload a new document, as necessary
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started