Computer literacy, number systems, concepts of operating systems,
storage, files, databases, logic gates, circuits, networks, internet.
Introduction to programming in Python, variables, assignments,
functions, objects, defining algorithms to solve problems, software
design and testing.
Basics of graphical user interfaces and web servers.
The text books for this course are
Slides of the lectures and Python code will be posted below.
L-1 Mon 11 Jan 2010: welcome to mcs 260
(printer friendly version )
L-2 Wed 13 Jan 2010: computer architecture,
getting started with Python, number systems
(printer friendly version )
our first Python programs hello.py
and hello_there.py
L-3 Fri 15 Jan 2010: the von Neumann machine
-- calculating in the Python shell
(printer friendly version)
L-4 Wed 20 Jan 2010: numbers, variables,
and assignments -- developing in Python programs
(printer friendly version)
Python program yieldbal.py
L-5 Fri 22 Jan 2010: operating systems
-- the platform and os modules -- turtle graphics
(printer friendly version)
Python programs
spiral1.py,
spiral2.py, and
turtlecolors.py.
L-6 Mon 25 Jan 2010: syntax and semantics
of languages -- strings, lists, and tuples
(printer friendly version)
L-7 Wed 27 Jan 2010:
mass storage, files and databases
-- dictionaries in Python -- anydbm
(printer friendly version)
Python scripts: mileage.py
and miletab.py.
L-8 Fri 29 Jan 2010:
boolean algebra -- flowcharts -- conditional constructs in Python
(printer friendly version)
Python scripts: passfail.py,
gradecurve.py,
and followup.py.
L-9 Mon 1 Feb 2010:
transistors and logic gates
-- intrinsic operations on numbers and strings
(printer friendly version)
Python scripts: alphatest.py
and write_numbers.py.
L-10 Wed 3 Feb 2010:
flip-flops and registers
-- intrinsic operations on lists: queues and stacks
(printer friendly version)
Python scripts:
sortwords.py,
write_values.py,
and hanoi3.py.
L-11 Fri 5 Feb 2010:
adder circuits -- loop constructs: the while and for
-- estimating pi
(printer friendly version)
Python scripts:
showbal.py,
showfor.py,
gcd.py, and
traprule.py.
L-12 Mon 8 Feb 2010:
simulation using random numbers
-- binary expansion with repeat until: break
(printer friendly version)
Python programs randuse.py ,
mc4pi.py ,
binexp1.py ,
binexp1b.py ,
binexp1c.py , and
findelem.py .
L-13 Wed 10 Feb 2010:
top down design of programs -- functions in Python
(printer friendly version)
Python programs npdf.py,
use_npdf.py, and
simuwait.py.
L-14 Fri 12 Feb 2010:
local and global variables
-- arguments of functions -- functions using functions
(printer friendly version)
Python programs
votes1.py,
votes2.py,
global.py,
traprule.py,
area.py, and
area2.py.
L-15 Mon 15 Feb 2010:
functional programming -- lambda forms -- list comprehensions
(printer friendly version)
Python programs
oracle.py,
evalshow.py,
calculator.py, and
mc4pi2.py.
L-16 Wed 17 Feb 2010:
organization of data on files -- defining modules
-- manipulating files with Python
(printer friendly version)
Python programs
bkform.py and
library.py.
L-17 Fri 19 Feb 2010:
data compression -- format conversions
-- using buffers to process files
(printer friendly version)
Python code:
bkform2list.py ,
bklist2dict.py ,
scramvow.py ,
cntword.py ,
locword.py , and
repword.py .
L-18 Mon 22 Feb 2010:
networking and the internet -- markup languages
-- using the urllib module
(printer friendly version)
Python code:
forecast.py .
L-19 Wed 24 Feb 2010:
review of the first 18 lectures
with answers
(printer friendly version )
First midterm exam is furloughed.
L-21 Mon 1 Mar 2010:
software engineering -- bottom up design of
programs -- modules in Python
(printer friendly version )
Python code:
stack_data,
stack_of_data,
stack_of_data_io, and
stack_user.
L-22 Wed 3 Mar 2010:
the software development cycle and quality
-- modular design with Python
(printer friendly version )
Python code:
quand.py,
questions.py,
dialogue.py, and
quiz.py.
L-23 Fri 5 Mar 2010:
software licensing and open source
-- modules and packages -- NumPy/SciPy
(printer friendly version )
We made a package of the modules of lecture 22.
L-24 Mon 8 Mar 2010:
object-oriented programming -- unified modeling
language -- classes in Python
(printer friendly version )
Python classes:
classbook.py ,
classperson.py ,
classcatalog.py ,
classpeople.py ,
and the main program
libclassman.py .