Giter Site home page Giter Site logo

csalih / operating-systems Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 842 KB

Homework repo for the lecture operating systems lab

License: MIT License

Shell 0.64% C++ 15.50% C 79.69% Makefile 4.17%
c signal-processing fifo pipes message-queue shared-memory semaphores pthread mutex mutex-lock

operating-systems's Introduction

Operating Systems Lab

This repository contains material required to complete exercises for the OS lab, including exercise sheets and their associated materials.

Schedule

Exc Topic
1 Shell scripting
2 Scheduling (P&P)
3 Processes, signals
4 FIFOs, pipes & message queues
5 Shared memory & semaphores
6 Threads, mutexes, deadlocks
7 Spinlocks, cond vars, atomics
8 Scheduling simulator
9 Membench, best-fit allocator
10 Free list allocator

General Information

All programming exercise solutions you hand in must compile properly on the lab computers. The easiest way of ensuring this is by either developing your solutions on a lab computer directly (outside of course hours), or by connecting to ZID-GPL via SSH.

Note that the default version of the GCC compiler present on lab computers is extremely outdated. You may load a never version by calling module load gcc/9.2.0.

Coding Guidelines

All programming exercises are conducted in C.

Your code should always compile without warnings, when passing the flags -Wall -Wextra -Werror -std=gnu11.

Make sure your code is properly formatted using either your IDE/Text editor of choice, or by using a tool such as clang-format.

Try to write self-documenting code by choosing descriptive variable and function names. While you may want to add comments to certain sections of your code, try to avoid trivial comments such as fopen(...); // open file. All names and comments should be written in English.

Finally, all submitted code must be accompanied by a GNU Makefile. That is, your solution must be able to be compiled with a single call to make.

For some more specific topics such as proper error handling, check out our Frequently Asked Questions (FAQ).

operating-systems's People

Contributors

csalih avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.