Course detail

Introduction to Computer Science

FSI-TUP Acad. year: 2027/2028 Winter semester

This course introduces fundamental algorithmic techniques and their implementation in the Python programming language. It covers basic data types and variables, conditional statements and program branching, program structure, and language syntax. Furthermore, it addresses topics such as file handling, graph plotting, the representation of images as data, mathematical operations with matrices, and the basics of object-oriented programming. These concepts are applied directly to selected problems in optics, including plane and spherical waves, interference and diffraction by an optical grating, Fraunhofer diffraction, and the Airy disk. The Visual Studio Code development environment is used throughout the course.

Language of instruction

Czech

Number of ECTS credits

2

Entry knowledge

Prerequisites are not required.

Rules for evaluation and completion of the course

Course-unit credit – based on project processing
Attendance at seminars is obligatory. The form of compensation for missed seminars is entirely in the competence of a tutor.

Aims

The goal of the course is to familiarize students with fundamental programming and algorithmization techniques and to introduce them to key areas related to data processing.

The study programmes with the given course

Programme N-PMO-P: Precise Mechanics and Optics, Master's, elective

Type of course unit

 

Computer-assisted exercise

26 hours, compulsory

Syllabus


  1. Variables, data types, conditionals

  2. Loops, functions, libraries, algorithmization

  3. Graphs, numerical integration, polarization ellipse

  4. Vectors, matrices, phase shift, data representation of images

  5. Files, superposition of waves

  6. Plane and spherical waves, interference on a grating

  7. Data processing, computer systems

  8. Fraunhofer diffraction, Airy disk, OOP

  9. OOP, interference of two partially coherent waves

  10. Overleaf (online LaTeX editor)

  11. Selected optical problems 1

  12. Selected optical problems 2

  13. Selected optical problems 3