Course: Programming in C Language for Physicists

« Back
Course title Programming in C Language for Physicists
Course code SLO/PROG2
Organizational form of instruction Lecture + Exercise
Level of course Bachelor
Year of study not specified
Semester Summer
Number of ECTS credits 4
Language of instruction Czech, English
Status of course Compulsory, Compulsory-optional
Form of instruction Face-to-face
Work placements This is not an internship
Recommended optional programme components None
Course availability The course is available to visiting students
Lecturer(s)
  • Myška Robert, Mgr. Ph.D.
Course content
Basics of C programming language - Basic elements of C programming language (keywords, variables, constants, operators) - Control structures (command, block, condition, branching, cycles, jumps) - Input and output, standard libraries - Functions - Files, work with the disc - Pointers, dynamic memory allocation - Arrays, compound data structures Principles of effective programming - Structuralized programming - Comments and documentations - Effective algorithms - Usage of available and already-prepared libraries

Learning activities and teaching methods
Monologic Lecture(Interpretation, Training), Dialogic Lecture (Discussion, Dialog, Brainstorming), Work Activities
  • Attendace - 39 hours per semester
  • Homework for Teaching - 26 hours per semester
  • Preparation for the Course Credit - 15 hours per semester
  • Semestral Work - 40 hours per semester
Learning outcomes
The objective of the course is a basic understanding of the C language, both in a passive way (understanding of somebody else's code) and in an active way (making an efficient and readable code).
Application Basic overview about all possibilities of the language C. Analyze submitted source code and translate algorithm into syntax of the language C.
Prerequisites
Some basic knowledge of computer science at the high school level. Previous programming experience is an advantage. The lecture will be opened to students on condition that at least two students of the field of Physics are enrolled in the lecture.

Assessment methods and criteria
Mark, Analysis of Activities ( Technical works), Questionnaire, Seminar Work

- Elaboration of the homeworks. - The final project - creation of the programme according to the instructions of the lecturer (examination)
Recommended literature
  • Herout P. (2008). Učebnice jazyka C, 2. díl. Kopp.
  • Herout P. (2004). Učebnice jazyka C. Kopp.


Study plans that include the course
Faculty Study plan (Version) Category of Branch/Specialization Recommended year of study Recommended semester
Faculty: Faculty of Science Study plan (Version): Instrument and Computer Physics (2019) Category: Physics courses 1 Recommended year of study:1, Recommended semester: Summer
Faculty: Faculty of Science Study plan (Version): Applied Physics (2019) Category: Physics courses - Recommended year of study:-, Recommended semester: Summer