Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write an assembly language program by ( NASM ) Write an assembly language program that prompts a user to enter the number of students in

image text in transcribed

write an assembly language program by ( NASM )

Write an assembly language program that prompts a user to enter the number of students in the class, and then prompts him/her to enter the student ID and total test score of each one of them. A student ID is an unsigned integer in the range 1000 to 9999. The test score is between 0 and 100. Assume further that the maximum class size is 20 students. Accordingly, the program should display each student's ID and his/her letter grade on the screen, and the class average and its equivalent class average letter grade. An example of a dialogue with a user would look like the following Enter the class size: 3 Enter ID of student 1020 Enter test score of student: 67 Enter ID of student: 4320 Enter test score of student: 78 Enter ID of student: 6820 Enter test score of student: 84 Class Grades are as follows: Student ID Letter Grade 1020 4320 6820 Class Average is 76 Class Average Grade is B Include error checking for the entered student IDs and test scores and the class size. Your program should display an error message in case of out of range input, and should ignore the entered data, allowing the user to enter another correct value Use the following table to determine the letter grades Score Range 90 to 100 76 to 89 60 to 75 Less than 60 Letter Grade

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago