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

UNIX SIMP Questions-The TIE Review Team: Module-5 (Easiest Module, Start First)

This document outlines seven modules of questions for a UNIX SIMP exam. Module 1 covers basic UNIX commands and file system concepts. Module 2 focuses on file permissions and regular expressions. Module 3 involves APIs for memory allocation, IPC, and process operations. Module 4 explores IPC methods like pipes, message queues, and client-server programming. Module 5 is described as the easiest and involves signals, timers, and daemon processes. The last two modules involve more advanced topics like inter-process communication and kernel operations.

Uploaded by

Nanditha O
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)
158 views2 pages

UNIX SIMP Questions-The TIE Review Team: Module-5 (Easiest Module, Start First)

This document outlines seven modules of questions for a UNIX SIMP exam. Module 1 covers basic UNIX commands and file system concepts. Module 2 focuses on file permissions and regular expressions. Module 3 involves APIs for memory allocation, IPC, and process operations. Module 4 explores IPC methods like pipes, message queues, and client-server programming. Module 5 is described as the easiest and involves signals, timers, and daemon processes. The last two modules involve more advanced topics like inter-process communication and kernel operations.

Uploaded by

Nanditha O
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

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

Module-4(start second-not so difficult)

1. Explain the following with example wrt IPC Method -20M


(i)Pipes-With a program to send data from parent to child
(ii)popen,pclose functions (iii)FIFOs (iv)Semaphores (v)Message queue
2. Write a short note on System V IPC
3. Explain the following in detail
(i)Client-server Interaction using FIFO (ii)Steam Pipes & different ways to view them
4. Explain setuid and setgid functions, Explain the ways to change user ids
5. Explain the following
(i)Interpreter files (ii)process accounting (iii)User identification

Module-3(This module kinda sucsk, do it after m4 and m5)

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 (..))

You might also like