Question: (Microprocessor Interfacing & Embedded System Lab) Problem D A class teacher has the marks for 20 students. He wants to create a distribution curve based
(Microprocessor Interfacing & Embedded System Lab)

Problem D A class teacher has the marks for 20 students. He wants to create a distribution curve based on the frequency of the marks obtained by the students. The exam was out of 10. Write a program that will count the frequency of the marks attained by the students. Example: Marks: 7 6 5 4 7 6 6 8 3 10 Frequencies: 0 1 0 0 2 3 4 5 6 6 8 7 2 8 1 9 0 10 1 0 1 1 1 3 Instructions: Create an array of size 20. Load the arrays with marks of your choice. Try to add some repetitions so that it simulates a real exam scenario. Create a second array. This array will contain the frequency of the marks. You may use the indices of the array to represent the mark. Study the example. You do not have to print anything, demonstrate the output using the AUX options of EMU8086. Problem D A class teacher has the marks for 20 students. He wants to create a distribution curve based on the frequency of the marks obtained by the students. The exam was out of 10. Write a program that will count the frequency of the marks attained by the students. Example: Marks: 7 6 5 4 7 6 6 8 3 10 Frequencies: 0 1 0 0 2 3 4 5 6 6 8 7 2 8 1 9 0 10 1 0 1 1 1 3 Instructions: Create an array of size 20. Load the arrays with marks of your choice. Try to add some repetitions so that it simulates a real exam scenario. Create a second array. This array will contain the frequency of the marks. You may use the indices of the array to represent the mark. Study the example. You do not have to print anything, demonstrate the output using the AUX options of EMU8086
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
