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
Supervisor
Department
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
- Variables, data types, conditionals
- Loops, functions, libraries, algorithmization
- Graphs, numerical integration, polarization ellipse
- Vectors, matrices, phase shift, data representation of images
- Files, superposition of waves
- Plane and spherical waves, interference on a grating
- Data processing, computer systems
- Fraunhofer diffraction, Airy disk, OOP
- OOP, interference of two partially coherent waves
- Overleaf (online LaTeX editor)
- Selected optical problems 1
- Selected optical problems 2
- Selected optical problems 3