13
Scripting Languages Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Embed Size (px)

Citation preview

Page 1: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Scripting Languages

GoalsApproachEvaluationIntro to PythonThe two on-line sourcesGetting started with LPTHW

Page 2: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Goals

Not a course “about” scripting languages.

Goal: At the end: you are able to develop

“small” programs in Python. Small == 5 lines to 5 pages

Page 3: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Approach

NOT by lecturing on Python

Active! 4 types of activities:

Active preparation (at home) on on-line courses

Interaction sessions to discuss problems Exercise sessions with more examples 4 larger practical assignments

Page 4: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Workload

5 ECTS course: between 125 and 150 hours

Home work: 2h weekly (12 weeks) Interaction session: 1.5h weekly (13

weeks) Exercise sessions: 2h (12 weeks) Project assignments: 8h (4 projects)

= 5.5 * 12 + 1.5 + 8 * 4 = 66 + 32 = 99.5

+ studying for the (exercises) exam.

Page 5: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Evaluation

The 4 projects will be part of the evaluation

6 out of 20 points Probably: 1 p., 1.25 p., 1.75 p., 2 p.

Timing: 3rd, 6th, 9th, 12th week Note: could be that some assignments in

a project are only introduced the next week.

14 out of 20 points on exercise exam during the examination period

Page 6: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW
Page 7: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Python

A scripting language = a programming language, but with

some preferred features.

Interpreted (not compiled) “Light-weight” language

Allows rapid development

But _very_ extensive language (“has it all”).

Page 8: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

The on-line sources

Essentially replace a “handbook”:

Python CodeCademy https://

www.codecademy.com/tracks/python

Learn Python the hard way http://learnpythonthehardway.org/book/

Provide the backbone (define what is studied)

Page 9: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Boring, but necessary steps …

Learning a new language: Reading, writing words, phrases, … Repetition, over-and-over, …

First few chapters in the on-line sources _will_ demand boring typing and repetition !

You need to do it anyway!!

Page 10: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

CodeCademy

https://www.codecademy.com/tracks/python

Page 11: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Learn Python the Hard Way

http://learnpythonthehardway.org/book/

We need to do exercise 0 now, to see whether everyone has an editor, command tool and python

Then we should do a few of the first exercises together, to see whether everyone can use the tools (at least Ex.1 and Ex.2).

Page 12: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Assignment for the coming week

From CodeCademy: 1.a Python syntax (11 min.) 1.b Tip calculator (4 minutes) 2.a Strings and console output (15 min.) 2.b Data and time (7 min.)

From LPTHW: Ex.3 (10 min), Ex.4 (13 min), Ex. 5 (11

min.), Ex.6 (7 min). Ps: timings are mine – it could take

longer.

Page 13: Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW

Questions?