Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

table [ [ Mohd Halim, 6 3 ] , [ Farah Haryani, 1 0 0 ] , [ Aznil , 5 8 ] ,

\table[[Mohd Halim,63],[Farah Haryani,100],[Aznil,58],[Najwa,79],[Amirul,86],[Sumayyah,60]]
Design a workable VB interface that must at least have the following control buttons:
(i) CalculateAverage - Compute and display the average final score for the class to the user.
(ii) CalculateLowest - Compute and display the student name with lowest score in class to the user.
(iii) CalculateMedian - Compute and print out the name of student(s) with a median score. A median score is middle score when the score is sorted in ascending order. If the number of students is even that there are two median scores so you have to print the two names instead of one for odd number of studerits.
(iv) Exit - To clear and terminate the program.
Write all the necessary VB code to implement this application successfully.
Given a sample of student's name list and their score test as shown in the table below in a Microsoft Excel Worksheet.
\table[[Student,Score],[Mohd Halim,63],[Farah Haryani,100],[Aznil,58],[Najwa,79],[Amirul,86],[Sumayyah,60]]
Design a workable VB interface that must at least have the following control buttons:
(i) CalculateAverage - Compute and display the average final score for the class to the user.
(ii) CalculateLowest - Compute and display the student name with lowest score in class to the user.
(iii) CalculateMedian - Compute and print out the name of student(s) with a median score. A median score is middle score when the score is sorted in ascending order. If the number of students is even that there are two median scores so you have to print the two names instead of one for odd number of students.
(iv) Exit - To clear and terminate the program.
Write all the necessary VB code to implement this application successfully.
image text in transcribed

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

Advances In Knowledge Discovery In Databases

Authors: Animesh Adhikari, Jhimli Adhikari

1st Edition

3319132121, 9783319132129

More Books

Students also viewed these Databases questions

Question

Many different people can conduct performance appraisals.

Answered: 1 week ago