Monday, October 1, 2012

Learn to Program: The Fundamentals @ FIX University Campus


Fernando IX University

Learn to Program: The Fundamentals

Jennifer Campbell, Paul Gries

Behind every mouse click and touch-screen tap, there is a computer program that makes things happen. This course introduces the fundamental building blocks of programming and teaches you how to write fun and useful programs using the Python language.
Fernando IX University

Video Lectures

Week 1

Week 2

Resources


Python

This course uses Python 3. The main Python website contains links to downloads and documentation. Here are some useful links inside that website:
  • Python 3.2.3 download page (scroll down to the "Download" section)
  • Python 3 library reference, which contains descriptions of Python features. (It contains much more information than we will be able to cover in this course.)
  • A brief list of features of IDLE, the software we use to write Python programs. IDLE comes with Python.

The Python Visualizer

We provide software that helps you visualize program execution. We introduce this in our week 2 video lectures.

Additional References

This course is intended to be self-contained. However, should you want more reading material with additional examples and exercises, you may find our textbook useful. This is not required at all! Further, this book uses Python 2, not Python 3, and so some of the language features will not match what you see in the video lectures and other course work. Still, there are a ton of exercises that will directly translate to the course material. Should you choose to use it, there is a description of changes between Python 2 and Python 3. You can choose to purchase an electronic version (PDF, ePub, mobi) instead of a paper book.

Announcements

A1 fixes

We have addressed some typos and a couple of errors in the A1 handout. The biggest change is that the type contract for function to_24_hour_clock is now (number) -> number; before it was (int) -> int. We have added an example of what it should do with a float value.

We have also removed the list of countries in time zone UTC+00:00; it had 2 incorrect entries due to us misreading the Wikipedia page. Apologies to those of you from Spain and Denmark for trying to change your time zone!

Keep the feedback coming, this is really useful for making this a quality assignment. Thanks!
Sun 30 Sep 2012 7:51:00 PM PDT

Better float comparisons on A1

Because of the rounding problems with floats, it is possible for two different equations that are mathematically equal to be considered different in Python. For example, try these two expressions in the Python shell:
    1.0 / 3.0

    0.1 / 0.3

Because of this and other reasons, we have just added a tolerance on Assignment 1 so that if your answer differs from the expected one by only a little bit (about 7 decimal places), it will now be considered correct. If you have recently received an error on a solution that you are pretty sure is correct, please try submitting again.

Apologies for the frustration!
Sun 30 Sep 2012 7:07:00 PM PDT

Audio improved for "Input/Output and str formatting" video

We replaced the audio for this video and we've let the Coursera staff know that it needs to be captioned. In the meantime, we hope that the new audio is helpful.
Sun 30 Sep 2012 5:32:00 PM PDT

Assignment 1 is posted!

Hi all,

We have just posted Assignment 1. As you'll see when you read the handout, you should finish the week 2 lectures and exercise before starting work on this.

Enjoy!

-Jen and Paul
Sun 30 Sep 2012 12:25:00 PM PDT

Week 2 lectures and exercise posted, assignment 1 coming in a few hours

Hi all,

We have posted the week 2 lectures and the week 2 exercise. We're finishing up the assignment handout and it should be posted in a few hours.

Enjoy!

-Jen and Paul

P.S. As a reminder, exercise 1 is due in about 11 hours.
Sun 30 Sep 2012 8:58:00 AM PDT

New video for assignment statement visualization

There is some confusion about what the assignment statement does. This is to be expected — we see it every year in our intro course here at the UofT. We have released a week 2 video on this early; hopefully it will help clarify the issue.

This uses the Python Visualizer, which you can find by clicking Resources in the navigation bar.
Fri 28 Sep 2012 10:39:00 AM PDT

No comments:

Post a Comment

Followers

Blog Archive

Powered by Blogger.