-
Notifications
You must be signed in to change notification settings - Fork 0
/
unit4_ex4.1.6.py
54 lines (40 loc) · 1.12 KB
/
unit4_ex4.1.6.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# exercise 4.1.6 from unit 4
'''
The table in front of you is a histogram (grouped frequency table) of album lengths, in minutes, of a certain band:
frequency range
1 30–34
3 35–39
5 40–44
2 45–50
It is also known that:
The lowest value in the range (minimum) is 31, meaning the shortest album length is 31 minutes
The highest value in the range (max) is 46
All data are integers
'''
# 1:
'''
In each of the following sections there is a section of data. For each section,
check whether it is possible that it was taken from the list of album lengths, from which the frequency
table was calculated. If so, mark 'true', if not, mark 'false'.
'''
# 1.1 - 35,36,37,38,39
# Answer: false
# 1.2 - 35,37,39
# Answer: true
# 1.3 - 35,35,35
# Answer: true
# 2:
'''
In what range is the median?
'''
# Answer: 40 - 44
# 3:
'''
What is the frequency of the value 33 in the data list? Choose the most correct answer:
'''
# Answer: The value 33 does not appear in the data list
# 4:
'''
What is the frequency of the value 45 in the data? Choose the most correct answer:
'''
# Answer: The value 45 appears at most once in the data list