PřF:F1222 C++ for physicists - Course Information
F1222 C++ for physicistsFaculty of Science
- Extent and Intensity
- 0/2/0. 2 credit(s). Type of Completion: z (credit).
- Ing. Mgr. Bc. Ján Dugáček, Ph.D. (seminar tutor)
Mgr. Jiří Vohánka, Ph.D. (seminar tutor)
- Guaranteed by
- prof. RNDr. Mirko Černák, CSc.
Department of Physical Electronics - Physics Section - Faculty of Science
Contact Person: Ing. Mgr. Bc. Ján Dugáček, Ph.D.
Supplier department: Department of Physical Electronics - Physics Section - Faculty of Science
- Mon 17. 9. to Fri 14. 12. Wed 18:00–19:50 Fcom,01034
- Basic knowledge of some imperative programming language
Understanding of physics on high school level
- Course Enrolment Limitations
- The course is offered to students of any study field.
The capacity limit for the course is 20 student(s).
Current registration and enrolment status: enrolled: 4/20, only registered: 0/20, only registered with preference (fields directly associated with the programme): 0/20
- Course objectives
- The goal is to learn to use C++ to solve computational tasks in physics.
Numerical methods are not the subject of this course.
- Learning outcomes
- Students will learn:
- basic program control
- how to practically group data into objects
- how to use C++ for computational tasks
- 1.Introduction, getting IDE to work
- 2. Setting variables, printing, if
- 3. Cycles
- 4. Vectors, other STL
- 5. Practicing cycles
- 6. Reserved
- 7. Functions, references
- 8. Practice
- 9. Input parsing
- 10. Creating classes, unique pointers
- 11. Using C++ functions and classes in Python
- 12. Reserved
- 13. Practice
- recommended literature
- STROUSTROUP, Bjarne. Programming: Principles and Practice Using C++. 2. vyd.
- not specified
- MEYERS, Scott. Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)
- Teaching methods
- Consultative exercises with a short theoretical introduction. Students are expected to bring their own laptop. Operating system Linux is strongly advised (or Windows 10 with WSL).
- Assessment methods
- Completing enough homeworks on time
- Language of instruction
- Follow-Up Courses
- Further Comments
- Study Materials
The course is taught annually.