Error
There was an error loading the page.
Count the number of occurrences (frequencies) of each distinct element in a list
Should not be used
Should not be used: there's now a built-in function frequencies
.
This question randomly generates a list of 100 items, each chosen from a list of strings.
It then computes the number of occurrences of each distinct item in the list. The statement shows the frequencies in a table.
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of How-tos :
![]() |
said | Should not be used | 3 years, 9 months ago |
History
Christian Lawson-Perfect 3 years, 9 months ago
Gave some feedback: Should not be used
Christian Lawson-Perfect 3 years, 9 months ago
Gave some feedback: Ready to use
Christian Lawson-Perfect 4 years, 3 months ago
Published this.Christian Lawson-Perfect 4 years, 3 months ago
Created this.There is only one version of this question that you have access to.
There are 3 other versions that do you not have access to.
Name | Type | Generated Value |
---|
ask_about | string |
sandwich
|
||||
num_asked_about | number |
23
|
||||
collection | list |
List of 100 items
|
||||
frequencies | list |
Nested 4×2 list
|
Generated value: list
- ask_about:
string
- sandwich
- num_asked_about:
number
- 23
← Depends on:
This variable doesn't seem to be used anywhere.
Parts
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Number entry | ||
Hasn't run yet |