Abstract
The paper summarizes the experience of designing and teaching an interconnected set of courses in system programming and operating systems at the bachelor’s and master’s levels of computer science education. Particular attention is paid to the methodological aspects of organizing the learning process in a curriculum where the compulsory course “System Programming” is taught before the elective course “Unix-like Operating Systems”. The structure of the System Programming course is described as comprising three interrelated components: programming in the UNIX command-line environment, fundamentals of automated compiler construction, and low-level programming and optimization. Particular emphasis is placed on the practical analysis of program performance, the use of profiling, Flame Graphs, perf, and eBPF, machine-code analysis, as well as the measurement of computational energy consumption using hardware counters available in modern processors. The paper also examines the design of a bachelor-level operating systems course centered on fundamental resource-management mechanisms and a master-level course, “Modern Operating Systems”, characterized by a strong research component. The proposed approach is presented as a description of practical experience in organizing the content of these related courses.