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
-
Application Layer
-
Transport Layer
-
Presentation Layer
-
Physical Layer
A
Correct answer
Explanation
FTP is an Application Layer protocol. It provides file transfer services to end-user applications and operates at Layer 7 of the OSI model (or the Application Layer of the TCP/IP model). FTP uses TCP for reliable transport (operating at Transport Layer), but FTP itself belongs to the Application Layer.
-
Static Routing
-
Dynamic Routing
-
Default Routing
-
NA
B
Correct answer
Explanation
RIP (Routing Information Protocol) is a Dynamic Routing protocol. It automatically discovers and maintains routes by exchanging routing information with neighboring routers. Routes are calculated based on hop count distance (metric). Static routing requires manual configuration, while RIP automatically adapts to network topology changes.
C
Correct answer
Explanation
There are 5 classes of IP addresses in the traditional classful addressing scheme: Class A (0.0.0.0 - 127.255.255.255), Class B (128.0.0.0 - 191.255.255.255), Class C (192.0.0.0 - 223.255.255.255), Class D (224.0.0.0 - 239.255.255.255 for multicast), and Class E (240.0.0.0 - 255.255.255.255 reserved).
-
127.0.0.1
-
10.0.0.5
-
192.0.0.1
-
10.255.255.255
A
Correct answer
Explanation
127.0.0.1 is the standard loopback address for IPv4. The entire 127.0.0.0/8 block is reserved for loopback, used to test the local TCP/IP stack. Sending packets to any address in this range routes them back to the local machine without leaving the host, useful for diagnostics and local services.
-
Network Layer
-
Data layer
-
Presentation Layer
-
Session Layer
A
Correct answer
Explanation
Routers operate at Layer 3 (Network Layer) of the OSI model, where they make forwarding decisions based on IP addresses. They route packets between different networks by examining destination IP addresses and using routing tables to determine the best path. Switches operate at the Data Link Layer, not routers.
-
Session Layer
-
Transport Layer
-
Application
-
Data Layer
D
Correct answer
Explanation
Switches operate at Layer 2 (Data Link Layer) of the OSI model, using MAC addresses to forward frames within a network segment. They maintain MAC address tables to learn which devices are connected to which ports, enabling efficient frame forwarding. Routers operate at the Network Layer, not switches.
-
Application Layer
-
Transport Layer
-
Presentation Layer
-
Physical Layer
A
Correct answer
Explanation
FTP operates at the Application Layer (Layer 7) of the OSI model. It provides file transfer services directly to user applications and uses TCP for reliable transport at lower layers.
C
Correct answer
Explanation
There are 5 classes of IP addresses defined under classful addressing: Class A, B, C, D, and E. Distractors suggesting 2, 3, or 4 classes are incorrect as they omit multicast (Class D) or experimental/reserved (Class E) ranges.
-
127.0.0.1
-
10.0.0.5
-
192.0.0.1
-
10.255.255.255
A
Correct answer
Explanation
The loopback address 127.0.0.1 is reserved for testing the local TCP/IP stack. Any packet sent to this address never leaves the host and loops back to the local system, useful for testing network services without actual network traffic.
-
Network Layer
-
Data layer
-
Presentation Layer
-
Session Layer
A
Correct answer
Explanation
Routers operate at the Network Layer (Layer 3) of the OSI model. They make forwarding decisions based on IP addresses and route packets between different networks. Routers do not operate at Data Link, Presentation, or Session layers.
-
Session Layer
-
Transport Layer
-
Application
-
Data Layer
D
Correct answer
Explanation
Switches operate at the Data Link Layer (Layer 2) of the OSI model. They forward frames based on MAC addresses and maintain MAC address tables. Switches do not operate at Session, Transport, or Application layers.
-
Application Layer
-
Transport Layer
-
Presentation Layer
-
Physical Layer
A
Correct answer
Explanation
FTP operates at the Application Layer (Layer 7) of the OSI model. It provides file transfer services directly to user applications and uses TCP for reliable transport at lower layers.
-
Static Routing
-
Dynamic Routing
-
Default Routing
-
NA
B
Correct answer
Explanation
RIP (Routing Information Protocol) is a dynamic routing protocol. It automatically learns and maintains routes by exchanging information with other routers. Static routing requires manual configuration, and default routing is a special case of static routing.
-
Network Layer
-
Data layer
-
Presentation Layer
-
Session Layer
A
Correct answer
Explanation
Routers operate at the Network Layer (Layer 3) of the OSI model. Their primary function is to examine IP addresses in packet headers and determine the best path for forwarding packets between different networks. The Network Layer is responsible for logical addressing and routing decisions. The Data Link Layer handles MAC addresses, while Session and Presentation Layers are higher in the OSI stack.
C
Correct answer
Explanation
IP addresses are divided into 5 classes: Class A (0.0.0.0 - 127.255.255.255), Class B (128.0.0.0 - 191.255.255.255), Class C (192.0.0.0 - 223.255.255.255), Class D (224.0.0.0 - 239.255.255.255) for multicast, and Class E (240.0.0.0 - 255.255.255.255) reserved for experimental use. Classes A, B, and C are used for unicast addressing, while D and E serve special purposes.