CPSC 203: Introduction to computers  

James Tam

Introduction to Computer Programming

 

Overheads

Relevant text book chapters (The Fleuncy textbook doesn't provide Python examples but it does talk about programming concepts). There are links to additional resources in the Part I of the slides. Also you are free to look at my old CPSC 217 notes which talk about Python (not JES Python) programming. For the purposes of this course most things are the same between Python and JES with only a few exceptions that I'm aware of (e.g., "raw_input" and "input" don't seem to work with JES).

 

Example programs (coming soon)

Part I Examples

 

Profit.py

 

 

Picture1.py

Lion.jpg (to go with the example program)

 

Picture2.py

 

Picture3.py

 

IfExample1.py

 

IfExample2.py

 

IfExample3.py

 

IfExample4.py

 

IfExample5.py

Part II Examples

 

loop1.py

 

loop2.py

 

loop3.py

 

fun1.py

 

interest.py

 

picture1.py

Lion.jpg (to go with the example program)

 

picture2.py

SmallLion.jpg (to go with the example program)

 

picture3.py

MediumLion.jpg (to go with the example program)

 

 

Learning objectives (coming soon)