Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
21 views2 pages

Answers Elab

The document outlines a series of programming assignments focused on operating systems and Linux. Tasks include installing operating systems, executing shell commands, and writing C programs for various synchronization and process management problems. Additional assignments cover IPC mechanisms, process creation, and file permissions in Linux.

Uploaded by

Ankita Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

Answers Elab

The document outlines a series of programming assignments focused on operating systems and Linux. Tasks include installing operating systems, executing shell commands, and writing C programs for various synchronization and process management problems. Additional assignments cover IPC mechanisms, process creation, and file permissions in Linux.

Uploaded by

Ankita Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment Title of Program

No

1 Installing Windows/Linux in Virtual Machine/Workstation.

Study about booting process of Linux.

2 Try out with Linux simple and advance commands.

3 Write programs using shell scripting covering data types,


conditional, and looping and decision statements.

4 Write a program in C to implement round robin scheduling.

5 Write a program in C to implement reader-writer problem


using monitors. (pthread)

6 Write a program in C to implement dinning philosopher’s


problem using semaphore.

7 Create process using fork () system call and use getpid (),
getppid () functions along with wait () and exit () using C
programming.

8 Write a program in C to implement shared memory using IPC.

9 Write a program in C to implement message queue using IPC.

10 Write program to implement unidirectional pipe under IPC


using C programming.

11 To understand the overlay concepts and practice how to


overlay the current process to new process in Linux using C.

12 Implement the C program in which the child process


calculates the sum of odd numbers and the parent process
calculate the sum of even numbers up to the number ‘n’.

13 Implement the C program in which main program accepts the


integers to be sorted Main program uses the fork system call
to create a new process called a child process. Parent process
sorts the integers using insertion sort and waits for child
process using wait system call to sort the integers using
selection sort.

14 To perform shell code analysis under Linux operating system.

15 To perform read, write and execute permissions on files in


Linux. To analyze binary files on Linux using commands and
tools.

You might also like