parent nodes:
Computer Science One
ref
ref/exam
Warmups
BigWarmupTable
WarmupIdeaDump
Units
Grading Period Level====================Unit Level==========================
Day Level=======================
Materials or handout =======
Using the Python Shell
ref/
1 HardwareAndNumbersHardwareReview
HousekeepingAndShakedown
Real computers
devices we use
ModelComputersAndRealComputers
ref/ppt/ModelsOfComputation.ppt
models or definitions of computing in general
turing machine
ram machine
relating that to hardware we really have
user interface appearance
multi level memory/storage
TM not a stored program comp; ram machine is
real mem organized into stack and heap
IntegerValues
internal representation
machine precision
integer division
FloatingPointNumbers
internal representation
grammar of floating point
rounding error gotchas
OtherBasicTypes
Booleans
relational operators
operator precedence
String Values
character data
the collating sequence
operations on strings
Complex Numbers
Long Integers
UnitExamHardwareAndNumbers
ref/exam/UxHardwareAndNumbers.doc
1 ExpressionsAndTypesTheIdeaOfDataType
the type operator
what operatations are legal?
What can it represent easily or naturally?
How is it coded up?
integer
float
str
bool
InfixOperators
types in, types out
exponents
integer division
NamedFunctions
prefix operator idea
relate to parentheses rule
nesting function calls
translating between infix and prefix
modules and imports prefixmath.py
OperatorPrecedence
PrefixMathAPI little hack with definitions for add,sub etc.
UnitExamExpressionsAndTypes
ref/exam/UxExpressionsAndTypes.doc
Making Python Scripts with State variables
2 CalculatorPatternTheAssignmentOperator
globals() the list of stuff in (our private) heap
at the console
state and sequential control
ControlStructures
sequential
function calls
loops
decisions
booleans
DebuggingWithPdb
following the flow of control
stream of execution vs flow of control
ReadEvaluatePrintLoop
while loop
custom calculators
PracticeMakingCalculators
activity with calculators
UnitExamCalculatorPattern
ref/exam/UxCalculatorPattern.doc
2 DefiningFunctionsUsingBuiltInFunctions
math functions
functions on strings
UsingPyDebugger
seeing control prefix.py thingie
WhenToNestCalls
ScopeRules
where you can define functions and words
module scope -- called "global"
local scope
gotchas
DesigningToolSets
a group of functions
making pipelines
length conversion library
inverse functions99
UnitExamDefiningFunctions
ref/exam/UxDefiningFunctions.doc
OOP! Using Other People's Objects
3 UsingOopObjectsDotNotationAndConstructorCalls
reference variables and the heap
practice with crouch derived api
abacus row?
simple types vs classes
ClassesAndInstances
instance = object
class = data type
pygame for just drawing?
UnitExamUsingOopObjects
ref/exam/UxUsingOopObjects.doc
3 EventLoopProgrammingBasicEventLoop
why this now? -- have just enough tools.
Control and Loops
Why game programming?
Using pygame documents
idea of an event
ControlStatements
DecisionStatements
MouseEvents
RememberingWhereThingsAre
list of objects
simple collision detection
OneSimpleGame
UnitExamEventsAndControl
ref/exam/UxEventsAndControl.doc
Making our own objects
4 OperationsOnListsAndFilesSortingAndSearching
CodingUpASort
CodingUpSearchesInPython
ListsOfLists
TextFilesInPython
PracticeWithLists
UnitExamListsAndFiles
ref/exam/UxListsAndFiles.doc
4 UsingListsWithPygame
More Patterns With Data
5 TheDatabasePatternRelationalDbBasics
a collection of tables
operations on tables
asking questions
OperationsOnTables
by hand doing operations like select join etc.
ListOfTuples
PythonDictionaries
ModifyingDatabaseProject
UnitExamDatabasePattern
ref/exam/UxDatabasePattern.doc
CuteUIForDatabase
5 ExceptionsInPythonThrowingAndCatchingExceptions
AssertsForDebugging
PracticeWithExceptionHandling
UnitExamOnExceptions
ref/exam/UxExceptions.doc
5 GamePatternWithOop
Projects and Software Engineering ideas
6 FinalProject
Stray Ideas / Unit Ideas
Why have mutables and immutables? Compelling examples, please.
HousekeepingAndShakedown
HardwareBasics
ModelsOfComputationTuringMachine
NumbersIntegers
ModelsOfComputationRegisterMachine
NumbersFloatingPoint
OperatorPrecedence
FreeFunctionsWithSideEffects
ReturnFunctions
ModelsOfComputationMemoryMachine
ModelsOfComputationStackMachine
ModelsOfComputationHeapMachine