Laboratory Assignments of Operating Systems
Asignment 1 (Shell Programming):
-
Write a shell script to print the Full name, user-name and user-ids of
the currently logged in users. The output format may be like -
1 Utpal Sharma, utpal, 501
2 Bhabesh Nath, bnath, 503
-
Using shell programming, implement a feature such that when you log into
your account, a "Good Morning", "Good Afternoon" or "Good Evening" is
printed on the terminal depending on the system's clock-time.
[To be completed in 1 week]
Asignment 2 (Memory Management):
Write a program that simulates process creation requests in a computer
and observe the fragmentation due to different memory partitioning
methods and allocation strategies (first-fit, best-fit, next-fit,
worst-fit).
The process creation requests simulator should create processes of random
durations and sizes, and there should be to provision to view the
fragmentation at different instances.
[To be completed in 2 weeks]