www.QuestionPaperDownload.com

Code.No: 07A7EC19

R07

SET-1

IV B.TECH – I SEM EXAMINATIONS, NOVEMBER - 2010 NETWORK PROGRAMMING (COMMON TO CSE, IT) Max.Marks:80 Time: 3hours Answer any FIVE questions All questions carry equal marks --1. a) b) 2. a) b) 3. a)

With the help of a neat sketch explain the steps and buffers involved when an application writes to a TCP socket. Summarize the protocol usage of any 4 common Internet applications. [8+8] What is the purpose of fork function? Give the syntax and explain with a program. Make a comparison between the iterative server and concurrent server. [8+8]

b)

What is a signal? What are the three choices for signal disposition? Explain each one in detail. Explain the normal start up of TCP client and server. [8+8]

4. a) b)

What are the four different purposes served by SO_REUSEADDR option? Enumerate on POSIX signal Handling. [8+8]

5.

6.

Explain the UDP client-server application for echoing the text given by the user. [16] Explain the following functions: a) gethostbyname b)

uname.

[8+8]

7. a) b)

Draw the message queue structure in kernel and explain. What is a semaphore? Explain how locking can be achieved with semaphores. [8+8]

8. a) b)

With a neat diagram explain the RPC execution. Describe the numerous versions of line discipline modules.

*****

www.QuestionPaperDownload.com

[8+8]

www.QuestionPaperDownload.com

Code.No: 07A7EC19

R07

SET-2

IV B.TECH – I SEM EXAMINATIONS, NOVEMBER - 2010 NETWORK PROGRAMMING (COMMON TO CSE, IT) Max.Marks:80 Time: 3hours Answer any FIVE questions All questions carry equal marks --1. a) b)

Compare UDP with TCP protocols. What are the limitations on the size of the IP datagram? Also explain how they affect the data transmitted by an application. [8+8]

2. a) b)

Give the IPv4 socket address structure and explain the significance of each field. Explain how multiple clients are handled by a concurrent server. [8+8]

3. a) b)

Briefly describe Posix Signal Semantics. Explain what happens when the server host crashes?

4. a)

Explain the purpose and syntax of select system call. What conditions cause select to return “ready” for sockets? Explain the following Generic Socket Options: SO_DONTROUTE ii) SO_ERROR. [8+8]

b) i)

[8+8]

5. a) b)

Write the function to echo lines on a datagram socket and explain. Discuss the effect of UDP not having any flow control.

6. a)

What are the four types of network-related information that an application might want to look up? Also mention the keyed lookup functions provided by them. Explain the role of a resolver with a neat diagram that depicts the typical arrangement of applications, resolvers and name servers. [8+8]

b)

[8+8]

7. a) b)

What is a pipe? Explain with an example how IPC is done using pipes. How are FIFOs different from Pipes?

8. a)

Show a picture of all the processes involved in the 4.3BSD remote login client and server side and explain. “4.3BSD considers a terminal device in one of three modes.” Explain them. [8+8]

b)

*****

www.QuestionPaperDownload.com

[8+8]

www.QuestionPaperDownload.com

Code.No: 07A7EC19

R07

SET-3

IV B.TECH – I SEM EXAMINATIONS, NOVEMBER - 2010 NETWORK PROGRAMMING (COMMON TO CSE, IT) Max.Marks:80 Time: 3hours Answer any FIVE questions All questions carry equal marks --1. a) b) 2. a) b) 3.

With the help of a state transition diagram explain the operation of TCP with regard to connection establishment and connection termination. Give a note on UNIX POSIX standards. [10+6] Give the IPv4 socket address structure and explain the significance of each field. Explain how multiple clients are handled by a concurrent server. [8+8] Write the programs for TCP echo server and TCP echo client and explain. [16]

4. a) b)

Make a comparison of the five different I/O models in UNIX. What socket options are processed by IPv6 with a level of IPPROTO_IPv6? Explain. [8+8]

5.

Write the programs for UDP echo server and UDP echo client and explain. [16]

6. a) b)

Explain the types of Resource Records. With an example explain the use of uname function.

7. a) b)

