Winter 2012
python3 wala-L01.py < 20010228.185400.I.WALA.BHZbut again, make sure you use
< or else your data file
will get erased!
turtle.goto before the turtle.write
not draw a line? That was a side effect of using
turtle.tracer to speed up the drawing - it
gains speed by only updating the window at intervals.
If you run this program:
import turtle
turtle.tracer(500)
turtle.goto(100, 100)
turtle.write('foo')
input()
with and without the turtle.tracer line, you'll
see the effect occur.
Please read the course information sheet carefully.
In particular, be aware that the University regulations regarding plagiarism apply to assignment submissions. In other words, using someone else's code in your assignment without proper attribution is plagiarism regardless of where the code came from (e.g., a book, the Internet).
According to the Calendar's description:
Introduction to problem solving, analysis and design of small-scale computational systems and implementation using a procedural programming language. For students wishing to combine studies in computer science with studies in other disciplines.
Lectures are in A140, MWF 1-1:50pm (L01) and 2-2:50pm (L02).
There are nine tutorial sections, all 50 minutes long, all in MS 160.
| T01 | MW 2pm | Amani Alali |
| T02 | MW 4pm | Padma Paul |
| T03 | TR 10am | Shermin Bazazian |
| T04 | MW 10am | Khaled Dawoud |
| T05 | TR 3pm | Hessam Zakerzadeh |
| T06 | TR 2pm | Hessam Zakerzadeh |
| T07 | TR noon | Shermin Bazazian |
| T08 | MW 3pm | Padma Paul |
| T09 | MW 1pm | Amani Alali |
No late submissions will be accepted. If you get sick, have an accident or family crisis, you should still come see me like you would normally.
Note: TAs can not give extensions. Please do not ask them.
| Assignment 1 | 10% | Friday, 27 January 2012 | |
| Assignment 2 | 10% | Friday, 17 February 2012 | |
| Assignment 3 | 10% | Friday, 9 March 2012 | |
| Assignment 4 | 10% | Friday, 30 March 2012 | |
| Assignment 5 | 10% | Friday, 13 April 2012 | |
| Midterm Exam 1 | 10% | Friday, 10 February 2012 | In-class |
| Midterm Exam 2 | 10% | Friday, 16 March 2012 | In-class |
| Final Exam | 30% | Scheduled by the Registrar |
As stated on the course information sheet, the average of your midterm and final exams must be over 50% in order for you to receive a C- grade or higher in CPSC 217.
The grade conversion method from percentages to letter grades I will use is below. Rounding will be performed if necessary using the usual method. The square brackets and parentheses are used in their mathematical sense, meaning that square brackets are inclusive and parentheses are exclusive. For example, a grade of 93.75 is an A, not an A-.
| Percentage Range | Letter Grade |
| [93.75, 100] | A |
| [87.5, 93.75) | A- |
| [81.25, 87.5) | B+ |
| [75, 81.25) | B |
| [68.75, 75) | B- |
| [62.5, 68.75) | C+ |
| [56.25, 62.5) | C |
| [50, 56.25) | C- |
| [43.75, 50) | D+ |
| [37.5, 43.75) | D |
| [0, 37.5) | F |
An A+ in the overall course will be awarded at my discretion for outstanding performance in all components of the course.
Please note: the slides may be changed up until class time as I fine-tune them!
(I taught one of three sections of CPSC 217 in W10; some of the questions on those exams are written by the other two instructors.)
Ryan Cox is your friendly neighborhood PASS leader. The sessions will normally be
| Tuesday 11:00 am - 11:50 am in 355D TFDL |
| Wednesday 10:00 am - 10:50 am in 355D TFDL |
| Wednesday 12:00 pm - 12:50 pm in 403 TFDL |
except the week of January 30, when they'll be
| Monday 10:00 am - 10:50 am in 355D TFDL |
| Monday 11:00 am - 11:50 am in 355D TFDL |
| Tuesday 11:00 am - 11:50 am in 355D TFDL |
My official office hours are MWF 10-11am at the CT Desk in the first floor of the Math Science building, starting January 16. As other times: my office is in ICT 650. Feel free to drop by; I have an open-door policy. If my office door is closed - a rarity - please don't knock. I'm probably frantically trying to get something done.
The best way to reach me outside of office hours is by email: aycock@ucalgary.ca. I read my email very frequently, even on many evenings and weekends; many questions can be answered that way. If you want to arrange a face-to-face meeting outside of my office hours, send me some mail and we can set up a time.
Please include ``CPSC'' or ``217'' in your email subject line so that it stands out from the tons of spam I get sent! My mail reader highlights messages that contain CPSC or 217 in the subject line.
While I can be found on Facebook, I use it only for non-work contacts, so I won't respond to any CPSC 217 messages or friend requests on there, sorry!