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

Multiple choice technology
  1. Application Layer

  2. Transport Layer

  3. Presentation Layer

  4. Physical Layer

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Static Routing

  2. Dynamic Routing

  3. Default Routing

  4. NA

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. 3

  2. 4

  3. 5

  4. 2

Reveal answer Fill a bubble to check yourself
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).

Multiple choice technology
  1. 127.0.0.1

  2. 10.0.0.5

  3. 192.0.0.1

  4. 10.255.255.255

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Network Layer

  2. Data layer

  3. Presentation Layer

  4. Session Layer

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Session Layer

  2. Transport Layer

  3. Application

  4. Data Layer

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. 3

  2. 4

  3. 5

  4. 2

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. 127.0.0.1

  2. 10.0.0.5

  3. 192.0.0.1

  4. 10.255.255.255

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Network Layer

  2. Data layer

  3. Presentation Layer

  4. Session Layer

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Session Layer

  2. Transport Layer

  3. Application

  4. Data Layer

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Static Routing

  2. Dynamic Routing

  3. Default Routing

  4. NA

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Network Layer

  2. Data layer

  3. Presentation Layer

  4. Session Layer

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. 3

  2. 4

  3. 5

  4. 2

Reveal answer Fill a bubble to check yourself
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.