Programming in Python (FSI-TPY)

Academic year 2024/2025
Supervisor: doc. Ing. Miroslav Bartošík, Ph.D.  
Supervising institute: ÚFI all courses guaranted by this institute
Teaching language: Czech
Aims of the course unit:
The goal is to develop proficiency in using Python for engineering practice.
Learning outcomes and competences:
 
Prerequisites:
Basic computer literacy at a high school level is assumed.
Course contents:
This course covers the basics of the Python programming language, with a focus on its practical applications in engineering.
Teaching methods and criteria:
 
Assesment methods and criteria linked to learning outcomes:
Attendance at lectures is encouraged, and participation in exercises is mandatory. Classes follow a weekly schedule, and credit is awarded based on completing a script simulating a simple physics task.
Controlled participation in lessons:
 
Type of course unit:
    Lecture  13 × 2 hrs. optionally                  
    Computer-assisted exercise  13 × 1 hrs. compulsory                  
Course curriculum:
    Lecture
  1. Introduction to Python
  2. Version control with Git
  3. Lists, tuples, dictionaries
  4. Numpy for vectors and matrices, matrix operations, and index expressions
  5. Control structures
  6. Matplotlib for plotting points, curves, surfaces, and data plots
  7. Input and output of data, including working with text and regular expressions
  8. Functions, including built-in and user-defined functions, parameter types, and recursion
  9. Numerical derivation, integration, and ODR solutions
  10. Introduction to object-oriented programming
  11. Application of the object-oriented approach to solving n-body problems
  12. Optimization tasks
  13. Overview of Python packages
    Computer-assisted exercise
  1. Installing Python - Anaconda and ChatGPT
  2. Version control using GitHub
  3. Lists, tuples, dictionaries
  4. Numpy for vectors and matrices, matrix operations, and index expressions
  5. Control structures
  6. Matplotlib for plotting points, curves, surfaces, and data plots
  7. Input and output of data, including working with text and regular expressions
  8. Functions, including built-in and user-defined functions, parameter types, and recursion
  9. Numerical derivation, integration, and ODR solutions
  10. Application of the object-oriented approach to solving n-body problems
  11. Optimization tasks
  12. Semester project
  13. Submission of semester project
Literature - fundamental:
1. Summerfeld Mark, Python 3, výukový kurz, Computer Press, 2021.
2. Pilgrim Mark, Ponořme se do Python(u) 3, CZ.NIC, 2012
The study programmes with the given course:
Programme Study form Branch Spec. Final classification   Course-unit credits     Obligation     Level     Year     Semester  
B-FIN-P full-time study --- no specialisation -- Cr 2 Compulsory-optional 1 2 W