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 /

Py2015sept

Archive: 2015/16/1 (September 2015)

Course name:Introduction to the Python Programming Language
Course code:INGV381L
Pre-requisite:Programming Languages 1 (IN[GHJ]K301)
Semester:2015/2016/1 (September 2015)
Instructor:Dr. Laszlo Szathmary
Syllabus:SyllabusPythonEn-2015-2016-1.pdf

Place and Time of Class:

  • Wednesday 8h-10h, TEOKJ II/112.

Links:


News

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

  • [2015.11.25.] Summary of Lab #10 is published. The date of the 2nd test is known (see the bottom of the page).
  • [2015.11.10.] Summary of Lab #7 is published.
  • [2015.10.31.] Summary of Lab #6 is published. The date of the 1st test is known (see the bottom of the page).
  • [2015.10.19.] Summary of Lab #5 is published.
  • [2015.10.19.] Summary of Lab #5 is published.
  • [2015.10.10.] Summary of Lab #4 is published.
  • [2015.10.02.] Summary of Lab #3 is published.
  • [2015.09.23.] Summary of Lab #2 is published.
  • [2015.09.18.] Summary of Lab #1 is published.
  • [2015.09.15.] The new semester is about to start.
  • [2015.06.10.] Started to prepare the English version of the course.

About the Course

We will get acquainted with the Python programming language. 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 to 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.

PyCharm IDE

There are also several integrated development environments (IDEs) for Python. We are in that lucky position that the company JetBrains provided a classroom license for their PyCharm IDE, which is valid until December 2015. It may be a better choice for larger projects. If you want the license, send me an email with the following: your name, your Neptun code, and your major. There are though two restrictions: (1) don't give the license to anybody, and (2) you cannot use the IDE for developing a commercial software. However, the license is available for all students of the University of Debrecen (not only for those who attend the Intro. to Python course). Thus, you can pass this message to others too.

Topics of the Labs / Slides

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

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

Current slide: python-01.pdf
Homework:

  • --

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

  • string data type, formatting strings
  • constants

Current slide: python-02.pdf
Homework:

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

  • string slices
  • list data type
  • for loop
  • in operator

Current slide: python-02.pdf
Homework:

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

  • writing to the standard output (3 variations)
  • stack and queue
  • lists (cont.): common list methods
  • sorting a list
  • split / join
  • range / xrange
  • for loop / while loop

Current slide: python-03.pdf
Homework:

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

  • What is evaluated as False?
  • string buffer
  • tuple
  • list comprehension

Current slide: python-04.pdf
Homework:

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

  • int and long types
  • control structures
  • docstring
  • optional parameters

Current slide: python-04.pdf

  • set data structure

Current slide: python-05.pdf
Homework:

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

  • dictionary data structure

Current slide: python-05.pdf

  • global variables
  • file handling

Current slide: python-06.pdf
Homework:

  • EnPy.20120818h One hundred 50-digit long numbers (PE #13) [version B]

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

  • ???

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

  • classes, objects

Current slide: python-07.pdf
Homework:

10) 2015.11.25. [yyyy.mm.dd.]

  • correction of the 1st test
  • random numbers

Current slide: python-08.pdf
Homework:

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 classroom test

  • November 12, 2015 (Thursday) from 18h (6 pm) at IK-F0 (written test)

2nd classroom test

  • December 9, 2015 (at computer, in the same classroom and at the time of the labs)

possibility to improve (or decline) the final mark

  • 2015. ???, (at computer)

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 2016 February 12, 18:06