Alterna · learning material
Collections and files
Chapter 40: Programming: dictionaries, multiples and files. Short explanations, diagrams, trajectory and practices.
What this material covers
- Warehouse Log
- Headway
- Multiple
- dictionaries
- Reading and recording files
- Workshop
- Skills testing
- Python studio
Content and key concepts
Many answers the question "Did you meet?", the dictionary links the key to the value, and the file brings the test volume to the program.
substance and practice
Grade 11
EEG No. 24
ALT
Warehouse Log
One entry goes through two structures:
set
immediately notices the repeat, and
dict
Increases the meter for each resource.
Warehouse records in a comma.
set
Unique resources
dict
resource: number
01
Headway
The workshop and the exam test test are not guessing, but the steady skill of analysis and code writing.
40.1 · Theory and track
Multiple
Many store only unique hash values and quickly check ownership.
Open topic
40.2 · Theory and track
dictionaries
The dictionary stores pairs of keys of value. A frequent dictionary turns each object into a key and the number of appearances into a value.
Open topic
40.3 · Theory and track
Reading and recording files
At the EEG, files are provided for individual tasks. The program should open the exact name, read the format and not mix the data with line translations.
Open topic
40.4 Practice
Workshop
Twenty diagnostic questions with four outcomes and eight programme tasks with additional tests.
Start training
40.5. Monitoring
Skills testing
The timer does not drop when rebooted, correct is hidden until the end, the program task is mandatory.
Open option
40.6 · Copyright code
Python studio
Choose a problem, change the algorithm, and pass the visible and hidden tests in the isolated runtime.
Open the studio.