TY (IT) Unix Operating System: Probable Assignment List For External Practical Exam
TY (IT) Unix Operating System: Probable Assignment List For External Practical Exam
1. Write a program to use fork system call to create 5 child processes and assign 5 operations to
childs.
2. Write a program to use vfork system call(login name by child and password by parent)
3. Write a program to open any application using fork sysem call.
4. Write a program to use alarm and signal sytem call(check i/p from user within time)
5. Write a program for alarm clock using alarm and signal system call.
6. Write a program to give statistics of a given file using stat system call.
7. Write a program to give statistics of a given file using fstat system call.
8. Write a program to convert pathname to Inode using stat system call
9. Write a program to convert pathname to Inode using ‘ls’ command.
10. Write a multithreaded program in JAVA for chatting.
11. Write a program to create 3 threads, first thread printing even no, second thread printing odd
no. and third thread printing prime no.
12. Write a multithread program in linux to use the pthread library.
13. Write a multithreaded program for producer-consumer problem in JAVA.
14. Write a program to implement shell script for calculator.
15. Write a program to implement digital clock using shell script.
16. Write a programto check whether system is in network or not using ’ping’ command using shell
script.
17. Write a program to sort 10 the given 10 numbers in ascending order using shell.
18. Write a program to print “Hello World” message in bold, blink effect, and in differentcolors like
red,blue etc.
19. Write a shell script to find whther given file exist or not.
20. Write a shell script to show the disk partitions and their size and disk usage i.e free spcae.
21. Write a shell script to find the given file in the system using find or locate command.
22. Write a shell script to download wepage at given url using command(wget)
23. Write a shell script to download a webpage from given URL . (Using wget command).
24. Write a shell script to display the users on the system . (Using finger or who command).
25. Write a shell script to download a given file from ftp://10.10.13.16 if it exists on ftp.
(use lftp, get and mget commands).
26. Write program to implement producer consumer problem using semaphore.h in C/JAVA
29. Write a program to demonstrate IPC using shared memory (shmget, shmat, shmdt). In
this, one process will take numbers as input from user and another process will sort the
numbers.
30. Write a program in which different processes will perform different operation on shared
memory. ( using shmget, shmat, shmdt).
31. Write programs to simulate linux commands cat, ls, cp, mv, head etc.
32. Write a program to ensure that function f1 should executed before executing function f2
using semaphore. (Ex. Program should ask for username before entering password).
33. Write a program using OpenMP library to parallelize the for loop in sequential program
of finding prime numbers in given range.
34. Using OpemnMP library write a program in which master thread count the total no. of
threads created, and others will print their thread numbers.
35. Implement the program for IPC using MPI library (“Hello world” program).
A.J.Umbarkar