Saltar al contingut Menu
Map
  • Home
  • Information
  • Contact
  • Map

Use of Operating Systems (USO)

Credits Dept. Type Requirements
7.5 (6.0 ECTS) AC
  • Compulsory for DCSFW
EC1 - Prerequisite for DCSYS
IC - Prerequisite for DCSYS
P1 - Prerequisite for DCSYS
PRAP - Prerequisite for DCSYS

Instructors

Person in charge:  (-)
Others:(-)

General goals

Upon finishing this subject, students must be familiar with the services and utilities offered by operating systems. This encompasses the following concepts: command consoles, system calls, security, protection, system libraries, dynamic libraries, processing, multiprocessing, shared time, concurrence, threads, input/output, channels, file systems, communication between processes (pipes, sockets, events), shared memory, virtual memory, paging, swap areas.

Specific goals

Knowledges

  1. Learn the services provided by an OS from user and programmers standpoints.
  2. Learn and know how to use the various systems for interacting with the OS



    (commands, scripts, libraries, system calls, etc.
  3. Concept of process and related services.
  4. File systems and services relating to input/output.
  5. Describe the system administrator"s tasks.

Abilities

  1. Use the OS" own services to implement programmes.
  2. Acquire skill as user of the operating system.
  3. Foresee some of the common situations that may compromise a computer"s security.

Competences

  1. Willingness and ability to update one"s professional knowledge throughout one"s career.
  2. Ability to act independently: Know how to work on one"s own with just the bare minimum of knowledge and guidance.
  3. Ability to design and carry out experiments and analyse the results.
  4. Ensure that the resources available are used properly.
  5. Initiative: Resolution, knowing how to take decisions and how to act in order to solve a problem.

Contents

Estimated time (hours):

T P L Alt Ext. L Stu A. time
Theory Problems Laboratory Other activities External Laboratory Study Additional time

1. Introduction: OS concept; entering the OS; hardware requirements; OS historical development; approximation to most common use; system administration tasks
T      P      L      Alt    Ext. L Stu    A. time Total 
4,0 1,0 4,0 0 1,0 4,0 0 14,0
  • Laboratory
    The lab first session will describe the environment in which course exercises will take place and proceed to install a simple distribution of the Linux operating system (from CD) on a PC.
    The second lab session will describe a Unix project: interpretation of instructions, session start, file management, processes, etc.
  • Additional laboratory activities:
    Study of documentation for the second lab session.

2. System software: Generation of executables, Loaders, System Administrator's tasks.
T      P      L      Alt    Ext. L Stu    A. time Total 
3,0 1,0 4,0 0 2,0 4,0 0 14,0
  • Laboratory
    The first session will involve producing various Linux shell scripts.
    The second session will involve writing a small programme in "C", compilation, creating the libraries, and mounting the programme. Some of the help tools, such as indent, objdump, strace, strings, make, will also be covered. Lastly, some applications will be installed following standard procedures (configure, make install, etc.).
  • Additional laboratory activities:
    Study of lab session documentation.

3. Processes: Concept and characteristics, multiprocessing OS, Windows calls, the system administrator"s tasks.
T      P      L      Alt    Ext. L Stu    A. time Total 
6,0 3,0 6,0 0 3,0 11,0 0 29,0
  • Laboratory
    In the first sessions, students will experiment with a few small test programmes creating processes and threads, refreshing UNIX commands relating to process management, and produce a shell script for processes.
    In the second session, students will write small UNIX programmes making system calls related to process management.
    In the third session, students will experiment with some small Windows test programmes that create processes and threads. Students will also be shown how to obtain information on those processes that are being executed.
  • Additional laboratory activities:
    Study of lab session documentation.

4. File systems: EF disk, file system concepts, file systems in UNIX, Windows, performance considerations, the system administrator"s tasks.
T      P      L      Alt    Ext. L Stu    A. time Total 
4,0 2,0 4,0 0 2,0 8,0 0 20,0
  • Laboratory
    During the first session, students will use the most common UNIX commands to explore the system (find, etc.) and to manage files (com tar, bzip2, etc.), mount/unmount units in LINUX, work with file protection schemes, and produce a shell scripts covering the file system.
    In the second session students will experiment with some small Windows test programmes that explore the File System. Students will also be shown how to obtain information about this File System.

  • Additional laboratory activities:
    Study of lab session documentation.

5. Input/Output: Device independence, Communication Models, UNIX calls (files, pipes, sockets and for events), The system administrator's tasks
T      P      L      Alt    Ext. L Stu    A. time Total 
5,0 3,0 6,0 0 3,0 11,0 0 28,0
  • Laboratory
    In the first session, students will try a series of UNIX sample programmes that carry out basic input and output operations, and will produce a few shell scripts.
    In the second session, students will develop small programmes using input/output system calls on files/pipes and sockets.
    In the third session, students will work on input/output by sockets.



  • Additional laboratory activities:
    Study of lab session documentation.

6. Memory: address spaces, growth in logic space, virtual memory, the system administrator's tasks
T      P      L      Alt    Ext. L Stu    A. time Total 
2,0 1,0 2,0 0 1,0 3,0 0 9,0
  • Laboratory
    In the lab session, students will experiment with system calls, allowing the size of a process" logic state to be altered, and with commands showing the memory taken up by processes. Students will write a few shell scripts relating to memory management and debug programmes that do not work properly with memory.
  • Additional laboratory activities:
    Study of lab session documentation.

7. Security: choice of passwords, e-mail, encrypted communications, the system administrator"s tasks.
T      P      L      Alt    Ext. L Stu    A. time Total 
2,0 1,0 2,0 0 1,0 3,0 0 9,0
  • Laboratory
    Students must install some applications that facilitate the proper use of the system and enhance its security. Students will experience some of the situations that may compromise a computer"s security.
  • Additional laboratory activities:
    Study of lab session documentation.


Total per kind T      P      L      Alt    Ext. L Stu    A. time Total 
26,0 12,0 28,0 0 13,0 44,0 0 123,0
Avaluation additional hours 20,0
Total work hours for student 143,0

Docent Methodolgy

Participatory theory classes (lectures).

Exercises. Students will be notified of forthcoming class exercises.

Lab classes. Students will be given guidelines to be studied prior to the session.

Evaluation Methodgy

Each student must submit a report at the end of each lab session, detailing his or her class activities (together with any files produced). These submissions will account for 70% of lab marks. Students" performance in the lab will account for the remaining 30% of the lab marks.















A non-exemptive part exam will be held halfway through the course.







The course grade will be calculated as follows:



0.4*ExFinal + 0.2*MAX(Final exam, part exam) + 0.4*MAX(Final exam, lab)

Basic Bibliography

  • Avi Silberschatz, Peter Galvin, and Greg Gagne Operating System Concepts. Sixth Ed., Ed. Wiley, 2003.
  • R.E. Bryant and D. O'Hallaron Computer Systems. A programmer's perspective, Ed. Prentice Hall, 2003.

Complementary Bibliography

(no available informacion)

Web links

(no available informacion)

Previous capacities

-The structure of computers
-Programming knowledge

EC1 assignments and those in the selective programming will provide this knowledge.


Compartir

 
logo FIB © Barcelona school of informatics - Contact - RSS
This website uses cookies to offer you the best experience and service. If you continue browsing, it is understood that you accept our cookies policy.
Classic version Mobile version