Computer Programming Home Page
Computer Science Topics

Basics of a computer language lecture notes (notes PPT) (blank notes)
Supplemental reading - parts of a computer language (reading pdf)
CW - Natural language processing (directions doc)

Useful ASCII chart (pdf)
Binary and decimal conversion lecture notes (notes PPT) (blank notes)
CW Binary to decimal (directions pdf)
CW Decimal to binary (directions pdf)
Video tutorial converting binary to hexadecimal (youtube link)
Video tutorial converting hexadecimal to binary (youtube link)
Video tutorial converting decimal to hexadecimal (youtube link1) (youtube link2)
CW Hexadecimal conversions (directions pdf)


Computer Programming Topics

UNIT I - Python and the Shell
What is Python lecture notes (notes PPT)
Getting started in Python lecture notes (notes PPT)
ex01_01 - Allowed variable names (directions doc)
Naming rules syntax and style (notes pdf)
ex01_02 - Python as a calculator (directions doc)
ex01_03 - Basic input output string format (code pdf)
Flowchart symbols (notes pdf)
PROJECT:  Mad lib (directions doc)
ex01_04 - Find the errors with sample calculator (working py file) (printout code to find pdf)
PROJECT: calculator v1 (directions doc)

UNIT II - Conditional flow control
Intro to conditionals (PPT notes)
Conditional flowcharts (pdf)
output_ex02_01.py - (instructions doc)
ex02_02.py (code pdf)
ex02_03.py (code pdf)
ex02_04.py (code pdf)
ex02_05.py (code pdf)
ex02_06.py (code pdf)
Built-in functions (notes PPT)
ex02_07.py - replace comments with explanation of built-in function (raw py file)
ex02_08.py - hand write answers on back then modify code as indicated (raw py file)
String functions and the menu (notes PPT)
Guided exploration Richter menu printing (ex02_09.py raw py file) (starting flowchart pdf)
PROJECT: conditionals (directions doc)

UNIT III - Looping flow control
Guided exploration in the shell (output from shell demo)
ex03_01.py - Write code using range and for loop to mimic provided output (code pdf)
ex03_02.py - Import turtle and drawing basic box (PPT notes(pdf)
ex03_03.py - Turtle drawing octagon  (PPT(code pdf)
ex03_04.py - Turtle drawing polygons based on range variable (PPT notes) (code pdf)
flowchart for loop (notes pdf)
ex03_05.py - Modify ex03_04 to accept user input and check for minimum side length (directions PPT)
PROJECT: Calculator v2 (directions doc)
flowchart for while loop (note pdf)
ex03_06.py - While loop basic examples (code pdf)
"Non-Mario" story "game" - game1.py (raw code)
Simple guessing game with choice - game1.py (raw code)

UNIT IIII - Lists & Functions
Play Zork I online (link)
ex04_01.py - add comments for points (raw code)
ex04_02.py - bad inventory (raw code)
ex04_03.py - Turtle dot color using lists (code pdf)
ex04_04.py - fill in to make work (raw code)
ex04_04.py - DONE (raw code)
ex04_05.py (modify ex04_04 to use functions)
ex04_06.py melee combat template blank template filled in as a class  (raw code) 
Tutorial video on functions (youtube link)
ex04_07.py user choice template (raw code)
ex04_08.py functions using string characters (raw code)
CW - pick functions to write from workbook - (directions pdf) (workbook pdf)
zork with lists student blank packet (blank pdf)
zork1.py (raw code)

UNIT IV - Dictionaries
Making a map for your own adventure game - (PPT file)
Making map.py collection of dictionaries - (directions docx)
Making _roomdesc.py - (directions docx)
map1.py - Starting adventure map template - (raw code)
_mapdesc.py - Map helper file containing room descriptions - (raw code)
map3.py - Working basic adventure game to base project from - (raw code)
PROJECT: Adventure map - (requirements.pptx) - (grading rubric pdf)

UNIT V - The Raspberry Pi
Notes - getting to know your pi - (class PPT) (blank student notes)
Notes - Minecraft on the pi (class PPT)
CW Minefraft three in class examples (code PDF)
CW Minecraft 4 assignments (directions docx)
GPIO pinout (basic) (expanded)
ledtest.py (raw code)
myglass.py - clean working copy - (raw code)
CW Practice with Resistors - (worksheet docx)
Notes - GPIO interfacing - (class PPT) (blank student notes)
GPIO vocabulary chart - (filled in) (blank chart)
ledminecraft_alt.py (raw code)