Computer Networks Exam Questions DEC 2024
Computer Networks Exam Questions DEC 2024
Common To
Subject Code 19CS406 Subject Name Computer Networks
CSE/IT/IOT/CYBER
Faculty Name Dr. RAMYADEVI. R, AOP, CSE Department CSE AI&DS/AI&ML
(PART A – 2 Marks)
UNIT - I
Q. No Questions
QA101 Define the term Computer networks.
A computer network is group of devices referred to as nodes connected by communication links. A node can be a computer, printer,
or any other device capable of sending and/or receiving data generated by other nodes on the network.
QA102 What is the need for Protocol layering?
Protocol layering enables us to divide a complex task into several smaller and simpler
tasks. One of the advantages of protocol layering is that it allows us to separate the services
from the implementation.
*QA104 For ‘n’ devices in a network, what is the number of cable links required for a mesh, ring, star and bus topology?
Mesh: n(n-1)/2
Star: n
Ring: n-1
Bus: one backbone and n drop lines
*QA105 What is VCI? Where it is used?
VCI is Virtual Circuit Identifier. It is the concept of local addressing used for data transfer in
virtual circuit approach of packet switching network. It is a small number that has only scope
only within switches; it is used by a frame between two switches.
UNIT - II
Q. No Questions
QA201 How the Error control mechanism will work in the Data Link Layer?
Error control is meant for delivering the error-free data to the receiver.
Parity checking, Cyclic Redundancy Code (CRC) and checksum are the approaches to detect the error in data. Hamming code,
Binary Convolution codes, Reed-Solomon code.
Detects and correct the error occurred in the data
Stop-and-Wait ARQ, Go-Back-N ARQ, Selective-Repeat ARQ are examples of error control techniques.
The station configuration is unbalanced. We have one In ABM, the configuration is balanced. The link is point-to-
primary station and multiple secondary stations. A primary point, and each station can function as a primary and a
station can send commands; a secondary station can only secondary
respond. The NRM is used for both point-to-point and
multipoint links
QA205 List down the applications of Bluetooth technology.
✓ Peripheral devices such as a wireless mouse or keyboard can communicate with the computer through this
technology.
✓ Monitoring devices can communicate with sensor devices in a small health care center.
✓ Home security devices can use this technology to connect different sensors to the main security controller.
✓ Conference attendees can synchronize their laptop computers
UNIT – III
Q. No Questions
QA301 What is routing?
Routing is a process of selecting paths in a network through which network traffic is sent.
UNIT – IV
Q. No Questions
QA401 What are the four aspects related to the reliable delivery of data?
The four aspects are,
1. Error control
2. Sequence control
3. Loss control
4. Duplication control
*QA402 What is the difference between service point address, logical address and physical address?
UNIT – V
Q. No Questions
QA501 Define MIME.
Multipurpose Internet Mail Extensions (MIME) is a supplementary protocol that allows non-ASCII data to be sent through SMTP.
MIME transforms non- ASCII data at the sender site to NVT ASCII data and deliverers it to the client SMTP to be sent through the
Internet. MIME converts binary files, executed files into text files. Then only it can be transmitted using SMTP.
*QA502 State the POP3 Protocol.
POP3 (Post Office Protocol 3) is the most recent version of a standard protocol for receiving e-mail. POP3 is a client/server protocol
in which e-mail is received and held for you by your Internet server. POP and IMAP deal with the receiving of e-mail and are not
to be confused with the Simple Mail Transfer Protocol (SMTP), a protocol for transferring e-mail across the Internet.
QA503 What is TELNET Protocol?
A TELNET connection is a Transmission Control Protocol (TCP) connection used to transmit data with interspersed TELNET
control information. The TELNET Protocol is built upon three main ideas: "Network Virtual Terminal"; second, the principle of
third, a symmetric view of terminals and processes.
*QA504 How the security features are handled by SSH Protocol?
(Secure Shell) A security protocol for logging into a remote server. SSH provides an encrypted session for transferring files and
executing server programs. Also serving as a secure client/server connection for applications such as database access and e-mail
SSH supports a variety of authentication methods.
QA505 What are the types of Messages available in DNS?
Two types of messages
1. Query: header and question records
2. Response: Header, question records, answer records, authoritative records, and additional records.
*QA506 What are the responsibilities of Application Layer?
The Application Layer enables the user, whether human or software, to access the network. It provides user interfaces and support
for services such as e-mail, shared database management and other types of distributed information services
*QA507 What are the requests messages support SNMP and explain it?
GET & SET
The former is used to retrieve a piece of state from some node and the latter is used to store a new piece of state in some node.
UNIT - I
Q. No Questions
QB101 (a) Explain briefly about the role of different layers in OSI reference model with a neat diagram.
(Or)
*QB101 (b) Differentiate Circuit and Packet Switched Networks.
*QB102 (a) Discuss in detail about Unguided Media for Transmission.
(Or)
QB102 (b) Explain in detail about TCP/IP protocol suite with neat diagram.
QB103 (a) Distinguish between Point to Point links and Multi Point links. Demonstrate the types of Network Topology with their
advantages and disadvantages and suitable diagrams.
(Or)
QB103 (b) Discuss in detail about the Guided Media for Transmission with their types and its connector to be used for different
applications.
*QB104 (a) Explain in detail the components of data communication and the different categories of Networks.
Components of data communication
a computer network that interconnects with computer in a metropolitan area like city.
Wide Area Network(WAN)
UNIT - II
Q. No Questions
QB201 (a) Demonstrate Two Dimensional Parity Check with an example of your own.
Standard Ethernet can be implemented by LAN using either bus topology using coaxial cable or star topology using a hub
QB202 (a) Discuss the CSMA/CD protocol and comment on its performance for medium access
Carrier Sense Multiple Access
Carrier Sense Multiple Access with Collision Detection
Carrier Sense Multiple Access with Collision Avoidance
(Or)
QB202 (b) Explain briefly about HDLC protocol with their types.
HDLC defines three types of frames:
1. Information frames (I-frame)
2. Supervisory frame (S-frame)
3. Unnumbered frame (U-frame)
(Or)
(Or)
*QB203 (a) Discuss the three popular methods of Controlled Access in Data Link layer.
1. Reservation
2. Polling
3. Token Passing
(Or)
*QB203 (b) Write the Procedure to perform Checksum which handles the detection of the Error in Data.
Data:
10101001 00111001
Computing Checksum:
10101001
00111001
---------------
Sum 11100010
CheckSum 00011101
Data Sent :
10101001 00111001 00011101
Receiver Side:
10101001
00111001
00011101
---------------
Sum 11111111
Complement 00000000
QB204 (a) Summarize the services of Data Link Layer with its Characteristics.
(Or)
QB204 (b) Show and explain the ARP packet format for
mapping IP addresses to Ethernet addresses.
UNIT - III
Q. No Questions
QB301 (a) List the classes in Classful Addressing and define the Application of each class
(Or)
QB301 (b) Discuss in detail about Internet Protocol Datagram in the Network Layer.
The Internet Protocol (IP) is a protocol, or set of rules, for routing and addressing packets of data so that they can travel across
networks and arrive at the correct destination.
*QB302 (a) State IPv4 address with suitable example. Find the class of each address.
a. 00000001 00001011 00001011 11101111
b. 11000001 10000011 00011011 11111111
c. [Link]
d. [Link]
IPv4 Address :
• The IPv4 addresses are unique and universal.
• An IPv4 address is 32 bits long. – The address space of IPv4 is 232 (4,294,967,296) – Notation.
• Binary notation
• Dotted-decimal notation
❑ A routing algorithm that directly follows our discussion for creating least-cost trees and forwarding tables is link-state (LS)
routing.
❑ This method uses the term link-state to define the characteristic of a link (an edge) that represents a network in the internet.
❑ In this algorithm the cost associated with an edge defines the state of the link.
❑ Links with lower costs are preferred to links with higher costs;
❑ if the cost of a link is infinity, it means that the link does not exist or has been broken.
All possible Spanning Tree :
(Or)
QB303 (b) Why subnetting is necessary? With suitable example, develop the concept of subneting in class B network.
The first mask (/26) is applied to the destination address. The result is [Link], which does not match the corresponding
network address.
*QB304 (a) Discuss Internet Control Message Protocol version 4 with its Frame format.
error-reporting or error-correcting mechanism
ICMP messages are divided into two broad categories:
1. Error-reporting messages: The error-reporting messages report problems that a router or a host (destination) may encounter
when it processes an IP packet.
2. Query messages: The query messages, which occur in pairs, help a host or a network manager get specific information from a
router or another host. For example, nodes can discover their neighbors. Also, hosts can discover and learn about routers on
their network and routers can help a node redirect its messages.
8 bits 8 bits 16 bits 8 bits 8 bits 16 bits
Type Code Checksum Type Code Checksum
Rest of the header Identifier Sequence number
UNIT - IV
Q. No Questions
QB401 (a) Explain about the various protocols that helps in the process of Flow
Control of noiseless channel.
Flow control techniques
1) Simple Protocol
2) Stop-and-Wait Protocol
3) Go-Back-N Protocol
4) Selective-Repeat Protocol
(Or)
QB401 (b) Draw the format of Segment in TCP transmission. Explain how the
Data transfer is done after Connection establishment in TCP protocol.
format of Segment
(Or)
*QB402 (b) Explain in detail about the three-way handshake protocol for connection establishment in TCP.
QB403 (a) Illustrate in detail about UDP header format with the Port number to be used in the header part with a neat sketch.
Source Port: Source Port is a 2 Byte long field used to identify the port number of the source.
Destination Port: It is a 2 Byte long field, used to identify the port of the destined packet.
Length: Length is the length of UDP including the header and the data. It is a 16-bits field.
Checksum: Checksum is 2 Bytes long field. It is the 16-bit one’s complement of the one’s complement sum of the UDP header,
the pseudo-header of information from the IP header, and the data, padded with zero octets at the end.
(Or)
QB403 (b) Explain in detail about Sliding Window Protocol.
*QB404 (a) Explain Stream Control Transmission Protocol with its frame format.
Working of SCTP – 4 Marks
Packet Format and explanation – 4 marks
(Or)
*QB404 (b) Explain in detail about Sliding Window Protocol.
UNIT - V
Q. No Questions
QB501 (a) Explain the functions of SMTP.
System for sending messages to other computer users based on e-mail addresses.
SMTP provides mail exchange between users on the same
or different computers.
network management system
A. Structure of Management Information (SMI)
B. Management Information Base (MIB)
C. Simple Network Management Protocol SNMP
Object attributes
Data type
Encoding format
SNMP PDUs (Protocol Data Units)
SNMP PDU format
Port numbers for SNMP
(Or)
QB501 (b) Explain SSH Protocol in detail.
Components
*QB502 (a) Write short notes on FTP.
(Or)
*QB502 (b) Summarize the request and response message format of HTTP.
UNIT - I
Q. No Questions
*QC101 (a) Explain how the addressing helps in transferring the Data from the Sender to Receiver and also find the path for the data hop through
the Network Routers to reach the Destination.
• The sender encapsulates its data in a packet at the network layer and adds two logical addresses (A and P).
• Note that in most protocols, the logical source address comes before the logical destination address (contrary to the order of
physical addresses).
• The network layer, however, needs to find the physical address of the next hop before the packet can be delivered.
• The network layer consults its routing table and finds the logical address of the next hop.
(Or)
QC101 (b) Assume the Income and Outcoming of the Switches and its table. Elaborate the process of data transfer from Source A to Source B
using Virtual Circuit Network.
UNIT - II
Q. No Questions
QC201 (a) Explain the purpose of CRC in data transmission at Data Link Layer. Given the data word 1010011110 and the divisor 10111
(i) Show the generation of CRC at the sender site (using binary division)
(ii) Show the checking of CRC at the receiver end.
(Or)
*QC201 (b) How the different types of Frames are used in Connection Establishment, Data Transfer and Connection Release in HDLC
Protocol of Data link Layer. Draw the flow of the Data Frames to explain how the PIGGYBACKING is implemented in data
transfer.
UNIT - III
Q. No Questions
QC301 (a) Expand the IPV6 address 0:15::1:12:12:13.
An IPv6 address is
❑ Several notations have been proposed to represent IPv6 addresses when they are handled by humans.
❑ The following shows two of these notations: binary and colon hexadecimal.
Solution
We first need to align the left side of the double colon to the left of the original pattern and the right side of the double colon to the
right of the original pattern to find how many 0s we need to replace the double colon.
UNIT - IV
Q. No Questions
(Or)
*QC401 (a) What are the three mechanisms of Congestion Control? Explain the different Congestion Policy in TCP Protocol.
• Slow Start Phase: Starts slow increment is exponential to the threshold.
• Congestion Avoidance Phase: After reaching the threshold increment is by 1.
• Congestion Detection Phase: The sender goes back to the Slow start phase or the Congestion avoidance phase.
(Or)
QC401 (b) Comparison between a TCP segment and an SCTP packet with their operation.
Working of SCTP – 4 Marks
Packet Format and explanation – 4 marks
Connection and termination explanation with diagram - 5 mark
UNIT - V
Q. No Questions
QC501 (a) Explain how FTP has a message for exchanging commands and responses during control connection.