Fundamental of cs
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →CSC 2250 Fundamentals of Computer System Lab 4 1. (40 points): loop + array: Write a MIPS program to calculate and display the minimum score in the series of grades (between 0 and 100) stored in an array in RAM. A negative number is used as the sentry. Refer to the java implementation below to implement the MIPS program. Java implementation: The sample runs for the java program above: Sample Run: (1) Screenshot of your program: [Load your program into QtSPIM and run your program. Take a screenshot showing program code and register values.] (2) Test case (screenshot of the result): 2. (60 points): loop + array + method Write a MIPS program to calculate and display the sum of values stored in an array in RAM. Assume the array: numbers = {1,2,3,4,5,6,7,8,9,10}, total 10 elements in the array. You need to define a method in your MIPS program to compute the sum of the array. Below is the java implementation, refer to java implementation to implement your MIPS program. The sample run for the java program above: Sample Run1: (1) Screenshot of your program: [Load your program into QtSPIM and run your program. Take a screenshot showing program code and register values.] (2) Test cases (screenshot of the result): Program Grading Rubric Each program is graded using the following rules: (1) Your program is assembled successfully: 30% (2) Your program works as expected: 50 % (3) Your program follows style guidelines, including correct program header: 10 % (4) Your program is commented properly 10%
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds
