Difference between revisions of "CSC111 Class Page 2011"
Line 328: | Line 328: | ||
[[Image:8queens.png|right|100px]] | [[Image:8queens.png|right|100px]] | ||
* '''Tuesday''' | * '''Tuesday''' | ||
− | |||
** A note about the current ''best 1000 movies'' homework: | ** A note about the current ''best 1000 movies'' homework: | ||
*** make sure program does not crash if input file does not exist | *** make sure program does not crash if input file does not exist | ||
Line 340: | Line 339: | ||
* '''Thursday''' | * '''Thursday''' | ||
+ | [[Image:BenFranklin.jpg|150px|right]] | ||
+ | ** Review of good practices for this class | ||
+ | **# Read the sections in the textbook that cover the material we see in class | ||
+ | **# Look at the solution programs! There's a reason why they are posted! | ||
+ | **# Redo the exercises we do in class. Try to come up with the solution on your own. | ||
+ | **# Remember [[Benjamin Franklin's Writing Style| Benjamin Franklin]] | ||
+ | ** Exceptions: Difference between '''NameError''' and '''TypeError''': http://docs.python.org/library/exceptions.html | ||
+ | ** Top-Down Design: Putting N-Queens on an NxN chessboard. This is the first step of a more complex problem we'll revisit later and which deals with the [[CSC111 NQueens.py|N-Queens problem]]. | ||
+ | *** 1 solution for an 8x8 chessboard: [3, 6, 2, 7, 1, 4, 0, 5] | ||
+ | |||
---- | ---- | ||
* [[CSC111 Lab 11 2011 | Lab 11]], [[CSC111 Homework 9 2011 |Homework 9]] | * [[CSC111 Lab 11 2011 | Lab 11]], [[CSC111 Homework 9 2011 |Homework 9]] |
Revision as of 08:55, 17 November 2011
Contents
Prof and TAs
Dominique Thiébaut email |
|
To see when and where TAs are available this week, click here.
Weekly Schedule
Week | Topics | Reading | |||
Week 1 9/8 |
|
| |||
Week 2 9/13 |
|
docid=-7758421725489622662 | width=400 | height=326
}}
|
|
Week 3 9/20 |
|
| |||
Week 4 9/27 |
(Advance video to 7-minute point and watch...)
|
| |||
Week 5 10/4 |
|
| |||
Week 6 10/11 |
|
| |||
Week 7 10/18 |
|
|
Week | Topics | Reading |
Week 8 10/25 |
|
|
Week 9 11/1 |
|
|
Week 10 11/8 |
|
|
Week 11 11/15 |
|
|
Week 12 11/22 |
|
|
Week 13 11/29 |
|
|
Week 14 12/6 |
|
|
Week 15 12/13 |
|
|
Links and Resources
Graphics Library
- Download the graphics library
- Documentation for Zelle's graphics library.
On Line Python books
- disocovermagazine.com blog. Check out the answers posted by many readers. They contain some interesting links that you may find useful!
Python keywords
- The list of all the reserved words of the Python language
- and del for is raise assert elif from lambda return break else global not try class except if or while continue exec import pass yield def finally in print
Linux
- Getting Started with Linux (from U. North Carolina, Chapel Hill)
- Intermediate Linux (from U. North Carolina, Chapel Hill)
- A good Emacs tutorial
- Emacs Quick Reference
Misc
- If you decide to work in pairs for the homework assignments, you need to follow the protocol for 'pair programming' as discussed in this article.
- Video talks on Python:
- All the programs of Zelle's Python textbook
- a video of digital horses: what we can do with lists of objects!
Software
- Installing and using the Secure Shell Client on a Windows PC.
- Using SSH on Windows, Linux, or on a Mac with OS X
Math
Back To Main Page