Question - Make a Python Program That Accomplishes the Following Three Tasks Based on the Given Chart of Numbers: You should convert the number chart to maybe a .txt and use that within your code to find the most common and uncommon numbers. ** a. Find the 7 most common repetitive numbers from the list and output this along with how many times the number appears. b. Find the 7 most uncommon numbers from the list and output this along with how many times the number appears. c. Use binomial distribution to find the probability of each of the 7 common repetitive numbers. Ex: of how output should look Most Common Numbers: Number 21 appears 17 times Number 25 appears 14 times Number 18 appears 14 times Number 20 appears 9 times Number 17 appears 8 times Number 27 appears 8 times Number 31 appears 8 times Least Common Numbers: Number 8 appears 1 times Number 12 appears 1 times Number 60 appears 1 times Number 57 appears 1 times Number 62 appears 1 times Number 49 appears 1 times Number 80 appears 1 times Probabilities of Most Common Numbers (Binomial Distribution): Probability of observing number 21 exactly 17 times: 0.0996 Probability of observing number 25 exactly 14 times: 0.1090 Probability of observing number 18 exactly 14 times: 0.1090 Probability of observing number 20 exactly 9 times: 0.1341 Probability of observing number 17 exactly 8 times: 0.1418

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

 Make a Python Program That Accomplishes the Following Three Parts Based on the Given Chart of Numbers:
 a. Find the 7 most common repetitive numbers from the list and output this along with how many times the number appears.
b. Find the 7 most uncommon numbers from the list and output this along with how many times the number appears.
c. Use binomial distribution to find the probability of each of the 7 common repetitive numbers.
Number Chart (Use these numbers to find the most common and uncommon): 25,23,17,25,48,34,29,34,38,42,30,50,58,36,39,28,27,35,30,34,46,46,39,51,46,75,66,20, 45,28,35,41,43,56,37,38,50,52,33,44,37,72,47,20,80,52,38,44,39,49,50,56,62,42,54,59,35,35,32,31,37,43,48,47,
38,71,56,53, 51,25,36,54,47,71,53,59,41,42,57,50,38,31,27,33,26,40,42,31,25, 26,47,26,37,42,15,60,40,43,48,30,25,52,28,41,40,34,28,40,38,40,30,35,27,27,32,44,31, 32,29,31,25,21,23,25,39,33,21,36,21,14,23,33,27,31,16,23,21,13,20,40,13,27,33,34,31,13,40,58,24, 24,17,18,18,21,18,16,24,15,18,33,21,13, 24,21,29,31,26,18, 23,22,21,32,33,24,30,30,21,23, 29,23,25,18, 10,20,13,18, 28, 12,17,18, 20,15,16,16, 25, 21,18,26,17,22, 16,15,15, 25, 14,18,19,16,14,20,28,13,28,39,40,29,25, 27,26,18,17,20,25,25,22,19,14, 21,22,18, 10,29,24,21,21,13, 15, 25, 20,29,22,11,14,17,17,13,21,11,19,17,18,20,8,21,18,24,21,15,27,21

Question - Make a Python Program That Accomplishes the Following Three Tasks Based
on the Given Chart of Numbers:
You should convert the number chart to maybe a .txt and use that within your code to
find the most common and uncommon numbers. **
a. Find the 7 most common repetitive numbers from the list and output this along with how
many times the number appears.
b. Find the 7 most uncommon numbers from the list and output this along with how
many times the number appears.
c. Use binomial distribution to find the probability of each of the 7 common repetitive
numbers.
Ex: of how output should look
Most Common Numbers:
Number 21 appears 17 times
Number 25 appears 14 times
Number 18 appears 14 times
Number 20 appears 9 times
Number 17 appears 8 times
Number 27 appears 8 times
Number 31 appears 8 times
Least Common Numbers:
Number 8 appears 1 times
Number 12 appears 1 times
Number 60 appears 1 times
Number 57 appears 1 times
Number 62 appears 1 times
Number 49 appears 1 times
Number 80 appears 1 times
Probabilities of Most Common Numbers (Binomial Distribution):
Probability of observing number 21 exactly 17 times: 0.0996
Probability of observing number 25 exactly 14 times: 0.1090
Probability of observing number 18 exactly 14 times: 0.1090
Probability of observing number 20 exactly 9 times: 0.1341
Probability of observing number 17 exactly 8 times: 0.1418
Transcribed Image Text:Question - Make a Python Program That Accomplishes the Following Three Tasks Based on the Given Chart of Numbers: You should convert the number chart to maybe a .txt and use that within your code to find the most common and uncommon numbers. ** a. Find the 7 most common repetitive numbers from the list and output this along with how many times the number appears. b. Find the 7 most uncommon numbers from the list and output this along with how many times the number appears. c. Use binomial distribution to find the probability of each of the 7 common repetitive numbers. Ex: of how output should look Most Common Numbers: Number 21 appears 17 times Number 25 appears 14 times Number 18 appears 14 times Number 20 appears 9 times Number 17 appears 8 times Number 27 appears 8 times Number 31 appears 8 times Least Common Numbers: Number 8 appears 1 times Number 12 appears 1 times Number 60 appears 1 times Number 57 appears 1 times Number 62 appears 1 times Number 49 appears 1 times Number 80 appears 1 times Probabilities of Most Common Numbers (Binomial Distribution): Probability of observing number 21 exactly 17 times: 0.0996 Probability of observing number 25 exactly 14 times: 0.1090 Probability of observing number 18 exactly 14 times: 0.1090 Probability of observing number 20 exactly 9 times: 0.1341 Probability of observing number 17 exactly 8 times: 0.1418
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education