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

Multiple choice asp ado
  1. DSN

  2. DSN-less

  3. Both

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Both DSN and DSN-less connection methods require creating an ADO Connection object. The difference is in how the connection string is specified. With DSN, the connection string references a pre-configured Data Source Name. With DSN-less, the connection string contains all parameters (driver, database path, etc.) directly. In both cases, you use 'Set conn = Server.CreateObject("ADODB.Connection")' to create the connection object.

Multiple choice asp ado
  1. DSN

  2. DSN-less

  3. Both

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Both DSN and DSN-less connection methods require a connection string. DSN-based connections use a connection string that references a preconfigured Data Source Name, while DSN-less connections embed all connection parameters directly in the connection string itself. The connection string is essential in both approaches to specify database location, credentials, and driver information.

Multiple choice asp ado
  1. Connection object

  2. Connection string

  3. Both

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The DSN-less connection method requires both a Connection object and a connection string. The difference from DSN is that the connection string must explicitly specify all connection parameters (driver, database path, credentials) instead of referencing a preconfigured DSN. Both components are still mandatory for establishing the connection.

Multiple choice cisco-ccna
  1. the source address will change and the destination address will change

  2. change to reflect the current source and destination

  3. remain the same

  4. the source address will remain the same but the destination address will change

  5. none of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

To solve this question, the user needs to know about MAC addresses and how they work in a routed network.

MAC addresses are unique identifiers assigned to network interfaces by the manufacturer. Each MAC address is assigned to a specific device, and it is used to identify that device on a network.

In a routed network, packets are sent from one network to another through intermediate devices such as routers. As a packet travels through the network, the MAC address of the source and destination will change depending on the device it is passing through.

Now let's go through each option and explain why it is right or wrong:

A. The source address will change and the destination address will change: This option is incorrect because the source and destination MAC addresses will not always change. They may change as the packet passes through different devices in the network, but they may also remain the same in certain cases.

B. Change to reflect the current source and destination: This option is partially correct. The MAC address of the packet will change as it passes through different devices in the network. However, it is not changing to reflect the current source and destination, but rather to identify the device the packet is currently passing through.

C. Remain the same: This option is incorrect. While it is possible for the MAC address to remain the same in certain cases, it is not always the case.

D. The source address will remain the same but the destination address will change: This option is also partially correct. The source MAC address will not change, but the destination MAC address will change as the packet passes through different devices in the network.

E. None of the above: This option is incorrect because options B and D are partially correct.

Therefore, the correct answer is:

The Answer is: B or D (both are partially correct)

Multiple choice cisco-ccna
  1. SPX

  2. TCP

  3. Telnet

  4. UDP

  5. FTP

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

UDP is a connectionless, best-effort protocol that does not use acknowledgments - packets are sent without confirmation of receipt. In contrast, TCP, SPX, Telnet, and FTP all provide reliable, acknowledged delivery through connection-oriented mechanisms.

Multiple choice cisco-ccna
  1. The address of the nearest downstream neighbor in a Token ring network.

  2. At the router, it is the route used to direct frames for which the next hop has not been explicitly listed in the routing table.

  3. Any static route listing in a routing table.

  4. This is the route that will be chosen first by IP for delivery of a datagram.

  5. When all conditions are equal, the best route for delivery of IP datagrams.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A default route (often represented as 0.0.0.0/0) is the path used by a router when no specific match for a destination IP address is found in the routing table. It acts as a 'gateway of last resort' for outgoing traffic.

Multiple choice cisco-ccna
  1. ARP is used to map Ring numbers to IP addresses

  2. ARP is used to map Ring numbers to MAC addresses of the hosts on that ring

  3. ARP is used to map a MAC address to an IP address

  4. ARP is used to map an IP address to a MAC address

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The Address Resolution Protocol (ARP) is used to resolve a known Network Layer address (IP address) into a Link Layer address (MAC address). This allows a device to encapsulate an IP packet into a frame for delivery on the local physical network.

Multiple choice cisco-ccna
  1. 255

  2. 256

  3. 254

  4. 512

  5. 510

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Class B addresses have a default mask of 255.255.0.0 (/16). The given mask 255.255.255.128 is /25, meaning 9 bits are borrowed for subnetting (25-16=9). With 9 subnet bits, we get 2^9 = 512 possible subnets. However, using traditional subnetting rules that exclude the all-zeros and all-ones subnets, we get 512-2 = 510 usable subnets. Options A, B, C, and D are incorrect because they don't account for the correct number of borrowed bits or the subnet exclusion rule.

Multiple choice cisco-ccna
  1. Data Link

  2. Physical

  3. Transport

  4. Netwrok

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Segmentation, which breaks data into smaller manageable pieces, occurs at the Transport Layer (Layer 4) of the OSI model. TCP and UDP operate at this layer and handle segmentation of data streams. The Data Link Layer handles framing, and the Physical Layer deals with raw bit transmission. Option D has a typo ('Netwrok') but refers to Network Layer, which handles routing, not segmentation.

Multiple choice cisco-ccna
  1. Logical Link Control Layer

  2. Transport Layer

  3. Ethernet

  4. Data Link Layer

  5. Netwrok Layer

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

MAC (Media Access Control) addresses are unique identifiers assigned to network interface controllers. They function at the Data Link Layer (Layer 2) of the OSI model, specifically within the MAC sublayer, to facilitate communication within a local network segment.

Multiple choice cisco-ccna
  1. For a window size of 3 the ack4 signal says send the 4th packet.

  2. For a window size of three, the packets will be sent in three different routes and acknowledgment is expected for each.

  3. For a window size of 3 the acknowledgement is always ack3 to notify THAT the 3 packets were received.

  4. None of the above.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In TCP windowing, a window size of 3 means 3 segments can be sent before requiring acknowledgment. The acknowledgment number (ACK4) indicates the next expected byte, not packet count. Option A correctly describes that ACK4 means 'send the 4th packet' as the next expected. Option B is wrong because windowing doesn't use multiple routes. Option C is wrong because the ACK number is cumulative, indicating the next expected sequence number, not just counting packets.

Multiple choice cisco-ccna
  1. A metric is the administrative distance of a routing protocol.

  2. A metric is a measure of trustworthiness and availability of a route.

  3. Both of the above

  4. none of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A metric in routing protocols is a measure of route desirability, calculated from values like hop count, bandwidth, delay, reliability, and load. It determines which route is preferred when multiple paths exist. Option A incorrectly confuses metrics with administrative distance (which is used to select between routing protocols, not routes). Option B is closest to correct, though 'trustworthiness' is an unusual phrasing.

Multiple choice cisco-ccna
  1. 1000

  2. 2600

  3. 2500

  4. 7500

  5. none of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Cisco 7500 series routers use modular interfaces where ports are addressed using slot/adapter/port numbering. The 7500 series has a modular chassis with slots containing interface cards (adapters), and each adapter has multiple ports. The 1000, 2500, and 2600 series are fixed-configuration routers or use simpler numbering schemes (like interface type + slot/port). The slot/adapter/port format is specific to high-end modular platforms like the 7500 series.

Multiple choice cisco-ccna
  1. Encryption

  2. Upper layer protocol

  3. Lower Layer protocol

  4. none of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Bridges and switches operate at the Data Link Layer (Layer 2). They are transparent to upper-layer protocols (like IP, IPX, or AppleTalk), meaning those protocols do not need to know the bridge or switch exists to function across the network.