Your Perfect Assignment is Just a Click Away

We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!


COSC 1437 Texas A&M University Average Test Grade Assembly Questions

COSC 1437 Texas A&M University Average Test Grade Assembly Questions

Question Description

I’m working on a programming question and need support to help me study.

Professor Mavis Merrywether is teaching a graduate-level seminar on tropical diseases. Professor Merrywether is a respected scholar in the field, but she never really grasped arithmetic. After giving the class a test, she would like to know what the average test grade was. The test grades were as follows:

52, 77, 51, 89, 98, 74 ,85, 92, 95, and 86

Write an assembly procedure to calculate the average grade and display it.

The average grade for test 1 is

Then, write an assembly procedure to find the highest test grade from that array of grades and display it. (Professor Merrywether can certainly determine this on her own, but you think a bit of extra work will make her like you better.)

The highest grade on test 1 is

Use the c code and write the 32-bit x86 assembly language in the _asm code block

#include <iostream>

using namespace std;

extern “C” long Average(long, long[]);

extern “C” long Highest(long, long[]);

void main()


long Average[10] = { 52, 77, 51, 89, 98, 74, 85, 92, 95, 86 };

long Highest[10] = { 52, 77, 51, 89, 98, 74, 85, 92, 95, 86 };

_asm {


cout << “The average grade for test 1 is ” << Average(10, Average) << endl;

cout << “The highest grade on test 1 is ” << Highest(10, Highest) << endl;


Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Executive Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Executive Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Executive Papers is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Executive Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.