Difference between revisions of "CSC111 Class Page 2014"
(→First Half) |
|||
Line 99: | Line 99: | ||
*** Different '''types'''. Can be combined together. | *** Different '''types'''. Can be combined together. | ||
*** Values can be assigned to them with '''=''' | *** Values can be assigned to them with '''=''' | ||
− | |||
*** Operators: + - * / // % | *** Operators: + - * / // % | ||
*** Teller Machine example: given some amount of $ to withdraw from the machine, figure out the number of $20-, $10-, $5- and $1-bills. Here's the [[CSC111 Teller.py 2014|program]] we finished with in class. | *** Teller Machine example: given some amount of $ to withdraw from the machine, figure out the number of $20-, $10-, $5- and $1-bills. Here's the [[CSC111 Teller.py 2014|program]] we finished with in class. | ||
− | |||
x* '''Wednesday''': | x* '''Wednesday''': | ||
** <font color="magenta">THERE WILL BE CLASS AND LAB TODAY!</font> | ** <font color="magenta">THERE WILL BE CLASS AND LAB TODAY!</font> | ||
− | ** Discussion of the [http://maven.smith.edu/~jfrankli/111s08/pairProgramming2000.pdf pair-programming article] in class. | + | ** Discussion of the [http://maven.smith.edu/~jfrankli/111s08/pairProgramming2000.pdf pair-programming article] in class.<br /><center><videoflash>DbNoNoHyfDc</videoflash></center><br /> |
+ | ** Continue with ATM/Teller machine example: The importance of pseudo-code, and going one step at a time. | ||
+ | ** Changing a float into an int, and vice versa | ||
+ | ** Functions: '''print()''', '''abs()''', '''trunc()''' (predefined) | ||
+ | ** Strings and string methods ([http://docs.python.org/release/2.5.2/lib/string-methods.html documentation]) | ||
+ | ** User input with '''input()'''. Revisiting the ATM program | ||
* '''Friday''' | * '''Friday''' | ||
<br /> | <br /> |
Revision as of 08:51, 5 February 2014
--D. Thiebaut (talk) 09:58, 7 January 2014 (EST)
Contents
Prof and TAs
Dominique Thiébaut email |
|
To see when and where TAs are available this week, click here.
Weekly Schedule
First Half
Week | Topics | Reading |
Week 1 1/27 |
x = 3 name = "hello"
|
|
Week 2 2/3 |
x* Wednesday:
|
|
Week 3 2/10 |
|
|
Week 4 2/17 |
|
|
Week 5 2/24 |
|
|
Week 6 3/3 |
|
|
Week 7 3/10 |
|
|
Spring Break
Second Half
Week | Topics | Reading |
Week 9 3/24 |
|
|
Week 10 3/31 |
|
|
Week 11 4/7 |
|
|
Week 12 4/14 |
|
|
Week 13 4/21 |
|
|
Week 14 4/28 |
|
|
Links and Resources
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
Useful Math
Back To Main Page