Question: Review the attached excerpt on coding Frequency Distribution routines. Work through the examples and internal functions to manipulate internal Dictionaries to represent grades from a

Review the attached excerpt on coding Frequency Distribution routines.
Work through the examples and internal functions to manipulate internal Dictionaries to represent grades from a Computer Science class. From there, complete the following steps to implement code and show your output:
1) Implement the frequencyTable function and show the output for the following frequency table:
frequencyTable([3,1,1,5,3,1,2,2,3,5,3,5,4,4,6,7,6,7,5,7,8,3,8,2,3,4,1,5,6,7])
Did you notice a discrepancy with the book excerpt?
2) Implement the histogram generator as described in section 4.6.3
frequencyChart{[3,3,5,7,1,2,5,2,3,4,6,3,4,6,3,4,5,6,6,]}
3) Follow the instructions in section 4.7 to handle Standard Deviation. This includes covering the data lists in Session 4.17- show your output.
Update *
From class we reviewed the basic requirements for HW #3.
It will make sense to code everything one module at a time to make sure that you are picking up on the method and intent. Here are the methods that I had in my demo code:
Mode
FrequencyTable
FrequencyTableAlt
FrequencyChart
StdDev
Assuming that you code one module at a time (with prerequisites - i.e., mode & StdDev), here are the data sets that I need to see for the grading of your output:
A) Print out FrequencyTable - with mean score and Standard Deviation
# frequencyTable([3,1,1,5,3,1,2,2,3,5,3,5,4,4,6,7,6,7,5,7,8,3,8,2,3,4,1,5,6,7])
B) Print out FrequencyTableALT - with mean score & Standard Deviation
# frequencyTableAlt([3,1,1,5,3,1,2,2,3,5,3,5,4,4,6,7,6,7,5,7,8,3,8,2,3,4,1,5,6,7])
C) Print out the GUI for FrequencyChart
# frequencyChart([3,3,5,7,1,2,5,2,3,4,6,3,4,6,3,4,5,6,6])
D) Print out the GUI for FrequencyChart - with a new set of grades.
# frequencyChart([80,75,55,75,93,72,85,92,93,64,86,83,94,86,73,54,75,96,86])

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!