IOS Acad. year 2019/2020 Summer semester 5 credits
The concept of an operating system (OS) as a part of software of a computer system. Architectures of operating systems, a classification of operating systems. An overview of the contemporary operating systems. The kernel of UNIX, its structure, graphical and textual interfaces, command languages. Process management, context switching, scheduling, interprocess communication. Memory management, paging, virtual memory. Synchronization of processes, semaphores and other synchronization means, deadlock, starvation.
Language of instruction
Holík Lukáš, Mgr., Ph.D. (DITS FIT BUT)
Hruška Martin, Ing. (DITS FIT BUT)
Kočí Radek, Ing., Ph.D. (DITS FIT BUT)
Lengál Ondřej, Ing., Ph.D. (DITS FIT BUT)
Rogalewicz Adam, doc. Mgr., Ph.D. (DITS FIT BUT)
Smrčka Aleš, Ing., Ph.D. (DITS FIT BUT)
Turoňová Lenka, Ing. (DITS FIT BUT)
Subject specific learning outcomes and competences
Students are acquainted with the basic principles of operating systems (with emphasis on the UNIX operating system) and they understand the influence of operating systems upon the operation of complex computing systems. Students are able to exploit scripts for solving various tasks in a UNIX-based environment.
The goal is to acquaint students with the principles of operating systems in general and with the basic concepts of the UNIX operating system.
Why is the course taught
The course should mainly inform students about the main concepts and mechanisms of operating systems (files and file systems, processes and scheduling, inter-process communication, memory allocation) so that the students are able to efficiently use services of operating systems in their future work. The courses further acquaint students with shell scripting allowing them to automate many tasks commonly done during development, administration, or another usage of computing systems. Finally, students will get their first experience with creating concurrent programs.
Prerequisite kwnowledge and skills
A basic knowledge of programming in C.
- Skočovský, L.: Principy a problémy operačního systému Unix, 2. vydání, 2008. (in Czech)
- Slides presented at the lectures and made accessible via the Internet.
- Silberschatz, A., Galvin, P.B., Gagne, G.: Operating System Concepts, 9th edition, John Wiley & Sons, 2012.
- Tanenbaum, A.: Modern Operating Systems, 4th edition, Prentice Hall, 2014.
- Tanenbaum, A.S., Woodhull, A.S.: Operating Systems Design and Implementation, 3rd edition, Prentice Hall, 2006.
- Raymond, E.S.: The Art Of Unix Programming, Addison-Wesley, 2003.
- Yosifovich, P., Russinovich, M.E., Solomon, D.A., Ionescu, A.: Windows Internals, 7th edition, Microsoft Press, 2017.
Syllabus of lectures
- Introduction. Evolution of computers and operating systems (OS). Requirements on OS, classification of OS, standards. The basic terminology and the general structure of OS.
- The UNIX operating system. The history and the most important development branches. The basic principles and structure of UNIX. The structure of the UNIX kernel, its interface and the different forms of communication with the kernel.
- UNIX shell. Basic commands, programs, scripts. Special symbols. Input/output redirection, pipes, background processes, sub-shell. Variables, control structures.
- A basic introduction to programming in UNIX. Languages, compilers, principles of linking programs, dynamically linked libraries. Principles of the X-Window graphical user interface.
- Standard utilities of UNIX.
- File systems. The physical and logical structure of disks. Types of files, i-nodes, storing files on a disk.
- Access rights to files in UNIX, users and groups, the suid and sgid attributes, the typical structure of directories in a UNIX system.
- Input and output. The corresponding kernel services. Data structures and algorithms used by the input/output subsystem of the kernel.
- Management of processes. Loading the system, the init process. Fork, exec, exit, and wait calls. States of processes, scheduling.
- Memory management. Address spaces, address translation, memory pages.
- Virtual memory.
- Mutual exclusion, semaphores and other synchronization means.
- Typical synchronization tasks, deadlocks, starvation.
Syllabus - others, projects and individual work of students
- Creating scripts by means of UNIX shell and the standard utilities of UNIX.
- Process synchronization in UNIX using the C language.
- Evaluation of the two home assignments individually solved by the students (max 30 points).
- Evaluation of a mid-term exam (max 10 points).
- Solving two individual home assignments, a combined final exam.
- The minimal number of points which must be obtained from the final exam is 27. Otherwise, no points will be assigned to a student.
The minimal total score of 10 points gained out of the home assignments and the mid-term exam.
|Mon||exam||2020-06-29||A112 A113 D0206 D0207 D105 E104 E105 E112||15:00||18:50||1BIA 1BIB 2BIA 2BIB||1. oprava|
|Wed||lecture||lectures||D105||09:00||11:50||1BIA 2BIA 2BIB||xx|
|Wed||lecture||lectures||D0206 D105||15:00||17:50||1BIB 2BIA 2BIB||xx|
|Thu||exam||2020-07-09||A112 A113 D105 E104 E105 E112 G202||09:00||10:50||1BIA 1BIB 2BIA 2BIB||2. oprava|
|Thu||exam||2020-06-18||A113 D0206 D0207 D105 G202||10:00||20:50||1BIA 1BIB 2BIA 2BIB||řádná|
|Thu||exam||2020-06-18||E112||11:00||20:50||1BIA 1BIB 2BIA 2BIB||řádná|
|Thu||exam||2020-07-09||A112 A113 E112 G202||11:00||12:50||1BIA 1BIB 2BIA 2BIB||2. oprava|
|Thu||exam||2020-06-18||A112 E104 E105||14:00||20:50||1BIA 1BIB 2BIA 2BIB||řádná|
|Thu||exercise||2020-03-12||D0207 D105||18:00||20:50||1BIA||IOS demo shell|
|Thu||exercise||2020-03-19||D0207 D105||18:00||20:50||1BIA||IOS demo soubory|
|Fri||exam||2020-03-27||A112 D0206 D0207 D105 E105 G202||10:00||11:50||půlsemestrálka IOS|
|Fri||exam||2020-06-05||A112 A113 D0206 D0207 D105 E104 E105 E112 G202 M103 M104||10:00||12:50||1BIA 1BIB 2BIA 2BIB||Předtermín|
|Fri||other||2020-03-27||L118||14:00||16:50||IOS demo soubory|
Course inclusion in study plans