CS NPM MQP2 Ug24
CS NPM MQP2 Ug24
1. (a) Demonstrate the use of TCP and UDP in network programming. Rephrase the
New Generic Socket Address Structure using sockaddr storage
[BL: Understand | CO 1 | Marks:7]
(b) Distinguish various socket address structures uning neat diagram.
i) Explain in detail about TCP/IP protocols for internetworking and manage-
ment.
ii) Express about socket, connect, bindlisten and accept functions
[BL: Understand | CO 1 | Marks:7]
MODULE-II
2. (a) llustrate the TCP echo client program. Elucidate the significance Interrupted
System Calls in application protocol and handling the Interrupted System Calls.
[BL: Understand | CO 3 | Marks:7]
(b) Explain the following concept with suitable example
i) Shutdown function
ii) Server host crashes
iii) Input output models
iv) POSIX signal
[BL: Understand | CO 3 | Marks:7]
MODULE-III
3. (a) Write a brief note on RES USE INET6 resolver option in gethostbyname and
gethostbyname2 functions
[BL: Understand | CO 3 | Marks:7]
(b) llustrate the TCP and UDP Echo Server using Select () with an example.
[BL: Understand | CO 3 | Marks:7]
4. (a) Summerize SO LINGER Socket option that are Calling setsocket leads to one
of the folowing three scenarios depending on the values of the two structure
memebrs.
[BL: Understand | CO 4 | Marks:7]
(b) Create listening TCP socket with the help of handling arrival of datagram
[BL:Remember | CO 4 | Marks:7]
2.5
MODULE-IV
5. (a) State threads and list out the functions of threads and explain them.
(b) llustrate raw sockets and determine the creation of raw sockets.
6. (a) Illustrate the use of ICMPv6 Type Filterin [BL: Understand | CO 1 | Marks:7]
(b) Determine the concept of Raw Socket Input and define the three tests, when
kernal has to pass IP datagram. [BL: Understand | CO 5 | Marks:7]
MODULE-V
7. (a) Construct the Network Management Protocol Architecture and elaborate SNMP
protocol. [BL: Understand | CO 1 | Marks:7]
(b) State RMON MIB and list out the groups divided in it.
8. (a) List out the data types in UNIVERSAL class of ASN.1 for SNMP MIB.
**END OF EXAMINATION**
Page 2
COURSE OBJECTIVES:
The course should enable the students to:
COURSE OUTCOMES:
After successful completion of the course, students should be able to:
CO 1 Interpret TCP Socket functions between client and server to listen Understand
to the TCP port for incoming connections
CO 2 Make use of different boundary conditions in the server and I/O Apply
multiplexing to establish the connection in the network
CO 3 Match each of the socket options for each of the layer in the TCP/IP Remember
stack to improve the performance of wired network connections
CO 4 Recall the UDP socket functions to maintain low – latency and loss Remember
– tolerance connections between applications on the internet
CO 5 Demonstrate the working of different communication protocols that Understand
helps to create secure socket applications.
CO 6 Illustrate various network management protocols for monitoring and Understand
control of networks on Local Area Network or Wide Area Network.
Page 3
MAPPING OF SEMESTER END EXAMINATION QUESTIONS TO
COURSE OUTCOMES
Page 4
a Construct the Network Management Understand CO 6 PO 8
7 Protocol Architecture and elaborate SNMP
protocol.
11
10
COUNT
5
5
0 0 0
0
ly
e
r
e
yz
be
t
an
pp
ua
BLOOMS TAXONOMY
l
em
na
st
al
er
Ev
A
em
nd
R
Page 5