Skip to content

Latest commit

 

History

History

Operating_Systems_CSE_2005

Operating Systems - CSE2005

Setup

These labs require the use of a linux machine, but dont worry if you use any other operating systems. The programs can be executed in any environments directly, but the procedure for this would slightly differ based on the operating system and are not being disscussed here.

In case you do not have a linux environment, I would suggest the use of a Virtual Machine to run your linux environment. As I have used this as well, I will mention the procedure to use this for the following labs.

The setup procedure consists of installing the Oracle Virtual Box, and then running a Ubuntu Virtual Machine inside. This being said, you can use any linux distros instead of Ubuntu. You can use this article from wikihow for the installation process. You will also require the NASM compiler for certain labs, so ensure that this is installed and set up.

Also feel free to follow any other tutorial if you find it simpler, and if you do find any add them here for others to use.

I would suggest the use of any code editors like VS Code or Sublime for programming, as they provide syntax highlighting and have intellisense features which simplify your coding process.

List of Programs

In this lab, we explore a few basic linux terminal commands just to get comfortable with the new operating system.

In this lab, we use the assembly language to create an image to print a character to the screen.

S.no Title
1 Name Display
2 Infinite Loops
S.no Title
1 Message From Threads
2 Thread ID's
S.no Title
1 Thread Data
2 Functions for Threads
3 Semaphores
4 Multitasking
S.no Title
1 Kernel Threads Workflow
2 Kernel Data
3 Kernel Thread Function
S.no Title
1 Producer Consumer
2 Dining Philosopher
3 Reader Writer
S.no Title
1 Scheduling Algorithms
S.no Title
1 Deadlock Identification
S.no Title
1 Dynamic Memory Allocation Strategies
S.no Title
1 Forks
2 Sorting
3 Zombie and Orphan Processes
S.no Title
1 Process Creation Kernel Module