Course Content
Catalog description:
Computer literacy, number systems, concepts of operation systems,
storage, files, databases, logic gates, circuits, networks, internet.
Introduction to programming in Python, variables, assignments,
functions, objects.
The text books for this course are optional:
- J. Glenn Brookshear: Computer Science. An Overview,
9th edition, Addison-Wesley, 2009 (or later edition).
- Bradley N. Miller and David L. Ranum:
Python Programming in Context, Jones and Bartlett, 2009
(first or second edition).
Slides of the lectures and Python code will be posted below.
To save space, the pdf versions of the slides have been removed.
L-1 Monday 16 June 2014:
- lecture 1.0: welcome to MCS 260
- lecture 1.5: computer architecture,
getting started with Python, number systems
our first Python programs hello.py
and hello_there.py
L-2 Wednesday 18 June 2014:
- lecture 2.0: machine architecture; using Python as a calculator
- lecture 2.5: variables and assignments; developing Python programs
a Python program yieldbal.py
L-3 Friday 20 June 2014:
L-4 Monday 23 June 2014:
L-5 Wednesday 25 June 2014:
L-6 Friday 27 June 2014:
L-7 Monday 30 June 2014:
L-8 Wednesday 2 July 2014:
L-9 Monday 7 July 2014:
L-10 Wednesday 9 July 2014:
- lecture 10.0: review
for the first part of the midterm exam
slides with answers
- lecture 10.5: review
for the second part of the midterm exam
slides with answers
Python scripts:
rev1q01.py,
rev1q02.py,
rev1q03.py,
rev1q04.py,
rev1q05.py,
rev1q06.py,
rev1q07.py,
rev1q08.py,
rev1q09.py,
rev1q10.py,
rev1q11.py,
rev1q12.py,
rev1q13.py, and
rev1q14.py
L-11 Friday 11 July 2014:
L-12 Monday 14 July 2014:
L-13 Wednesday 16 July 2014:
L-14 Friday 18 July 2014:
L-15 Monday 21 July 2014:
L-16 Wednesday 23 July 2014:
- lecture 16.0: complexity and cost
Python scripts:
sortrandnumb.py,
timetosort.py,
time_iftry.py,
time_sin.py,
time_filework.py, and
time_listcomp.py
- lecture 16.5: graphical user interfaces
Python scripts:
sliding_puzzle.py,
guihello.py,
guihello2.py,
usegrid.py,
guiradio.py,
guicheck.py, and
mousedraw.py
L-17 Friday 25 July 2014:
- lecture 17.0: expression evaluation; graphing on canvas
Python scripts:
dyneval.py,
guieval.py,
guievaloo.py,
samplefun.py,
guisample.py, and
arrowkeys.py
- lecture 17.5: scale widgets and animations
Python scripts:
rgbgui.py,
showscale.py,
exscale0.py,
exscale1.py,
exscale2.py,
slidedot.py, and
movedot.py
L-18 Monday 28 July 2014:
L-19 Wednesday 30 July 2014:
L-20 Friday 1 August 2014:
L-21 Monday 4 August 2014:
L-22 Wednesday 6 August 2014: