lec1

Document Sample
lec1 Powered By Docstoc
					         EECS 110: Introduction to
      Programming for Non-Majors


                           Aleksandar Kuzmanovic
                           Northwestern University



http://cs.northwestern.edu/~akuzma/classes/EECS110-s09/
  If you take only one thing today




http://cs.northwestern.edu/~akuzma/classes/EECS110-s09/




                                                      2
Who am I?
            Aleksandar Kuzmanovic

            Office:
              Tech L457

            Email:
             akuzma@northwestern.edu

            Research area:
             computer networking

                                       3
What Google thinks I look like?
              One of the images coming under
                ‘Aleksandar Kuzmanovic’
              • King Aleksandar I
                  • King Alexander I of Yugoslavia (1888-
                    1934) lived a turbulent life as Crown
                    Prince, Regent, Commander in Chief
                    and finally King of Serbia and, latterly,
                    Yugoslavia
              •   His son Petar II Karadjordjevic
                  • 1923 – 1970
                  • Interred at the St. Sava Monastery in
                    Libertyville, IL (27 miles north from
                    here)
                  • The only European monarch buried
                    on American soil
                                                                4
   What course is this?
   • EECS 110: Introduction to Programming for
     Non-Majors
   • Based on a Harvey Mudd College’s
     Introduction to Computer Science course
   • No book yet…




Handouts:   - Syllabus
            - Homework 0
            - Maps: how to find labs
                                                 5
Why Python?
 Linux New Media Award
 – Best Open Source Programming Language


 Python is Language of the Year (2008)
 – For the second year running Python has been
   selected as the Language of the Year in the 2008


 "Python has been an important part of Google
 since the beginning… We're looking for more
 people with skills in this language.“
 – Peter Norvig, Director of Research, Google Inc.

                                                      6
Application Domains
 Web and Internet development
 Database access
 Desktop GUIs
 Scientific and numeric applications
  – Bioinformatics, physics…
 Education
 Network programming
 Software development
 Games and 3D graphics


                                       7
Who are you?
 Who are you (undergrad/grad)?
 What is your major / department?
 What are you doing here?
 What do you expect to learn?

 Warnings:
  – I am bad with names, but I remember faces well…
  – Please don’t take it personally if I can’t remember
    your name…
 Are you registered for the class?
  – If not, come talk to me after the class
  – Send an e-mail to
    permissions@eecs.northwestern.edu
                                                          8
Today

 How does EECS110 run?

 What will the course cover?

 A little bit about Python




                               9
Why EECS110?
The key is to teach you to effectively program!
    …but also provide a broad look across computer
    science




                                                     10
Syllabus

Lectures       MW: 10:00 – 10:50
                  Key skills, topics, and their motivation
                  Insight into the HW problems (what, why, how)
                  Required! Let me know if you won’t make it

Lab            T: 9:30 am – 11:30 am;
                  Guided work on the material
                  Will SAVE you time and effort in EECS110!


Getting Help      In the slides to come…



HW             Sunday nights: due by 11:59 pm                     11
Syllabus

Lectures       MW: 10:00 – 10:50
                  Key skills, topics, and their motivation
                  Insight into the HW problems (what, why, how)
                  Required! Let me know if you won’t make it

Lab            T: 9:30 am – 11:30 am;

                  Guided work on the material
                  Will SAVE you time and effort in EECS110!


Office Hours      In the slides to come



HW             Sunday nights: due by 11:59 pm SUNDAY!
                HOMEWORK 0 DUE THIS                               12
Where Will the Labs Take Place?
 2 options:
  – Wilkinson Lab (default)
  – T-Lab (backup)




                                  13
Directions to Wilkinson Lab
(1/2) Ground Floor Technological Institute
(2/2) Third Floor Technological Institute
Directions to T-lab
(1/2) Ground Floor Technological Institute
(2/2) Second Floor Technological Institute




                                   T-lab
                                   Room
                                   F252
Grading

Grades                                    if perc >= .90: grade = 'A'
                                         elif perc >= .80: grade = ‘B'
  Based on points percentage             elif perc >= .70: grade = 'C'
        ~ 75% Assignments
        ~ 25% Exams
        Extra ~ 5% Participation




                       Midterm                                     April 29
Exams                  Final                              Finals week (June 8+)




                       To pass EECS 110, you must have a passing grade on
                      both the exams and HW. I will also give quizzes in the
Note!                            class, but they will not be graded.
                                                                                  18
     Getting help!
•   Labs
    •   You should attend the labs because they will have
        you solve about 50% of your homework
•   Recitations
    •   There will be a recitation class each Friday (10-
        10:50 am): help with the rest 50% of the homework
•   Office Hours
    •   TA1: Friday 2-5 pm (Wilkinson).
    •   TA2: Sunday (3-6 pm ?) (Wilkinson)
    •   Professor: Friday: 2-3 pm.
     Communication
•   Professor:
    •   akuzma@northwestern.edu


•   TAs:
    •   ionut@northwestern.edu (Ionut Trestian)
    •   nwu-lmg215@northwestern.edu (Lisa Gandy)


•   Group e-mail:
    •   python09@cs.northwestern.edu (all students, TAs,
        and the professor)
                                                           20
 Teaching Assistants




Ionut Trestian         Lisa Gandy
                                    21
Homework

    Assignments
   ~ 4-5 problems/week    ~ 100 points          20-25% extra credit available
   Due Sunday evening - by 11:59 pm. You can submit 3 homeworks 1 later
                                                          "Late Days"

                   Some problems are specified “individual-only.”
                    Others offer the option of working in a pair.

Collaboration         •You must share the work equally - typing and coaching
                      •Each of you should make ONE submission (2 per team)
                      •Be sure to indicate who your partner was at the submission site!




Honor Code
                                                                                          22
Honor Code
•   You may not share written, electronic or
    verbal solutions with other students (present or past):
    • You are encouraged to discuss problems with
      other students, TAs, or instructors.
    • You may not share written, electronic or verbal
      solutions with other students (present or past):
    • Copying of files except those provided by the
      course material.
     You will have the option of working in pairs for MANY of each
       week’s problems: the same guidelines apply for each pair.




                                                                     23
Book
•   Python Programming: An Introduction to
    Computer Science, by John Zelle, Franklin,
    Beedle & Associates.


•   The book is recommended, but NOT required


•   No correlation between
    • (i) lectures, homeworks, labs,
    • (ii) the book

                                                 24
Software and Web site
  Web page:
http://cs.northwestern.edu/~akuzma/classes/
  EECS110-s09/



 Programs: Python and Idle

            open source, free from
            www.python.org
            installation instructions on the Web site


                                                        25
Submission site
http://bullfrog.cs.northwestern.edu/cs2/login.htm


Username: …………… Password: ……………                     Submit




                                                             26
Submission site
http://bullfrog.cs.northwestern.edu/cs2/login.htm


Username: …………… Password: ……………                     Submit




Welcome aleksandar
Upload your assignment
Choose a file to upload: ……………   Browse...

Upload File


Password Change
Old Password: ……………
New Password: ……………
Confirm Password: ……………
 Change Password

  Logout                                                     27
Submission site
http://bullfrog.cs.northwestern.edu/cs2/login.htm


Username: …………… Password: ……………                     Submit




Welcome aleksandar
Upload your assignment
Choose a file to upload: ……………   Browse...

Upload File


Password Change
Old Password: ……………       How to get login/password:
New Password: ……………        ionut@northwestern.edu
Confirm Password: ……………
 Change Password

  Logout                                                     28