Bit4205 Network Programming Eve Supp
Bit4205 Network Programming Eve Supp
(f) With the help syntax code, explain two basic operations of message passing.
(4 Marks)
Question 2 (20 Marks)
(a) Using example describe the components of typical UNIX shell session.
(6 Marks)
(b) Using examples differentiate between library and system calls. (4 Marks)
(b) Write the syntax for the following file system calls, explaining its elements.
i. write( ) (3 Marks)
ii. seek( ) (3 Marks)
iii. read( ) (3 Marks)
(d) What is the system call used to detach a process from the shared memory
segment once it no longer
(b) Using diagram, explain the structure of remote based IPC system.
(6 Marks)
(c) Discuss three types of socket interfaces offered by message passing systems:
(6 Marks)
(b) Write the system call syntax for creating a new thread. Explain its arguments.
(6 Marks)
(c) Using examples, discuss three categories of interrupts. (6 Marks)