Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 11 Weeks Ago, 2 Days Ago |
Questions Answered: | 4870 |
Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Write a program that uses the InputBox method to let the user enter 7 exam scores and 7
student names into two separate arrays. The information for each student is stored in the
same relative position in each array. For instance, the exam score of strStudentNames(0)
is stored in intScores(0). Compute and display the followings:
a) Display each student name and his/her exam score in a list box. (15 point)
b) Write a function that calculates and returns the average score of the class (10
points)
c) Write a function that calculates and returns the range of scores (10 points)
d) Write a function that calculates and returns the median score of the class (15
points)
e) Let's assume that the passing score is 75. How many students passed the exam?
(10 points)
f) Write a procedure that searches for a student name in the strStudentNames() array.
(Note: Let the user enter a name into a TextBox control and click btnFindStudent
to begin the search process.) (10 points)