Sunteți pe pagina 1din 3

-- cs,o1utT-022 Printed Pages: 3

E PaperlD and Roll No. to be filled in your Answer Book


-
-
E

--
Roll No. o b _t D o I o 3 o o l_
- B. Tech.
--
- ( s EM.V i l ) (OD DS E M.)E X AMTNATTON,
2009- 10
-
- N E T WOR P
K R OGR A MMING & ADM INISTRATION
-
-
-- (E L E C T TVE
- t)
T i m e: 3 Hoursl [TotalMarks: 100

Note : Attemptall questions

Attempt any two : 2xl0=20


(a) . Why do somesystemskeeptrack of the type
of a file, while othersleaveit to the userand
otherssimplydo not implementmultiplefile
types?Which systemis "better"?
(b) Discusshow performance optimizations for file
systemsmightresultin difficultiesin maintaining
of the systemsin the eventof
the consistency
computercrashes.
(c) Explain multitasking in detail. In what
' is the system-call
circumstances fork ( )
sequence
execO most appropriate?

EE-10831 lContd...
Attempt any two : 2xt0=20

for thewriter of a pipe


(a). Why is a signalgenerated
or FIFO afterthe readerdisappears,
but not for
the readerof a pipe or FIFO after its writer
disappears?
(b) What happensif a maliciousclient sendsmany
to the serverbut neverreadsany of
messages
the serversreplies?Write a codefor this type
of client.
(c). Comparethe timingof namedsemaphores
with
memorybasedsemaphores.

Attempt any two : 2xl0:20

(a) Why must value-resultargumentssuchas the


lengh of a socketaddressstructurebe passed
by reference?
(b) Why would an applicationcall shutdownwith
an argumentof SHUT-RDWRinsteadof just
callingclose?What happenswhen the client
sendsan RST to terminatethe connection?

(c) Why can a serverget away with not tracking


it hasopen?Is thereanydanger
theassociations
is not trackingassociations?

EE-1083l IContd...
Attempt any two . 2x10=20
(a) When the systemgoes into multiusermode the
port mapper is started?The executablename
is typically portmap or rpc bind.

(b) , tne XDR string datatypeis alwaysencodedas


a length followed by the characters.What
changesif we want a fixed-length string and
write, say,char c[10] insteadof string S<10>?

(c) Ifthe only characteristicofa serverthreadthat


we want to change is to enable cancellation

Attempt any two '. 2x10=20


(a), Write a note on'connectionless
protocols.

(b) Write a note on classical problerns of


synchronization.

(c) , Write a code for concurrent servers.

EE-l0831 t1801

S-ar putea să vă placă și