The codes of all the Assignments I wrote for Operating Systems Course During 3rd Semester of my undergrad at IIIT Hyderabad.
Tasks in Assignment 1 :-.
- Create a C program to read a file and create another file which has the reverse order of input file and inverted cases inside a folder named Assignment access able only by user not group or others.
- Do use only system calls for reading and writing to the file and terminal.
- Create a Symlink to the Directory Assignment.
- Check the permissions of the reversed file and Assignment Directory.
This is a Shell made in C in Operating Systems Assignment2,
I have named this shell WonderShell (coughs Not related to wonder women) pls dont fork it Untill I do my assignemnt complete or I will be penalized
Describtion of Task2
- Implement a shell which supports semi-colon separated list of commands.
- shell support of the ‘&’ operator which lets a program to run in the background after printing the process id
of the newly created process.
- The directory from which the shell is invoked will be the home directory of the shell
and should be indicated by “~". If the user executes "cd" i.e change dir, then the
corresponding change must be reflected in the shell as well.
- Builtin commands are contained within the shell itself.implement cd, pwd, clear, ls and echo.
- Shell execute system commands either in the background or in the foreground.
- pinfo : prints the process related info of shell program.
- If the background process exits then the shell displays the appropriate message to the user.
- reminder command ‘remindme’ which reminds you with a custom message after the given number of seconds elapse.
- A ‘clock’ command which displays dynamic date and time in your shell.
This is not an shell Exercise, Rather it's an Assignment on Shell Synchronisation.Here are three Questions.
- The Badmintion Court Problem,
There are some rules that the threads needs to follow in order to have th eporper understanding of threads. Here each person is a thread and then there are rules governing the execution of the porgram. - The EVM problem.
- Merge Sort using Threads.