Giter Site home page Giter Site logo

cs344's Introduction

cs344

Intro to Operating Systems. Bash scripting, C, File I/O, Processes.

Assignment 1

Summary: A BASH script that calculates row or column statistics on data passed into it either by a file or a stream or manually.

Assignment 2

Summary: Build a game text-based game in C that generates rooms and randomly connects them designating one as a start room and one as an end room. You then proceed to go from room to room until you find the end room and win. This project also deals with file I/O. Rooms are written to the disk as separate files and then read back into the program and parsed.

Assignment 3

Summary: A linux shell that interprets commands. Integrated commands include exit, cd(to change the working directory), and status(to show the exit status of the last command). Other commands get interpreted according to the following syntax:

command [arg1 arg2 ...] [< input_file] [> output_file] [&]

IO gets redirected if need be, then a new process gets exec'd with the parameters passed. If the "&" is included the process gets pushed to the background.

Assignment 4

Summary: An implementation of One Time Pad encryption. keygen generates a random key of specified length from 27 characters(A-Z and Space). Then otp_enc_d sever is launched in the background and creates a socket and listens on a provided port. otp_enc client then connects, gets pushed off to a new port in a new process by otp_enc_d to keep the server open for more connections. otp_enc then transmits the keyfile and plaintext to otp_enc_d to get encoded and gets back cyphertext. otp_dec_d and otp_dec are the reverse but function pretty much the same.

Assignment 5

Summary: Writes files, generates random letters within a range, does math. The point was to see if we could pick up the basics of a new language without any instruction. The language being Python.

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.