Before session 1
1. Introduction
Instead of lectures we will use videos recorded by Charles Severance from University of Michigan.
- Watch the videos in youtube if you need subtitles.
- The presentations used in the videos are provided below the videos.
- The full text on the topic can be found from the book (check the link below the videos).
Watch the videos before the practice session!
The first four videos (part 1, part 2, part 3 and part 4) are introduction to programming. The videos tell why one might want to learn to program, and about the basic issues concerning learning to program.
Slides
Text-book: chapter 1 - introduction
2. Install Thonny
Thonny is an IDE for Python. Thonny comes with Python 3.6 built in, so just one simple installer is needed and you are ready to learn programming.
Windows
Please download and install Thonny from: https://bitbucket.org/plas/thonny/downloads/thonny-2.1.22.exe
If you have problems with installation, please look at: https://bitbucket.org/plas/thonny/wiki/Windows
OS X
Please download and install Thonny from: https://bitbucket.org/plas/thonny/downloads/thonny-2.1.22.dmg
If you have problems with installation, please look at: https://bitbucket.org/plas/thonny/wiki/MacOSX
3. Variables, expressions and statements
Next videos (part 1 and part 2) will teach how to make variables and store data in those variables.
Slides
Text-book: chapter 2 - variables
Test
Go to Moodle and take the first test on the video lecture materials. Each test gives up to 2 points. You can answer questions several times. You can take the test several times. The last attempt will be saved and will count as the final score for the quiz.
Exercises
There is no compulsory exercises before the first session. We will solve the first exercises together during the session. Nevertheless, you can try to solve some exercises e.g.: write a program that asks the user his name and then welcomes the user using his name.