What are the rules a FIFO should follow for reading and writing? Explain how semaphores are used to synchronize the access to the shared memory segments. [4+12]

8.

Discuss in detail the issues to be considered to make the use of RPC transparent to the applications. [16]

*****

www.QuestionPaperDownload.com

[8+8]

www.QuestionPaperDownload.com

Code.No: 07A7EC19

R07

SET-4

IV B.TECH – I SEM EXAMINATIONS, NOVEMBER - 2010 NETWORK PROGRAMMING (COMMON TO CSE, IT) Max.Marks:80 Time: 3hours Answer any FIVE questions All questions carry equal marks --1. a) b)

Draw the OSI seven layered model along with the approximate mapping to the Internet protocol suite. Also explain the functions offered by each layer. Explain how TCP connection is established using Three-way handshake protocol. [8+8]

2.

Write the syntax and explain each of the following socket functions: a) connect b) listen c) accept d) bind. [4+4+4+4]

3. a)

Write the client processing loop that read a line of text from standard input, write it to the server, read back the server’s echo of the line, and output the echoed line to standard output. Explain the steps involved in normal termination of TCP client and server. [8+8]

b) 4. a) b)

Make a comparison of the five different I/O models in UNIX. What socket options are processed by IPv6 with a level of IPPROTO_IPv6? Explain. [8+8]

5. a) b)

Give the IPv4 socket address structure and explain the significance of each field. Explain how multiple clients are handled by a concurrent server. [8+8]

6. a) b)

Explain the purpose of RES_USE_INET6 Resolver option. Discuss the use of gethostbyname function with an example.

[8+8]

7.

Discuss at length System V IPC.

[16]

8. a) b)

What are the functions done by a terminal line discipline module? Give a note on Pseudo-Terminals.

[8+8]

*****

www.QuestionPaperDownload.com

B Tech 4-1 R07 NP-CSE Question paper.pdf

... clients are handled by a concurrent server. [8+8]. 3. a) Briefly describe Posix Signal Semantics. b) Explain what happens when the server host crashes? [8+8].

345KB Sizes 0 Downloads 68 Views

Recommend Documents

B Tech 2-1 R07 EEE Question Paper.pdf
QuestionPaperDownload.com www.QuestionPaperDownload.com. Page 3 of 8. B Tech 2-1 R07 EEE Question Paper.pdf. B Tech 2-1 R07 EEE Question Paper.

B Tech 2-1 R07 PDC Question Paper.pdf
www.QuestionPaperDownload.com www.QuestionPaperDownload.com. Page 3 of 12. B Tech 2-1 R07 PDC Question Paper.pdf. B Tech 2-1 R07 PDC Question ...

B Tech 1st Year R07 MI Question paper.pdf
Computer Science & Engineering, Chemical Engineering, Electronics &. Instrumentation Engineering, Bio-Medical Engineering, Information. Technology ...

B Tech 2-1 R07 UNIX2 Question Paper.pdf
Page 1 of 8. Code No: 07A3EC17 R07 Set No. 2. II B.Tech I Semester Examinations,November 2010. UNIX AND SHELL PROGRAMMING. Common to ...

B Tech 2-1 R07 ECA Question Paper.pdf
Vinom = 40V,Vimin = 35V, Vimax = 45V Vz = 20V, rz = 5 ohms ILmin= 0mA,ILmax. = 100mA Izmin = 10mA, Izmax = 400mA. Find Pzmax and load resistance. [8+8]. 3. (a) The basic Switching regulator is designed to maintain a 12V dc output when. the unregulate

B Tech 2-1 R07 MFCS Question Paper.pdf
Show that R is an equivalence relation. (b) Let A = {1, 2, 3, 4} and P = {{1, 2,3}, {4}} be a partition of A. Find the. equivalence relation determined by P. [10+6]. 3.

B Tech 2-1 R07 BIOCHEM Question Paper.pdf
There was a problem loading this page. B Tech 2-1 R07 BIOCHEM Question Paper.pdf. B Tech 2-1 R07 BIOCHEM Question Paper.pdf. Open. Extract. Open with.

