0% found this document useful (1 vote)
105 views2 pages

School of Computer Science and Engineering (SCOPE) : List of Experiments Assessment No. Topic Experiments Due Date

This document contains a list of 18 experiments related to operating systems for the CSE2005 course. The experiments cover topics like shell programming, system calls, processes and threads. Some example experiments are writing shell scripts to perform tasks like swapping numbers, printing patterns using loops, and finding Fibonacci numbers. Other experiments involve writing C programs that demonstrate concepts like killing processes, creating parent-child processes, using pipes for IPC and checking prime numbers using threads. The due date for the first set of experiments on shell programming is August 30, 2020.
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 (1 vote)
105 views2 pages

School of Computer Science and Engineering (SCOPE) : List of Experiments Assessment No. Topic Experiments Due Date

This document contains a list of 18 experiments related to operating systems for the CSE2005 course. The experiments cover topics like shell programming, system calls, processes and threads. Some example experiments are writing shell scripts to perform tasks like swapping numbers, printing patterns using loops, and finding Fibonacci numbers. Other experiments involve writing C programs that demonstrate concepts like killing processes, creating parent-child processes, using pipes for IPC and checking prime numbers using threads. The due date for the first set of experiments on shell programming is August 30, 2020.
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

School of Computer Science and Engineering (SCOPE)

Fall Semester – 2020-21


CSE2005 – Operating Systems
Embedded Lab Component
List of Experiments

Assessment Topic Experiments Due Date


No.
1 Shell 1. Study of basic Linux commands. 30-08-2020
Programming 2. Write a shell script to swap two numbers without using 3rd variable.
3. Write a shell script using while loop to print the structure.
10
210
3210
43210
543210
6543210
76543210
876543210
9876543210

4. Write a shell script to find the sum of first ‘N’ numbers in Fibonacci series (use for loop)
5. Write a shell script to print a given number in reverse order and sum of the individual digits.
6. Write a shell script to read two strings and display whether it is equal, not equal, null strings or string with
special characters.
7. Write a shell script to accept one integer argument and print its multiplication table.
8. Write a Shell Script that makes use of grep to isolate the line in /etc/passwd that contains your login details.
9. Write a shell script to display all files in the /home/YourLoginName subdirectory as well as display the type
of all files.
10. Using shell script, display the contents of the present working directory. If it is an ordinary file print its
permission and change the permissions to r--r--r-- .
11. Use find, grep and sort to display a sorted list of all files in the /home/YourLoginName subdirectory that
contains the word “hello” somewhere inside them.
System Calls 12. Write a C program to kill a process by specifying its name rather than its PID. 30-08-2020
13. Create a file with few lines, Write a C program to read the file and delete the spaces more than one in the
file (use UNIX file API’s).
14. Write a program
a. To create parent & child process and print their id
b. To create a zombie process.
c. To create orphan process.

15. Write a program


a. To make the process to sleep for few seconds.
b. To create a background process.

16. Implement the program to pass messages using pipes.


17. Write a program to demonstrate the implementation of Inter Process Communication (IPC) using shared
memory.
18. Write a program to create a thread and let the thread check whether the given number is prime or not.

You might also like