UNIX SIMP Questions-The TIE Review Team: Module-5 (Easiest Module, Start First)
UNIX SIMP Questions-The TIE Review Team: Module-5 (Easiest Module, Start First)
1. What are signals? Mention different sources for signals? Write a program to set up signal
Handlers-SIGINIIT and SIGALR,
2. Explain Kill() API and alarm() API
3. Write a short note on (i)Interval timers (ii)POSIX.lb Timers (iii)SIGCHILD signal
4. What are the daemon process? Enlist their characteristics and coding rules? also, write a
program to transform a normal user process into a daemon process
5. Explain the Client-server model in Daemon processes? Explain error logging in detail
6. Explain Sigsetjmp and Siglongjmp functions with an example
1. Describe general UNIX file APIs with syntax and explain each field in detail (10M)
2. With a neat diagram, explain the memory layout of the C program, explain the different
functions used for memory allocation (10M)
3. Explain the following briefly (10M)
(i)fork,vfork and exit (ii)wait,waitpid.wait3,wait4 functions
4. Write a short note on (10M)
(i)Device and FIFO file APIs (ii)Symbolic link file APIs
5. Explain the Unix kernel support for process considering parent-child process, show the
related data structures (10M)
6. Differentiate between the following (10M)
(i)Setjmp and longjmp (ii)getrlimit and setrlimit
7. Explain in brief (10M)
(i)Process creation (ii)Process termination (iii)Race condition and polling
Module-2(Brainfreezer-Easy but needs a lot of revision)
1. With suitable examples, explain the LS command with all the options
2. What do you mean by Changing file permissions, Explain the Absolute and relative
permissions changing method?
2b. File current permissions are rw_r_xr_ _ specify chmod expression required to change for the
following using relative and absolute changing method:
3. With suitable examples, explain the grep command with all the options
4. Write a short note on Wild cards
5. Explain three standard files supported by UNIX
6. Differentiate between
(i)if and while control statements (ii)Escaping and quoting
7. What is a shell? Write a shell program to create a simple calculator
Module-1(Do it after m5,4,3,2, easier than Mod 3 but best for understanding when done
after mod 3)
1. Explain with a neat diagram the architecture of the UNIX operating system
2. Differentiate between
(i) Internal and external commands (ii)Absolute and relative pathnames
3. Explain the salient features of UNIX OS
4. Explain the following UNIX Commands
(i)Echo/printf (ii)ls (iii)who (iv)passwd (v)date (vi)cal
5. What is a parent-child relationship, explain UNIX fs with a diagram
6. Explain different file-related commands(cat, mv, rm, cp, wc and od) in UNIX
7. Explain basic file categories and file types in UNIX
8. Explain different Directory commands (pwd, cd, mkdir, rmdir commands. The dot (.) and
double dots (..))