Get premium membership and access revision papers, questions with answers as well as video lessons.

Network Programming Question Paper

Network Programming 

Course:Bachelor Of Science In Information Technology

Institution: Masinde Muliro University Of Science And Technology question papers

Exam Year:2011



EXAMINATION FOR THE DEGREE OF BACHELOR OF
SCIENCE IN INFORMATION TECHNOLOGY
BIT 3105 NETWORK PROGRAMMING
DATE: DECEMBER2011 TIME: 2 HOURS
INSTRUCTIONS: Answer Question One and Any Other Two Questions
Question One Compulsory (30 Marks)
a) Briefly describe the following terminologies used in Network Programming
i. TCP/IP (2 Marks)
ii. socket programming (2 Marks)
iii. Domain Name System (DNS) (2 Marks)
iv. Broadcast address (2 Marks)
v. Attenuation (2 Marks)
b) How can a company for large or extremely large networks manage its network through
subnetting (6 Marks)
c) What do the following system call functions do: (6 Marks)
i. Wait()
ii. fork()
iii. Waitpid()
d) Explain the advantages of using Out-of-Band Data in a TCP data stream. (4 Marks)
e) Explain Remote Procedure Call program components (4 Marks)
Question Two (20 Marks)
a) Explain, with an aid of a diagram, the function of external data representation protocol (XDR)
(5 Marks)
b) Explain the characteristic Specific to the XDR protocol. (5 Marks)
c) Give an example of an implementation of a XDR Stream. (5 Marks)
d) Explain the function of RPCGEN. (2 Marks)
e) What is defined in the Protocol Definition File? (3 Marks)
Question Three (20 Marks)
a) Explain the following ISO forms of transparencies as used in Network programming:
i. Access (2 Marks)
ii. Concurrency (2 Marks)
iii. Relocation (2 Marks)
b) Explain any six (6) Middleware Attributes? (6 Marks)
c) Explain the functional interfaces that middleware uses in the normal delivery of the service:
(5 Marks)
d) Explain what is Middleware (3 Marks)
Question Four (20 Marks)
a) Describe briefly functions needed when defining an API (6 Marks)
b) With an aid of a diagram, explain how TCP connection is achieved using an API (7 Marks)
c) How is IPv4 Address Conversion achieved in network programming? (2 Marks)
d) When creating a socket using the command SOCKET socket (int family, int type, int
protocol);. , what is the function of family, type and protocol in this command (5 Marks)
Question Five (20 Marks)
a) “For multiple concurrent clients in a network, it is recommended that you use the asynchronous
I/O socket APIs. These APIs provide the best performance in networks that have multiple
concurrent clients.…”.
i) Explain the four (4) ways one can design Concurrent server (4 Marks)
ii) Briefly explain the problem with zombies when you use fork() in concurrent server design
(4 Marks)
iii) Explain how you can handle zombies (7 Marks)
b) List five (5) factors that affect server design (5 Marks)






More Question Papers


Popular Exams



Return to Question Papers