Programming for GCSE Topic 6.1: Lists (Arrays) and …
T L C eaching ondon omputing
Programming for GCSE Topic 6.1: Lists (Arrays)
and For Loop
William Marsh School of Electronic Engineering and Computer Science
Queen Mary University of London
Outline
? Array in Python ? the issues ? Lists ? behaviour that is like an array
? Looping through a list
? Lists ? other behaviour ? For loops
Arrays in Python ? The Issue
? Python does not have arrays
? (A slight simplification)
? There are two alternatives
? Lists ? Dictionaries ? Both are more flexible than `ordinary' arrays
? Lists
? Simpler ? 'Array-like' behaviour
Big Idea
? A variable can have a value that combines many values. You can:
? Extract one value ? Update part of the variable
? This idea is essential for representing complex data in programs e.g.
? A song ? An image ? A map
ARRAY BEHAVIOUR OF LISTS
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- python lists and for loops learning outcomes
- algorithmic thinking loops and conditionals
- loops in python
- basic python programming for loops and reading
- part 1 pre test loops
- chapter 3 control structures
- inf1100 lectures chapter 4 array computing and
- programming for gcse topic 6 1 lists arrays and
- python programming 1 variables loops and
- bob dowling university computing service
Related searches
- mark 6 1 6 commentary
- 3rd grade arrays and multiplication
- difference between arrays and arraylists
- c arrays and functions
- dod 6 1 through 6 7 funding
- macro topic 6 2 exchange rates
- 6 1 study guide and intervention ratios and rates
- 6 1 study guide and intervention ratios and rates page 95
- pearson edexcel level 1 level 2 gcse foundation paper 1 maths
- 6 1 or 2 600 600 1 0 0 0 1
- 6 1 or 3 600 600 1 0 0 0 1
- 6 1 or 2 735 735 1 0 0 0 1