Question: Here is a sample of the input and output: Input: 3 2 1 8 1 0 0 Output: 6 7 6 A sample program to
Here is a sample of the input and output:
Input:
Output:
A sample program to show how to manage input and output is as follows. Type a single digit integer number in the Input box and run the program.
addi $t $zero, # Output loc
BegLoop:
addi $t $zero, # Input ready?
lw $t$t
beq $t $zero, NoInput
addi $t $zero, # Input loc
lw $t$t
addi $t $zero,
sw $t$t # Output to screen
mul $t $t $t # Times Input
sw $t$t # Output to screen
mul $t $t $t # Times Input
sw $t$t # Output to screen
mul $t $t $t # Times Input
sw $t$t # Output to screen
j BegLoop
NoInput:
Rubric
Assignment Rubric
Assignment Rubric
Criteria Ratings Pts
This criterion is linked to a Learning OutcomeSubmission as expected.
A txt file was submitted FirstnameLastnameAtxt
pts
Excellent
Submission met all requirements.
pts
Good
Submission had a minor error like the filename was not as requested.
pts
Needs Work
Submission had major errors
pts
Not submitted
Not submitted or totally wrong submission.
pts
This criterion is linked to a Learning OutcomeHigh level language algorithm included in comments
pts
Excellent
Submission met all requirements.
pts
Good
Submission included with minor errors.
pts
Needs work
Submission included with major errors.
pts
Not submitted
Not submitted or not included.
pts
This criterion is linked to a Learning OutcomeMIPSzy program submitted as requested The code submitted for the MIPSzy language is submitted as an export as specified.
pts
Excellent
Submission met all requirements and was submitted as an export pasted into a text document without modifications.
pts
Good
Submission had a minor error. like it was submitted as a text document rather than an export from the ZYBook..
pts
Needs work
Submission included with major errors.
pts
No Marks
Not submitted or not included.
pts
This criterion is linked to a Learning OutcomeMIPSzy program submitted as requested.
The code submitted for the MIPSzy language works properly with the expected output.
pts
Excellent
Submission met all requirements and output was correct.
pts
Good
Submission had a minor error something like putting the result in the wrong memory location.
pts
Needs work
Submission included with major errors like the wrong results.
pts
No Marks
Not submitted or not included.
pts
Total Points:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
