Unix Network Programming — DU B.Sc. (Hons) Computer Science Previous Year Question Papers

Programme
B.Sc. (Hons) Computer Science
Paper type
DSE
Paper code
2343010011
Exam years
2024–2025

Unix Network Programming is a DSE paper in Semester V of B.Sc. (Hons) Computer Science at Delhi University (paper code 2343010011). 2 previous year question papers from 2024–2025 are listed below; view or download each original PDF.

Share with your class: WhatsApp Telegram

2025 question papers

2025

B.Sc. (Hons) Computer Science

2343010011

2024 question papers

2024

B.Sc. (Hons) Computer Science

2343010011

What was asked in the 2024 Unix Network Programming paper?

Text of the nov dec 2024 DU question paper (UPC 2343010011), so you can see what gets asked before opening a PDF.

(b) Write a program of TCP client and TCP server implementation in C. Specification of the client and server are mentioned below: (4+8=12) Server is running a service on port 11002. Client connects to that service of the server. Server prints the IP address and port number of each connected client. Client then disconnects from the server. 4. Parts of a question must be answered together. 1. (a) Represent 0x1020 in Little Endian and Big Endian format. (2) (b) Socket pair for listening socket is {*:21,*:*}, after connecting to this server, a client's socket pair is (206.169.112.219:1500, 12.106.32.254:21}. What is the socket pair for the connected socket at the server's end? (2) (c) What happens if the protocol parameter in socket() system call is specified to be 0? (2) (d) Explain the Three-Way handshaking process with the help of diagram. (3) (e) What are the scenarios where connect) system call returns an error? Briefly explain. (3) 6. (a) Briefly explain the significance of baldog parameter in listen() system call. Wiry we do not specify backlog parameter as 0? (3) (b) What are slow system calls? When is an error of EINTR returned by such a call? (4) (c) Write tire difference between TCP and UDP transport layer protocols. (4) : (d) Why must value-result arguments such as the length of a socket address structure be passed by reference? Give two examples of value-result arguments. (4) 7. (a) What happens when SO_LINGER socket option is called: (1.5+1.5=3) (i) If 1_onoff is nonzero and I_linger is nonzero. (ii) If 1_onoff is nonzero and I_linger is zero. 5. (a) What happens when select is called in the following cases : (i) If we specify the timeout argument as a null pointer. (1.5) (i) If we specify all three middle arguments (b) Briefly explain IPv4 Socket Address Structure. (c) Discuss with the help of diagram client-server communication on the same ethemet using TCP. (d) Write a client-side' program that takes service name and hostname as command line arguments. Use predefined functions to convert service name and hostname into appropriate port number and IP address and use this information to establish the connection. (6) (f) What do you mean by connected UDP sockets? Does it start the Three-Way Handshaking process? (g) What happens when three-way handshake technique completes, then the socket connection is established and the client TCP sends an RST before the server process calls accept? (3) (h) Differentiate between blocking I/O model and non-bfocking I/0 model. (4) (i) Explain the following socket options : (4) (i) What is Domain Name System? Explain AAAA and PTR resource records of Domain Name 2. (a) What is the purpose of using SO-REUSEADDR socket option? Explain. (3) (b) Write a program for UDP echo client and server that verifies the returned socket address of who sent the reply and ignore any received datagrams that are not from the server to whom the client sent the datagram. (12)

How can I prepare for Unix Network Programming?

Related subjects in B.Sc. (Hons) Computer Science

Frequently asked questions

Where can I download the DU Unix Network Programming previous year question paper PDF?
This page lists 2 Unix Network Programming question papers for B.Sc. (Hons) Computer Science at Delhi University (2024–2025). Open any paper to view the original PDF or download it. It is free and needs no login.
Which years of Unix Network Programming question papers are available?
Unix Network Programming papers are available for 2025, 2024.
What is the paper code (UPC) of Unix Network Programming?
The Unique Paper Code for Unix Network Programming in B.Sc. (Hons) Computer Science is 2343010011.
Which semester is Unix Network Programming taught in?
Unix Network Programming is a DSE paper in Semester V of B.Sc. (Hons) Computer Science, according to DU's published scheme.

← All B.Sc. (Hons) Computer Science subjects