Computer Knowledge
Computer Networks
2,614 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
-
Frames
-
Packets
-
Data
-
Segments
B
Correct answer
Explanation
In the OSI model, data is encapsulated into 'packets' at the Network Layer (Layer 3). Frames are used at Layer 2, and segments are used at Layer 4.
-
IP, ICMP, and IGMP
-
Routers, hubs, and cables
-
IP, Ethernet, and Software
-
Screen resolution, volume, and battery life
A
Correct answer
Explanation
IP (Internet Protocol), ICMP (Internet Control Message Protocol), and IGMP (Internet Group Management Protocol) are all fundamental protocols that operate at the Network Layer.
-
Layer 3 of the OSI
-
IP addresses
-
The subnet
-
Ethernet
C
Correct answer
Explanation
The Network Layer is responsible for managing logical network addressing and subnetting, which allows for the efficient organization and routing of data within a network.
-
The Network Layer
-
The Data Link Layer
-
The Physical Layer
-
The Transport Layer
A
Correct answer
Explanation
In the standard 7-layer OSI model, Layer 1 is Physical, Layer 2 is Data Link, and Layer 3 is the Network Layer.
B
Correct answer
Explanation
UDP (User Datagram Protocol) is connectionless and fast, but it is not reliable because it does not guarantee delivery, ordering, or error recovery.
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.