Recent Changes - Search:

Oktatás

* Programozás 1
  + feladatsor
  + GitHub oldal

* Szkriptnyelvek
  + feladatsor
  + quick link

Teaching

* Programming 1 (BI)
  ◇ exercises
  ◇ quick link

* Scripting Languages
  ◇ exercises
  ◇ quick link

teaching assets


Félévek

* aktuális (2023/24/2)
* archívum


Linkek

* kalendárium
   - munkaszüneti napok '20
* tételsorok
* jegyzetek
* szakdolgozat / PhD
* ösztöndíjak
* certificates
* C lang.
* C++
* C#
* Clojure
* D lang.
* Java
* Nim
* Scala


[ edit | logout ]
[ sandbox | passwd ]

En /

Py2018sept

Archive: 2018/19/1 (September 2018)

Course name:Introduction to the Python Programming Language
Code:INGV381L
Type:optional, lab.
Credits:2
Target audience:BSc
Pre-requisite:Programming Languages 1 (IN[GHJ]K301)
Semester:2018/2019/1 (September 2018)
Instructor:Dr. Laszlo Szathmary

Place and Time of Class:

  • Tuesday 8h-10h, IK-205

Links:


News

Dates are in "yyyy.mm.dd." format.

  • [2018.11.29.] Summary of Lab #9 is published.
  • [2018.11.23.] The date of the 2nd test is known (see at the bottom of the page).
  • [2018.11.20.] Summary of Lab #8 is published.
  • [2018.11.13.] Summary of Lab #7 is published.
  • [2018.11.06.] The date of the 1st test is known (see at the bottom of the page).
  • [2018.11.06.] Summary of Lab #6 is published.
  • [2018.10.16.] Summary of Lab #5 is published.
  • [2018.10.09.] Summary of Lab #4 is published.
  • [2018.10.02.] Summary of Lab #3 is published.
  • [2018.09.25.] Summary of Lab #2 is published.
  • [2018.09.11.] Summary of Lab #1 is published.
  • [2018.09.10.] The new semester has started.

About the Course

We will get acquainted with the Python programming language (Python 3). The pre-requisite of the course is the "High Level Programming Languages 1", so I suppose everyone is familiar with the basic concepts of programming. In the lab we will use Linux, more precisely Ubuntu GNU/Linux. If you want, you can bring your own laptop. All we need is a text editor (like GEdit, vim, emacs, etc.). It's up to you which one you use. In your text editor you should set that TAB is automatically changed to 4 spaces. In GEdit you can do that like this: EditPreferences, then select the Editor tab. The value of Tab Width should be 4, and select Insert spaces instead of tabs. You can do this setting in every modern text editor.

Topics of the Labs / Slides

1) 2018.09.11. [yyyy.mm.dd.]

  • introduction, history of Python, characteristics of the language
  • using the Unix shell, basic Unix commands
  • using the interactive shell
  • writing and running simple Python scripts

Current slide: python-01.pdf
Last page: I/18 (meaning: python-01.pdf, page 18)
Homework:

2) 2018.09.25. [yyyy.mm.dd.]

  • string data type
  • string formatting
  • constants
  • string slicing

Current slide: python-02.pdf
Last page: II/5
Homework:

3) 2018.10.02. [yyyy.mm.dd.]

  • list data type
  • for loop
  • in operator

Current slide: python-02.pdf
Last page: we finished slide #2 (2.pdf)
Homework:

4) 2018.10.09. [yyyy.mm.dd.]

  • multiline string [from 2.pdf]
  • writing to the standard output (3 variations)
  • stack and queue
  • lists (cont.): common list methods
  • sorting a list
  • split / join
  • range / xrange

Current slide: python-03.pdf
Last page: III/13
Homework:

5) 2018.10.16. [yyyy.mm.dd.]

  • for loop / while loop (at the end of PDF #3)
  • What is evaluated as False?
  • string buffer
  • tuple

Current slide: python-04.pdf
Next topic: tuple (cont.), list comprehension
Homework:

6) 2018.11.06. [yyyy.mm.dd.]

  • tuple (cont.)
  • list comprehension
  • Python 3: int type; Python 2: int and long types
  • control structures

Current slide: python-04.pdf
Last page: IV/11
Homework:

7) 2018.11.13. [yyyy.mm.dd.]

  • control structures
  • docstring
  • optional parameters

Current slide: python-04.pdf
Last page: we finished slide #4
Homework:

8) 2018.11.20. [yyyy.mm.dd.]

  • set
  • dictionary

Current slide: python-05.pdf
Last page: we finished slide #5
Homework:

9) 2018.11.27. [yyyy.mm.dd.]

  • global variables
  • file handling

Current slide: python-06.pdf
Homework:

  • solve the exercises at the end of slide #6

Course Mark

At the end of the semester you will get a practical course mark. For this, you will have to attend the labs. Max. 3 absences are tolerated. If you are absent more than 3 times, you will automatically fail the course.

About being late: if you are a few minutes late, I can tolerate that. If you are late more than 10 minutes, then it'll be considered as a "half absence". If you do this twice, that will be registered as 1 absence.

There will be two classroom tests. The first one is on paper, while the second one is on computer. Your mark will be the average of the marks you get on the tests. If this mark is a real number (e.g. 3.5, 4.5, etc.), then I will take into consideration your lab work and homeworks. If someone solved less than 80% of the homeworks, then (s)he will get a worse mark than the average of the two tests.

If someone is not satisfied with his/her mark, (s)he will have the possibility to improve (or decline) the final mark in the last week of the semester. In this case, the final mark can be max. one mark better (or worse). The student will have to solve some programming exercises on a computer, and (s)he will have to know the concepts related to the Python programming language. If someone failed both classroom tests, (s)he cannot improve the final mark.

Classroom Tests / Exam

1st test

  • November 22, 2018 (Thu), IK-201, 18h00-19h30 (written test)

2nd classroom test

  • December 11, 2018 (IK-205, 8h00-9h30, at computer)

possibility to improve (or decline) the final mark

  • between December 17 and 21, 2018 (at computer; concrete date TBA)

Bibliography

Cloud City

  

Blogjaim, hobbi projektjeim

* The Ubuntu Incident
* Python Adventures
* @GitHub
* heroku
* extra
* haladó Python
* YouTube listák


Debrecen | la France


[ edit ]

Edit - History - Print *** Report - Recent Changes - Search
Page last modified on 2019 February 06, 22:40