Git Product home page Git Product logo

osue_ws16's Introduction

Operating Systems UE WS16

Beispiel 1A - Palindrom

Liest einen String über stdin ein und gibt auf stdout aus ob der string ein Palindorm ist oder nicht

Beispiel 1B - Mastermind

  • 8 Farben, Client muss secret vom Server erraten
  • TCP/IP Server und Client
  • Protokoll:
    • Client: (Guess)
    | 15 | 14   13   12 | 11   10   9 |  8   7   6  |  5   4   3  |  2   1   0  |
    +----+--------------+-------------+-------------+-------------+-------------+
    | p  |   color R    |    color    |    color    |    color    |   color L   |
    +----+--------------+-------------+-------------+-------------+-------------+
    
     p = paritätsbit
    
    • Server: (Response)
    |  7   6 |   5   4   3  |  2   1   0 |
    +--------+--------------+------------+
    | status | number white | number red |
    +--------+--------------+------------+
    
    status (7) = Spiel ist zuende (35. Runde)
    status (6) = Paritätsbit ist falsch
    

Beispiel 2 - Dsort

Programm welches sich wie folgendes Bash Skript verhält:

#!/bin/bash
( $1; $2 ) | sort | uniq -d

Beispiel 3 - Banking

  • Server / Client per Shared Memory
  • Server liest aus CSV Daten aus

Bonus Beispiel (Linux Kernel Module)

  • Secure Vault (verschlüsselt Daten mittels XOR)
  • Userspace utility welches mit Kernel Module kommuniziert
    • ioctl per /dev/sv_ctl
    • data devices /dev/sv_data[0-3] lesen / schreiben der Daten

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.