Professional Documents
Culture Documents
MC1642 - UNIX Internals 37. State the use of System function. 38. How is process accounting done in UNIX? 39. How is user identification done in UNIX? 40. What are process groups and sessions? 41. What is job control? 42. What are signals? 43. What are signal handlers? 44. What happens to interrupted system calls ? 45. What is the use of kill and raise functions ? 46. What are alarm and pause fuinctions ? 47. What are the uses of abort and sleep function? 48. What are the limitations of pipes 49. Compare pipes with other methods of interprocess communication 50. What are mutexes ? Give its role in interprocess communication. 51. What are daemon processes? How are they started? 52. What is the problem with system V IPC? 53. What is the use of popen() and pclose() functions? How is it different from pipes() functions? 54. What are iterative and concurrent servers? 55. What are the different ways for synchronization? 56. What are the differences between advisory and mandatory locking 57. What is a binary semaphore? 58. Draw a block diagram to explain the movement of data between the client and server using shared memory . 59. What is use of ICMP packet ? 60. What is the use of ping command ? 61. What is meant of port? 62. What is I/O multiplexing 63. What are the steps in creating a raw socket? 64. State any generic socket options 65. Define socket. How to use trace route for networking programming 66. What are the functions of echo server ? 67. What are the features of raw sockets 68. A ping program has a d flag to enable SO_debug socket option. What does this do ? 69. Give the syntax of accept system call 70. How to check availability of a host in a network? 71. What ICMP messages are used by traceroute tool? What is the use of REUSEADDR socket option? 72. What system call is used by a server to indicate that it is willing to receive the connections
D Sophia Solomon
Page 2
MC1642 - UNIX Internals 2. What are the data structures used for File sharing in UNIX? Explain with a neat diagram 3. Briefly write notes on the various types of files in UNIX. 4. Write short notes on file access permission and its effect on files and directories. 5. With neat diagram explain the file system of UNIX. 6. What the function used to create, modify and red directories? 7. Briefly explain the Standard I/O Library functions. 8. How is data protected in UNIX? Illustrate chmod and chown with examples 9. Give the memory layout of C program. 10. Discuss the set of stated a process undergoes during its lifetime 11. Illustrate any 3 situations where the kernel saves the context of a process. 12. Write short notes on the following functions a. Wait() b. Waitpid() c. Wait3() d. Wait4() 13. Give the prototype and explain the various exec functions. 14. Explain the processes involved in terminal and network login in SVR4 15. write short notes on a. create signal sets b. add and delete contents from signalset c. sigprocmask() d. sigpending() e. sigaction() f. sigsuspend() 16. Write a simple program to explain pipes and fifos. 17. What are Read-Write locks? 18. Discuss all SV IPC system calls and its structure . 19. Explain how the multiple process multiplex message onto a single queue with an example client server program . 20. How can you achieve record locking? Explain with example. 21. Explain the basic thread functions. 22. Write short notes on mutexes and condition variables 23. How will you create and remove message queues? Explain with an example the interprocess communication using message queues. 24. List and Exaplin similar features of System V IPC 25. Give the format of the structure assigned for the shred memory segment . Explain he functions required to access the shred memory. 26. What feature is missing in POSIX message queues? 27. How does POSIX version of shared memory differ from that is System V
D Sophia Solomon
Page 3