How To Exam?

a knowledge trading engine...


University of Delhi 2010-4th Sem M.C.A 2nd yr NETWORK PROGRAMMING UNIVERSITY - Question Paper

Tuesday, 21 May 2013 04:35Web



6137    Your Roll No.......

MCA/IV Sem.

6137    Your Roll No.......

J

Paper MCA - 404 - NETWORK PROGRAMMING (Admissions of 2007 and onwards)

Time 3 hours    Maximum Marks 60

(Write your Roil No on the top immediately on receipt of this question paper)

All questions are compulsory.

1    a) What is a concurrent server 9 How is multi-threaded

concurrent server better than multi-process concurrent server9    05

b) Suppose, you are having a corporate LAN where you are alloted only one Internet IP address but there are 100 Personal computers in your LAN What is the mechansim by which all computers of your LAN can access the Internet ? Explain.    05

2    a) WTiat is telnet9 How is the I/O redirection done m the

telnet9    05

b) You want to telnet from a computer running under the unix command line interface to a remote machine which is running under window's Graphical User Interface Is it feasible in telnet9 How?    05

3    a) Suppose, you have written a distributed computation

program, where some of the functions you have used

are available in the remote server. By what operating systems mechanism, your program will run ? Explain

05

b) You are having a LAN and you want to enforce the following

(t) None of the computers in your LAN should access any of the notonous sites as decided by you

(ii) None of the computers of the notonous sites would access any of the computers of your LAN How would you implement it9    05

4    a) Suppose, you are executing a program from your

personal computer which is trying to read a file which is kept in the remote server Is their any mechanism by which this is made feasible 9 Explain it briefly. 05

b) What is Java virtual machine ? How does Java virtual machine make programs portable across the Internet9    05

5    a) What are the purposes of the following address

structrues 9

(i)    sock addr,

(ii)    sock addr jn

Define the above two address structures and explam the above    05

b) Briefly explain the purpose of the following system calls in socket programming05 x 1 = 05

0) met-addr( )

00 htonl (IN ADDR - ANY)

. (in) connect ( )

(iv)    bind ( )

(v)    fork( )

6 Write a connection - oriented, concurrent client and server program in C with the following specifications -(1) Client sends the authentication message with user_id and password to the server and the server replies the success or failure of authentication to the client

(u) After successful authentication, client asks the server-" How many client requests you have so far processed7 and the server answers - T have processed n number of clients till now'\ wheie n is the actual number of clients, the server has so far processed.    10

100







Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER University of Delhi 2010-4th Sem M.C.A 2nd yr NETWORK PROGRAMMING UNIVERSITY - Question Paper