COSC2325 In-class Final Project Objectives: To use arrays, loops, accumulators, arithmetic with integers, conditional statements, procedures and the IRVINE library. **Note: whatever you turn in MUST ASSEMBLE. It cannot contain errors. A grade of zero is given if what is turned in does not assemble. Tasks: 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. Be sure to test negative values in your arrays. (10 points) Example Run: Output formatted like example below: (10 points) Array1: 10 20 30 2 3 1 30 Largest array member: 30 Sum: 96 Average: 13 Array2: 10 20 -30 Largest array member: 20 Sum: 0 Average: 0 Array3: 20 -20 30 2 100 Largest array member: 100 Sum: 132 Average: 26 Final Step: TURN IN Copy the program and paste here. You will copy the screenshot in the next question
Blog
At the time of her death on October 4, Kaitlyn: Was the…
At the time of her death on October 4, Kaitlyn: Was the sole life beneficiary of a trust (assets worth $2 million) created 10 years ago by Paul (Kaitlyn’s husband). The transfer was by gift of securities then worth $500,000. Paul and Kaitlyn’s children are the remainder beneficiaries. Owned stock in Mauve Corporation (basis of $800,000 and fair market value of $1 million). On September 7, a dividend of $48,000 was declared on the stock payable to all shareholders of record on October 3. The $48,000 was received by Kaitlyn’s executor on October 19. Made a taxable gift of $400,000 in a prior tax year. As to these transactions, Kaitlyn’s gross estate includes:
In 2013, Drew creates an irrevocable trust with $1,000,000 o…
In 2013, Drew creates an irrevocable trust with $1,000,000 of securities. Under the terms of the trust, Paula (Drew’s wife) is granted a life estate with remainder to their children. Drew makes a QTIP election as to the trust. Drew dies in 2015 when the trust is worth $1,500,000, and Paula dies in 2024 when the trust is worth $5,000,000. Which, if any, of the following is a correct statement?
Stacey inherits unimproved land (fair market value of $6 mil…
Stacey inherits unimproved land (fair market value of $6 million) from her father on June 1, 2023. She disclaims her interest in the property as follows: one-third on December 1, 2023; one-third on January 3, 2024; and the remaining one-third on May 31, 2024. In all cases, the disclaimers pass the interest to her son (the next heir under state law). The Federal gift tax applies to Stacey for:
A discretionary form of financing would be
A discretionary form of financing would be
Financial leverage is best described by considering a compan…
Financial leverage is best described by considering a company’s:
Accounting break-even means that the company is able to pay…
Accounting break-even means that the company is able to pay its interest expense and also the dividends shareholders were expecting.
How does an increase in fixed costs affect the breakeven poi…
How does an increase in fixed costs affect the breakeven point?
Which of the following is NOT a component of breakeven analy…
Which of the following is NOT a component of breakeven analysis?
Describe the three different cellular targets of the drugs u…
Describe the three different cellular targets of the drugs used to treat status epilepticus (e.g., a seizure lasting 5 min or more):