Computer Knowledge
Computer Networks
2,461 Questions
Computer networks involve the architecture, protocols, and security measures used for digital communication. This collection covers OSI model layers, IP addressing, data transmission, and cryptographic standards. These concepts are vital for the computer knowledge sections of banking and government exams.
OSI model layersNetwork protocolsIP subnet maskingData encryption standardsServer configurationsNetwork commands
Computer Networks Questions
A
Correct answer
Explanation
In the TCP/IP model, a port number serves as the transport service access point. It allows the transport layer to distinguish between different applications or services running on the same host.
B
Correct answer
Explanation
Video streaming typically uses UDP because it prioritizes speed and real-time delivery over the error correction and retransmission overhead inherent in TCP. Using TCP for live streaming often results in unacceptable latency.
-
is a connection-oriented protocol
-
uses a three way handshake to establish a connection
-
receives data from application as a single stream
-
all of the mentioned
D
Correct answer
Explanation
TCP is a connection-oriented protocol that uses a three-way handshake to establish a reliable session, and it processes data streams from the application layer.
A
Correct answer
Explanation
TCP includes mechanisms for error recovery, flow control, and retransmission, which add overhead and latency. UDP lacks these mechanisms, making it faster but less reliable.
-
it sends data as a stream of related packets
-
all UDP packets are treated independently by transport layer
-
it is received in the same order as sent order
-
it sends data very quickly
B
Correct answer
Explanation
UDP is connectionless because it does not establish a session before sending data. Each datagram is treated as an independent unit by the transport layer, with no relationship to previous or subsequent packets.
A
Correct answer
Explanation
The transport layer is responsible for end-to-end communication, including error recovery, flow control, and segmentation to ensure reliability when required by the application.
-
Internet Control Message Protocol
-
Neighbor Discovery Protocol
-
Stream Control Transmission Protocol
-
Dynamic Host Configuration Protocol
C
Correct answer
Explanation
SCTP (Stream Control Transmission Protocol) is a transport layer protocol designed to provide reliable, message-oriented communication. ICMP and NDP are network layer protocols, and DHCP is an application layer protocol.
A
Correct answer
Explanation
Online gaming requires low latency, so it frequently uses UDP to avoid the delays caused by TCP's retransmission and congestion control mechanisms.
-
TCP and FTP
-
UDP and HTTP
-
TCP and UDP
-
HTTP and FTP
C
Correct answer
Explanation
TCP and UDP are the two primary transport layer protocols in the TCP/IP suite. FTP and HTTP are application layer protocols.
-
Data Link Layer
-
Physical Layer
-
Application Layer
-
Network Layer
D
Correct answer
Explanation
The transport layer receives data from multiple applications and encapsulates it into segments, which are then passed down to the network layer for routing.
A
Correct answer
Explanation
In the OSI model, the Protocol Data Unit (PDU) for the Network layer (Layer 3) is indeed called a packet.
A
Correct answer
Explanation
Encapsulation at Layer 3 involves adding an IP header to the data segment received from the transport layer, forming an IP packet.
-
Internet Packet Exchange
-
Internet Packet Xchange
-
Internet Protocol Exchange
A
Correct answer
Explanation
IPX stands for Internetwork Packet Exchange, a protocol used in early networking environments like Novell NetWare.
-
To connect networks
-
To create packets
-
yes
-
To establish multicast group memberships
D
Correct answer
Explanation
IGMP (Internet Group Management Protocol) is used by hosts and adjacent routers to establish and manage multicast group memberships.
-
Routes the packet
-
Sources the data
-
Assigns addresses to packets
C
Correct answer
Explanation
The primary purpose of the Internet Protocol (IP) is to provide logical addressing and routing for packets across interconnected networks. While IP facilitates routing, its fundamental role is defining the addressing scheme that allows data to be directed to the correct destination.