Skip to content

This repository contains labs, assignments, and projects for the Sistemas Operativos I (CI-3825) course at Simon Bolivar University.

License

Notifications You must be signed in to change notification settings

lmisea/os-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sistemas Operativos I (CI-3825)

Made with Love

This repository contains labs, assignments, and projects for the Sistemas Operativos I (CI-3825) course at Simon Bolivar University. All the code in this repository is written in C.

Folder structure

The repository is structured as follows:

  • Every week, a new lab is added as labx, where x is the number of the week.

  • Inside each labx folder, there are up to four folders:

    • assign: Contains the code for the assignment of the lab. It is optional, because not every lab has an assignment. It only contains .c and .h files and is compiled with the lab Makefile. Meaning that the executables for the assignment are generated in the bin folder of the lab.

    • bin: Contains the executables generated after compiling the code.

    • build: Contains the object files generated after compiling the code.

    • src: Contains the source code for the lab.

      Additionally, there is a Makefile at the root of the lab folder, which is used to compile all the code.

  • There are also three folders for the projects:

    • project0: Contains the code for the first project.

    • project1: Contains the code for the second project.

    • project2: Contains the code for the third project.

      The projects are structured in the same way as the labs with a bin, build, and src folder. At the root of the project folder there is a Makefile, a .pdf file with the project statement and the README.md file

Tree-like folder structure

  .
  ├── labx
  │ ├── assign (optional)
  │ │ ├── .c files
  │ │ └── .h files
  │ ├── bin
  │ │ └─ .out files (executables)
  │ ├── build
  │ │ └─ .o files (object files)
  │ ├── src
  │ │ ├── .c files
  │ │ └── .h files
  │ └── Makefile
  ├── projectx
  │ ├── bin
  │ │ └─ run.out (executable)
  │ ├── build
  │ │ └─ .o files (object files)
  │ ├── src
  │ │ ├── .c files
  │ │ └── .h files
  │ └── Makefile
  ├── LICENSE
  └── README.md

Compiling and running

Every lab and project has a Makefile that can be used to compile the code. To compile the code, run the following command:

make

This will generate all the executables for the lab or project into the bin folder. And also, it will generate the build folder, which contains all the object files generated during the compilation process.

Running the executables

All the executables are stored in the bin folder and have the .out extension. To run an executable, run the following command:

./bin/executable.out

Replace executable with the name of the executable you want to run.

Cleaning all the generated files

To clean all the generated files, run the following command:

make clean

Laboratory group

About

This repository contains labs, assignments, and projects for the Sistemas Operativos I (CI-3825) course at Simon Bolivar University.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published