
Operating Systems
Code: 102747Credits: 6
| Degree programme | Type | Course |
|---|---|---|
| Computer Engineering | OB | 2 |
Contact lecturer
- Name :
- Carles Carrillo Jordan
- Email :
- carles.carrillo@uab.cat
Teaching staff
- Montse Serra Vizern
- Ramón González Castillo
- Joan Josep Piedrafita Farras
- Xiaoyuan Yang
- Vicente José Ivars Camañez
- Betzabeth del Carmen Leon Otero
Group languages
You can consult this information at the end of the document.
Prerequisites
Previous content:
- Those derived from having taken the subjects Computer Fundamentals, Programming 1 and Programming 2.
Objectives
Students will become familiar with the services provided by the Operating System attending its functional description. We will cover management policies applied to system basic modules. Important concepts include: process and thread model, communication and syncronization between processes and threads, memory system and file systems
Learning outcomes
- CM21 (Build IT projects that use different technological infrastructures in accordance with the principles of quality, reliability, IT security and cost.) Build IT projects that use different technological infrastructures in accordance with the principles of quality, reliability, IT security and cost.
- KM24 (Explain the basic principles of computer structure, operating systems, IT networks, the Internet and storage systems.) Explain the basic principles of computer structure, operating systems, IT networks, the Internet and storage systems.
- KM26 (Describe concurrent programming techniques used to implement IT applications that require them.) Describe concurrent programming techniques used to implement IT applications that require them.
- SM28 (Analyse technological infrastructures in any field of computer engineering to assess their economic, social and environmental impact aimed at implementing and continuously improving them to ensure their reliability, safety and quality.) Analyse technological infrastructures in any field of computer engineering to assess their economic, social and environmental impact aimed at implementing and continuously improving them to ensure their reliability, safety and quality.
- SM30 (Apply knowledge of operating systems, distributed systems, computer networks and the Internet to develop IT systems, services and applications.) Apply knowledge of operating systems, distributed systems, computer networks and the Internet to develop IT systems, services and applications.
Contents
1-Introduction and objectives
- Overview of contents and methodology
2-Introduction to Operating Systems
- Introduction to main O.S. concepts. User view. OS kernel. Virtualization.
3. Process management
- Processes, threads and Containers. System calls. Containers
4. Concurrency
- Critical section problem. Producers/consumers. Communication and synchronization.
5. CPU Scheduling
- Resource planning, scheduling levels and policies. Multiprocessor scheduling
6. Memory management.
- Mono/multiprogramming models. MFT, MVT systems. Paging. Virtual memory.
7. File Systems
- Files and folders. System calls. Space management algorithms. Acceleration techniques
Learning activities and methodology
| Title | Hours | ECTS | Learning outcomes |
|---|---|---|---|
| problem classes | 10.5 | 0.42 | |
| Autonomous | 100 | 4 | CM21, KM24, KM26, SM28, SM30 |
| Lab sessions | 10 | 0.4 | CM21, KM24, KM26, SM28, SM30 |
| Theory lectures | 22 | 0.88 | CM21, KM24, KM26, SM28 |
- Theory: The theory part of the subject will be held in the form of a lecture during the hours reserved for the subject schedule and published by the degree. The content of each class is detailed in the subject planning sheet (schedule) that will be published on the first day of class on the Virtual Campus. During classes, we expect students to answer the questions and challenges that will appear during the explanations of the subject.
- Problems: The hours dedicated to problem classes are indicated, each year, in the degree schedule. The problem groups are formed based on a division made by the Degree Coordination. On the first day of class for each subject, a list of problems corresponding to various practical topics to be solved will be provided. Working methodologies will be implemented in the classes to solve problems in groups. The most relevant concepts will also be reviewed in a more practical context with several examples.
- Practices: The practices will be carried out in sessions distributed during the course according to the corresponding schedule published on the Virtual Campus. Students must register for a practice schedule available on the same CV to attend their laboratories. Practice groups must consist of two people. Attendance at practice sessions is mandatory. The work consists of five or six two-hour laboratory sessions during which a series of systems and programs must be implemented. The practice sessions will be evaluated through a validation test.
During these theory, problem and practice sessions, photographs or recordings of any kind cannot be taken.
The platform for communication between students and teachers will be the Virtual Campus - UAB's Moodle platform.
The results of partial assessments and work submissions will be published on the Virtual Campus. These results may undergo programming changes for different reasons to adapt to various incidents. The subject space on the CV will always be used for communications between teachers and students. Any particular query must use the institutional email of both the student and the teacher.
Assessment
Continuous assessment activities
| Title | Weight | Hours | ECTS | Learning outcomes |
|---|---|---|---|---|
| Lab evaluation | 35% | 2 | 0.08 | CM21, KM24, KM26, SM28, SM30 |
| 2 theory test evaluations | 50% | 4 | 0.16 | CM21, KM24, KM26, SM28, SM30 |
| Problem assessment | 15% | 1.5 | 0.06 | CM21, KM24, KM26, SM28, SM30 |
- Theory: 50% of the final grade; consists of two intermediate tests (or controls) where each test has a weight of 25% on the final grade. A minimum grade of 4 must be obtained in each partial to be averaged.
- Problems: 15% of the final grade.
- Practices: 35% of the final grade. The practical sessions will be assessed by means of a 30-minute written test. All the tests for each practice must be passed separately in order to pass the practicals.
Students must have a minimum grade of 5 in theory and problems and a final global mark of 5.0 to pass the subject. In case of not obtaining this minimum, the numerical value in the student record will be the lower value between 4,5 and the average of the grades
The way in which each of the different parts of the subject (Theory, Problems and Practices) will be evaluated is detailed below:
Theory:
The evaluation of the theory part will be done with two intermediate tests (or controls). The day that each of these tests will be carried out, as well as its content will be indicated in the course planning sheets. The theory grade will be obtained from the average of the two theory tests. On the day of the second test, the first test cannot be recovered.
Problems:
The course schedule will establish specific sessions in which a prior submission will be required, through the virtual campus, before the problem session. These exercises will be submitted and self-assessed individually. Both submission and self-assessment are mandatory for all students. Students must present the solved problem together with their self-assessment to the problem teacher, who will review both the content and the grade awarded. In the event of a discrepancy, the final decision on the assessment will correspond to the problem teacher. The final problem grade will be obtained by calculating the average of the grades of all the submissions made and self-assessed divided by the total number of planned submission sessions. Problem submissions are not recoverable.
Practices:
To sign up for the practice shifts, the corresponding application will be used on the Virtual Campus. The activation date of the internship groups to be able to register effectively will be made public through a news in the subject space in the CV. Until that moment, only the schedules and days of the sessions of the different groups can be consulted. Attendance and punctuality in all practice sessions is mandatory for all members of the group.
To pass the internships, it is mandatory to HAVE ATTENDED ALL THE PRACTICAL SESSIONS, their correct functioning, verification by the responsible teacher, and answer the teacher's questions individually.
An individual 30-minute written test will be planned that will serve to evaluate the work done in the practical sessions. In order to pass the internships, it will be necessary to pass all the tests of each practice separately.
The internships approved in the previous year will NOT be validated.
b) Programming of evaluation activities
The planning of the evaluation activities will be given on the first day of the subject and will be made public on the Virtual Campus and on the website of the School of Engineering, in the exam section. These dates may be subject to programming changes for reasons of adaptation to possible incidents; these changes will always be reported on the virtual campus, since it is understood that it is the usual mechanism of exchange of information between teacher and students.
c) Recovery process:
Those students who, despite making continuous evaluation, have not reached the minimum necessary to pass the subject, will have the option of a revaluation exam of the Theory part. It is necessary to have a minimum grade of 3.5 (no higher) as an overall grade and to have had to present 2/3 of the assessment in order to be able to make up the difference.
Regarding Theory, the exam will consist of two different parts corresponding to the two controls carried out during the course. The student must always take the exam in the parts previously graded with a grade lower than 5.0. The maximum grade that can be obtained in the retake is 7. In order for the grade to be averaged with the grades of the other exams, it will be necessary to obtain a minimum score of 4 points out of 10. The grade that will be taken into account to obtain the final grade for Theory will be that of the last exam taken. It is necessary to obtain a minimum grade of 5.0 at the end of the reassessment to pass the theory and be able to make the weighted average with the other grades of the subject.
The work submitted in the problem sessions and the written tests of the laboratory practices, given their continuous assessment nature, cannot be recovered.
d) Procedure for reviewing grades
For each evaluation activity, a physical or virtual space, date and time of review will be indicated where students will be able to review the activity with the teacher. If students do not submit to this scheduled review, this activity will not be reviewed later.
e) Qualifications
Honor Enrolment: A student may obtain the Honors grade provided that the final grade for the subject is 9 or higher and taking into account the maximum percentage of Honors that can be awarded according to UAB regulations. Regarding the MH, the prioritization criterion is the assignment to the highest grades.
Since the evaluation methodology is continuous, the fact that any delivery of any evaluable evidence (exercise of problems, control, practices...) is interpreted as an express will to present itself to the subject and, therefore, to be evaluated with a different grade of Not Evaluable (NA). An NA grade can only be obtained by not delivering any evaluable evidence throughout the course.
It should also be noted that in all areas, but especially the university, for all exercises, the correct formal oral or written expression is an essential piece. Therefore, this will be part of the evaluation, issues such as spelling errors and other inaccuracies in the expression will be penalized, up to a maximum of 20% for each evaluable document.
f) Irregularities by the student, copy and plagiarism
Without prejudice to other disciplinary measures that are considered appropriate, and in accordance with current academic regulations, irregularities committed by a student that may lead to a variation of the grade in an evaluable activity will be graded with a zero (0). The evaluation activities qualified in this way and by this procedure will not be recoverable. If it is necessary topass any of these evaluation activities to pass the subject, this subject will be suspended directly, without opportunity to recover it in the same course. These irregularities include, among others:
- The total or partial copy of a practice, report, or any other evaluation activity. Let copy.
- Present a group work not done entirely by the members of the group (applied to all members, not only those who have not worked).
- Present as own materials prepared by a third party, even if they are translations or adaptations, and in general works with non-original and exclusive elements of the student.
- Use communication devices (such as mobile phones, smart watches, ballpoint pens with camera, etc.) accessible during individual assessment tests.
- Talk with colleagues during the evaluation tests of theory or individual practice (exams) using any virtual means.
- Copy or try to copy other students during the theoretical and practical evaluation tests (exams).
- Use or attempt to use material related writings during the performance of assessment tests (exams), when these are not explicitly allowed.
In summary: copying, letting copy or plagiarizing (or attempting to) in any of the evaluation activities is equivalent to a FAIL, not compensable, without opportunity to recover it in the same course and without validation of parts of the subject in subsequent courses.
g) Evaluation of repeating students
Students in the second call must make all the deliveries of problems and practices in a mandatory way to be able to pass the subject.
h) Single assessment.
The single assessment of the subject will consist of the following evaluation activities:
- Theory: theory exam, 50% on the final grade
- Problems: exam of problems, 15% on the final grade
- Internships: practical exam, 35% on the final grade.
Recovery: the same recovery system will be applied as for continuous assessment
Review of the final grade: The review of the final grade follows the same procedure as for continuous assessment.
i) Use of AI
For this subject, the use of Artificial Intelligence (AI) technologies is permitted exclusively in support tasks, such as bibliographic or information searches, text correction or translations, for educational and learning purposes. The student must clearly identify which parts have been generated with this technology, specify the tools used and include a critical reflection on how these have influenced the process and the final result of the activity. The lack of transparency in the use of AI in this assessable activity will be considered a lack of academic honesty and will imply a grade of zero (0) in the corresponding activity, or greater sanctions in serious cases.
j) Participation in class
In order to encourage the participation of students in class, a mechanism is proposed to reward this participation:
In the theory classes, participation through interesting questions or adequately answering the questions raised by the teachers will have a reward of 0.01.
With this reward a multiplication factor of the theory note is created:
Note theory final note theory(1+participation)
Where each participation will count 0.01. At most, the factor 1.5 (50 participations) can be reached at most. These participations must be made in the theory group where the student belongs.
Bibliography
Teoria:
- "Sistemas Operativos", Pedro de Miguel Anasagasti, Fernando Pérez Costoya. D. Arquitectura y Tecnología de Sistemas Informáticos, ETSE, UPM. 2016. Bajo licencia Creative Commons NoComercial CompartirIgual 4.0.
- "Sistemas Operativos: una visión aplicada". Tercera edición. Jesús Carretero Pérez, Félix García Carballeira, Fernando Pérez Costoya, 2021.
- "Operating System Concepts", Avi Silberschatz, Peter Baer Galvin, Greg Gagne, Tenth Edition, John Wiley & Sons, Inc, April 2018, ISBN: 978-1-119-32091-3 (e-book)
- "Sistemas Operativos". William Stallings, 5a Edición Prentice Hall 2005
Pràctiques:
- "El entorno de programación Unix", R. Pike & Brian Kernighan, Ed. Mc. Graw-Hill
- "Docker in Practice". Ian Miell. Aidan Sayers. Manning 2019. Disponible a la biblioteca com e-book
- "Advanced Unix programming", Rockind M. Ed. Prentice-Hall
- "Administración avanzada del sistema operativo GNU/Linux". Remo Suppi, Josep Jorba. Universitat Oberta de Catalunya, septiembre 2014. http://hdl.handle.net/10609/61266
Software
In the subject, we will use the latest version of the following tools and systems:
- Windows 11 with PowerShell 7 and WSL
- Ubuntu Linux v. 20
- Docker containers
Course groups and languages
The information provided is provisional until November 30. After this date, you will be able to consult the language of each group through this link. To access the information, you will need to enter the course CODE
| Type of teaching | Group | Language | Semester | Shift |
|---|---|---|---|---|
| (TE) Theory | 41 | Catalan/Spanish | first semester | morning-mixed |
| (TE) Theory | 43 | Catalan/Spanish | first semester | morning-mixed |
| (TE) Theory | 45 | Catalan/Spanish | first semester | afternoon |
| (PAUL) Classroom practices | 411 | Catalan/Spanish | first semester | morning-mixed |
| (PLAB) Practical laboratories | 411 | Catalan/Spanish | first semester | morning-mixed |
| (PAUL) Classroom practices | 412 | Catalan/Spanish | first semester | morning-mixed |
| (PLAB) Practical laboratories | 413 | Catalan/Spanish | first semester | morning-mixed |
| (PLAB) Practical laboratories | 414 | Catalan/Spanish | first semester | afternoon |
| (PLAB) Practical laboratories | 415 | Catalan/Spanish | first semester | morning-mixed |
| (PLAB) Practical laboratories | 416 | Catalan/Spanish | first semester | morning-mixed |
| (PLAB) Practical laboratories | 417 | Catalan/Spanish | first semester | morning-mixed |
| (PLAB) Practical laboratories | 418 | Catalan/Spanish | first semester | morning-mixed |
| (PLAB) Practical laboratories | 419 | Catalan/Spanish | first semester | morning-mixed |
| (PLAB) Practical laboratories | 420 | Catalan/Spanish | first semester | morning-mixed |
| (PLAB) Practical laboratories | 421 | Catalan/Spanish | first semester | afternoon |
| (PLAB) Practical laboratories | 422 | Catalan/Spanish | first semester | morning-mixed |
| (PLAB) Practical laboratories | 423 | Catalan/Spanish | first semester | morning-mixed |
| (PAUL) Classroom practices | 431 | Catalan/Spanish | first semester | morning-mixed |
| (PAUL) Classroom practices | 432 | Catalan/Spanish | first semester | morning-mixed |
| (PAUL) Classroom practices | 451 | Catalan/Spanish | first semester | afternoon |
| (PAUL) Classroom practices | 452 | Catalan/Spanish | first semester | afternoon |