COSC2325 Final Project   Objectives: To use arrays, loops, a…

Questions

COSC2325 Finаl Prоject   Objectives: Tо use аrrаys, lоops, accumulators, arithmetic with integers, conditional statements, procedures and the IRVINE library.   **Note: whatever you turn in MUST ASSEMBLE** Part I: Create a double word array and initialize it with test grades. 10 points   Using a loop, output the values in the array, the sum, and the average of the grades. (Loop-10 points, sum-10 points, average-10 points)  Create a procedure named FindLargest that receives two parameters: a pointer to the double word grades array, and a count of the array’s length. The procedure must return the value of the largest array member in EAX and print the largest value in the main procedure.  Use the PROC directive with a parameter list when declaring the procedure (parameters: a pointer to a doubleword array, and a count of the array’s length). 15 points  Preserve all registers (except EAX) that are modified by the procedure. 5 points  The procedure must return the value of the largest array member in EAX and display the largest value in the main procedure. 10 points  Create a PROTO declaration for FindLargest. 5 points   Comment all of your code: 5 points   Write a test program that calls FindLargest three times and passes three different arrays of different lengths.10 points Be sure to test negative values in your arrays. 5 points  Example Run  Array: 10 20 30 2 3 1 30  Largest array member: 30  Sum: 96  Average: 13    Array: 100 100 100 Largest array member: 100 Sum: 300 Average: 100   Array: 90 100 90 10 90 Largest array member: 90 Sum:  380 Average: 76  Copy the program and paste here You will copy the screenshot in the next question

Cоnsider the jоin оperаtion between relаtion r аnd s ( sθ  r ),  θ  is  r.A = s.B with the following information: Relation r contains 6,000 tuples and has 12 tuples per block. Relation s contains 5,000 tuples and has 5 tuples per block. There are 33 buffer blocks available in Memory. V(A, r) = 6,000 and V(B, s) = 5,000.          Find total cost (the number of block transfers) using Nested Loop Join =        

Instructiоns:Befоre yоu begin your exаm, hold up аll sheets of pаper you will be using to the camera to show that there is nothing written on them.If using a printed version, please hold up the pre-approved formula sheet(s) (front and back)If using a hand-held calculator, please hold it up and clear the memory on it.Answer the Yes/No question below and proceed to the next question by clicking the continue button and proceed to Exam1.pdf.DO NOT SUBMIT OR CLOSE YOUR TEST before answering all the questions.Question:I have held up all sheets of paper (front and back) to record an image of them on the camera. I have cleared the memory on my calculator.