B Tech 2-1 R07 STLD Question Paper.pdf
(a) Give a detailed comparison between combinational logic circuits and sequential. logic circuits. (b) Design a basic flip flop and explain its operation. [8+8] ?

B Tech 2-1 R07 THEMSCI Question Paper.pdf
QuestionPaperDownload.com. Page 3 of 8. B Tech 2-1 R07 THEMSCI Question Paper.pdf. B Tech 2-1 R07 THEMSCI Question Paper.pdf. Open. Extract.

B Tech 2-1 R07 MMS Question Paper.pdf
QuestionPaperDownload.com. Page 3 of 8. B Tech 2-1 R07 MMS Question Paper.pdf. B Tech 2-1 R07 MMS Question Paper.pdf. Open. Extract. Open with.

B Tech 2-1 R07 FMHM Question Paper.pdf
QuestionPaperDownload.com. Page 3 of 8. B Tech 2-1 R07 FMHM Question Paper.pdf. B Tech 2-1 R07 FMHM Question Paper.pdf. Open. Extract. Open with.

B Tech 2-1 R07 ELEENG Question Paper.pdf
(b) Discuss the Ward Leonard method of Speed control of DC motors. [8+8]. 6. Discuss different classifications of analog instruments and explain each of them.

B Tech 2-1 R07 ACBC Question Paper.pdf
(a) Write a short note on Synthetic rubber. (b) Compare natural rubber and vulcanized rubber? (c) Write a note on the engineering uses of Vulcanised rubber?

B Tech 1st Year R07 R7100101-ENG Question Paper.pdf ...
Page 1 of 1. Code :R7100101 R7. B.Tech I Year (R07) Supplementary Examinations, December 2010. ENGLISH. (Common to Civil Engineering, Mechanical ...

B Tech 2-1 R07 BIOEE Question Paper.pdf
Describe various studies conducted on nerve conduction including Galvani and. Volta's experimentation, Goldman's theory and Hodgekin and huxely's observa- ...

B Tech 2-1 R07 EMF Question Paper.pdf
QuestionPaperDownload.com www.QuestionPaperDownload.com. Whoops! There was a problem loading this page. B Tech 2-1 R07 EMF Question Paper.pdf.

B Tech 4-1 R07 DIMP Question Paper.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. B Tech 4-1 R07 ...

B Tech 2-1 R07 FLUIDMECH Question Paper.pdf
What will be the discharge when a cast iron. pipe of roughness k = 0.3 mm is used ? what will be the percentage increase in. the discharge if the cast iron pipe is ...

B Tech 2-1 R07 MOF Question Paper.pdf
QuestionPaperDownload.com www.QuestionPaperDownload.com. Whoops! There was a problem loading this page. B Tech 2-1 R07 MOF Question Paper.pdf.

B Tech 2-1 R07 STLD Question Paper.pdf
(c) Give the truth table for the Boolean expression (X0+Y)0. [4+8+4]. 6. Using Q-M method to determine the prime implicants and obtain the possible. minimal ...

B Tech 2-1 R07 PTECH Question Paper.pdf
QuestionPaperDownload.com. Page 3 of 4. B Tech 2-1 R07 PTECH Question Paper.pdf. B Tech 2-1 R07 PTECH Question Paper.pdf. Open. Extract. Open with.

B Tech 2-1 R07 MT Question Paper.pdf
(b) What are the advantages and disadvantages of Ellingham diagrams? [8+8]. 6. (a) Explain what do you mean by thermodynamic equillibrium. (b) Discuss the ...

B Tech 4-1 R07 HVDCTRANSM-EEE Question paper.pdf ...
QuestionPaperDownload.com. Page 3 of 5. B Tech 4-1 R07 HVDCTRANSM-EEE Question paper.pdf. B Tech 4-1 R07 HVDCTRANSM-EEE Question paper.pdf.

B Tech 2-1 R07 DLD Question Paper.pdf
Page 1. Whoops! There was a problem loading more pages. Retrying... B Tech 2-1 R07 DLD Question Paper.pdf. B Tech 2-1 R07 DLD Question Paper.pdf.