Learning objectives for chapter 11
Learn how to declare and use fixed size arrays.
Learn how to declare and use dynamically sized arrays.
Learn how to find matching/min/max/average values stored in an array.
Learn how to sort an array lo-to-hi.
Learn how to share arrays with functions.
  Learning objective(s) addressed
  12345
Exercises Right-click (or control-click on a Mac) the title to save its PDF to your system.  
11.1 My City, v.2.0 PDF X    
11.2 My City, v.3.0 PDF X X  
11.3 My City, v.4.0 PDF X X  
11.4 A Fixed Size Array PDF X X  
11.5 A Dynamically Sized Array PDF  XXXX
11.6 NSA Encoder, v.2.0 PDF X   
11.7 NSA Decoder, v.2.0 PDF X   

 
Samples Right-click (or control-click on a Mac) the title to save its PDF to your system.  
11.1 About Arrays PDF XXXX 

 
Videos  
11.1 Click HERE for a YouTube-like video that demonstrates arrays and sorting. Its running time is 1 hours and 20 minutes! It applies arrays in the solution of a problem, and includes all the steps from planning, through programming and testing. It demos coping and pasting code from reference sources and marking it up for specific use in a new program. X XXX

Code from the chapter in order of their appearance in the text
avgFile.py an array 8Scores.txt avgFile2.py
Traversing An Array To Set Its Value sTo Zero Traversing An Array To Set Values Via The Keyboard Traversing An Array To Output Its Values daysPerMonth
A Counting Search Loop A Boolean Search Loop Finding The Max/Min Value textSort.py
sortFile.py score array dynamicArray.py score.txt
Getting Multiple Values From A Single Line Of Input An Averaging Function avgFile3.py Returning An Array

Chapter 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 14 | 15