Difference between revisions of "CSC111 Class Page 2015"

From dftwiki3
Jump to: navigation, search
( )
( )
Line 73: Line 73:
 
::{| class="mw-collapsible mw-collapsed" style="width:100%" border="1"
 
::{| class="mw-collapsible mw-collapsed" style="width:100%" border="1"
 
|- style="background:#dddddd;"
 
|- style="background:#dddddd;"
|width="60%"| '''Topics''':  
+
|width="60%"| '''Topics''': Chapter 2: variables, definite loops, input
 
|width="15%"| '''Lab/Hw'''
 
|width="15%"| '''Lab/Hw'''
 
|width="25%"| '''Reading'''  
 
|width="25%"| '''Reading'''  
 
|-valign="top"
 
|-valign="top"
 
|
 
|
*  
+
* '''Monday'''
 +
----
 +
** Variables: simultaneous assignment
 +
** Where do variables live?
 +
** Programming: from problem to solution: an iterative process
 +
** definite loops:
 +
*** looping through items in a list
 +
*** the '''range()''' function: allows iteration through various lists of numbers
 +
** Input: getting information from the user (keyboard)
 
|
 
|
 
* Homework  
 
* Homework  
 
* Lab  
 
* Lab  
 
|
 
|
*  
+
* Read Chapter 2 in Zelle.
 
|}
 
|}
  
Line 89: Line 97:
  
 
<br /><br />
 
<br /><br />
 +
 
====&nbsp;====
 
====&nbsp;====
 
----
 
----

Revision as of 06:57, 1 February 2015

--D. Thiebaut (talk) 15:00, 13 January 2015 (EST)



Main Page | Syllabus | Weekly Schedule | Links & Resources |Piazza





 


Week 1 Jan 26    


Topics: Introduction, Python, Idle, Piazza, Moodle submission Lab/Hw Reading

  • Wednesday
    • Introduction to Idle, the integrated development environment (IDE) for the class
    • Playing with our programming language, Python. The idea this week is to use intuition to put some Python code together and make it generate different outputs
    • We will use these concepts, that will be covered in details starting next week.
      • variables
      • strings of characters
      • loops
    • Introduction to the Lab (Wednesday and Thursday afternoon)
    • Lecture notes

  • Friday
    • Review of Lab 1
    • Introduction to Homework 1, Q&A
    • Go over a few problems, and understand how the def statement works.
    • Camels.png
      Variables
    • Rules for labeling a variable
      • CamelCase for regular variables, uppercase for constants
      • Thinking of a variable as a box, or drawer.
      • Variables can switch contents
    • Lecture notes




 


Week 2 Feb 2    


Topics: Chapter 2: variables, definite loops, input Lab/Hw Reading
  • Monday

    • Variables: simultaneous assignment
    • Where do variables live?
    • Programming: from problem to solution: an iterative process
    • definite loops:
      • looping through items in a list
      • the range() function: allows iteration through various lists of numbers
    • Input: getting information from the user (keyboard)
  • Homework
  • Lab
  • Read Chapter 2 in Zelle.




 


Week 3 Feb 9    


Topics: Lab/Hw Reading
  •  
  • Homework
  • Lab
  •  




 


Week 4 Feb 16    


Topics: Lab/Hw Reading
  •  
  • Wednesday: Rally Day, no class, no labs.
  • Homework
  • No Labs this week
  •  




 


Week 5 Feb 23    


Topics: Lab/Hw Reading
  •  
  • Homework
  • Lab
  •  




 


Week 6 Mar 2    


Topics: Lab/Hw Reading
  •  
  • Homework
  • Lab
  •  




 


Week 7 Mar 9    


Topics: Lab/Hw Reading
  •  
  • Homework
  • Lab
  •  




 


Week 8 Mar 16    


Topics: Lab/Hw Reading
  • SPRING BREAK

 

 




 


Week 9 Mar 23    


Topics: Lab/Hw Reading
  •  
  • Homework
  • Lab
  •  




 


Week 10 Mar 30    


Topics: Lab/Hw Reading
  •  
  • Homework
  • Lab
  •  




 


Week 11 Apr 6    


Topics: Lab/Hw Reading
  •  
  • Homework
  • Lab
  •  




 


Week 12 Apr 13    


Topics: Lab/Hw Reading
  •  
  • Homework
  • Lab
  •  




 


Week 13 Apr 20    


Topics: Lab/Hw Reading
  •  
  • Homework
  • Lab
  •  




 


Week 14 Apr 27    


Topics: Lab/Hw Reading
  •  
  • Homework
  • Lab
  •  


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.


Python Programs in Textbook


  • All the programs of Zelle's Python textbook


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.