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 networking osi-model
  1. data link

  2. trasnport

  3. network

  4. presentation

  5. session

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

Packets are the protocol data units (PDUs) of the network layer (Layer 3). The network layer is responsible for routing and forwarding packets across networks. At the data link layer, the units are frames, and at the transport layer, they are segments or datagrams.

Multiple choice networking osi-model
  1. network

  2. data link

  3. transport

  4. presentation

  5. application

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

The network layer (Layer 3) translates between physical MAC addresses and logical IP addresses through protocols like ARP (Address Resolution Protocol) and RARP. This layer handles logical addressing and routing, while the data link layer uses physical MAC addresses for local delivery.

Multiple choice networking osi-model
  1. MAC and IPX

  2. hardware and frame

  3. MAC and LLC

  4. WAN and LAN

  5. Mac address

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

The data link layer (Layer 2) has two sublayers defined by the IEEE 802 standard: LLC (Logical Link Control) and MAC (Media Access Control). LLC handles flow control and error control, while MAC handles addressing and channel access. Other options like WAN/LAN are network types, not sublayers.

Multiple choice networking osi-model
  1. the MAC sublayer of the data link layer

  2. transport

  3. physical

  4. network

  5. presentation

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

To solve this question, the user needs to have knowledge of the layers of the OSI model and their functions.

The layer that translates between physical and logical addresses is the network layer. This layer is responsible for routing and forwarding data packets between different networks. The network layer uses logical addresses, such as IP addresses, to identify different hosts on the network. These logical addresses are then translated into physical addresses, such as MAC addresses, by the data link layer. Thus, option D, network, is the correct answer.

Let's go through the other options to explain why they are incorrect:

A. the MAC sublayer of the data link layer: This option is incorrect because the MAC sublayer of the data link layer is responsible for controlling access to the physical network medium and for transmitting data frames between devices on the same network segment. It does not translate between physical and logical addresses.

B. transport: This option is incorrect because the transport layer is responsible for providing reliable data transfer between end systems, such as error recovery and flow control. It does not translate between physical and logical addresses.

C. physical: This option is incorrect because the physical layer is responsible for transmitting raw bit streams over a physical medium, such as copper or fiber optic cables. It does not translate between physical and logical addresses.

E. presentation: This option is incorrect because the presentation layer is responsible for data compression, encryption, and decryption. It does not translate between physical and logical addresses.

Therefore, the answer is: D. network.

Multiple choice networking osi-model
  1. network

  2. session

  3. transport

  4. data link

  5. presentation

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

The correct answer is C. transport.

The transport layer is responsible for packet sequencing, acknowledgments, and requests for retransmission. It ensures the reliable delivery of data between two hosts and establishes end-to-end connections, if required. The transport layer protocols, such as TCP (Transmission Control Protocol) and UDP (User Datagram Protocol), handle these functions.

Now, let's go through the other options and explain why they are not the correct answer:

A. network: The network layer is responsible for routing and forwarding packets across different networks. It does not handle packet sequencing, acknowledgments, or retransmission.

B. session: The session layer is responsible for establishing, maintaining, and terminating sessions or connections between applications. It does not handle packet sequencing, acknowledgments, or retransmission.

D. data link: The data link layer is responsible for the reliable transfer of data frames between adjacent network nodes. It does not handle packet sequencing, acknowledgments, or retransmission at the packet level.

E. presentation: The presentation layer is responsible for data formatting, encryption, and compression. It does not handle packet sequencing, acknowledgments, or retransmission.

Therefore, the correct answer is C. transport.

Multiple choice php
  1. normal

  2. aborted

  3. timeout

  4. All of the above

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

PHP connection states track the status of a client connection to the server. Normal means the connection is active, aborted means the client disconnected, and timeout means the connection exceeded the time limit. All three states are valid connection states in PHP, making option D correct.

Multiple choice server
  1. Netstat

  2. Domain Manager

  3. User Manager

  4. Windows Explorer

  5. Administrative tool

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

Windows Explorer provides the simplest interface for creating shares on Windows 2000 - right-click any folder and select 'Sharing'. User Manager and Domain Manager handle user accounts, not shares. Netstat is a network statistics command-line tool. Administrative Tools is a menu category, not a specific tool.

Multiple choice server
  1. Two

  2. Ten

  3. Five

  4. Unlimited

  5. One

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

A single NIC (Network Interface Card) can have multiple protocols bound to it without limit. In Windows, you can enable TCP/IP, IPX/SPX, NetBEUI, and other protocols simultaneously on one network adapter. The protocols operate at different layers and don't conflict - the NIC handles frames and passes them to the appropriate protocol stack.

Multiple choice server
  1. Incorrect subnet mask on the remote subnet

  2. Incorrect subnet mask on your computer

  3. Incorrect default gateway on your computer

  4. The WINS server is down

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

To solve this problem, the user needs to have basic knowledge of networking and troubleshooting. The user should check the possible causes of the issue and try to eliminate each cause until the correct one is identified.

In this scenario, the user is unable to communicate with a host on a different department of the company but has no issue communicating with others on the same subnet. Other hosts on the subnet can also reach remote hosts. Based on this information, we can eliminate options A and B as incorrect subnet masks would affect all communication outside the subnet, not just one specific host.

Option D can also be eliminated as the WINS server is not used for basic network communication, and the issue is only with one specific host.

Therefore, the correct answer is:

C. Incorrect default gateway on your computer

This option is the most likely cause of the issue as the default gateway is responsible for forwarding traffic to remote networks. If the default gateway is not configured correctly, the traffic will not be directed to the correct destination, resulting in the inability to communicate with remote hosts.

Multiple choice server
  1. Netbios services for a network

  2. file services for a network

  3. ARP services for a network

  4. foundation services for a network

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

DNS (Domain Name System) resolves hostnames to IP addresses, and WINS (Windows Internet Name Service) provides NetBIOS name resolution - together they form the foundational name resolution services for network communication. They are not NetBIOS services themselves (option A), file services (option B), or ARP services (option C).

Multiple choice server
  1. PORT 137

  2. PORT 135

  3. PORT 138

  4. PORT 139

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

NetBIOS Name Service uses UDP port 137 for name registration and resolution queries. NetBIOS Datagram Service uses port 138, and NetBIOS Session Service uses TCP port 139. Port 135 is used by Microsoft RPC (Remote Procedure Call), not NetBIOS.

Multiple choice server
  1. Network

  2. Transport

  3. Application

  4. Session

  5. B&C

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

SSL/TLS operates above TCP (Transport layer) and below application protocols like HTTP (Application layer). It provides secure transport for application data without modifying the transport-layer functionality. In the 4-layer IP model, SSL effectively inserts itself between these two layers.

Multiple choice server
  1. Windows Explorer

  2. User manager

  3. Primary Domain Controller

  4. Server manager

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

Server Manager in Windows NT provides centralized administration for shared resources, user sessions, and directory replications. While Windows Explorer can create basic shares, Server Manager is the dedicated administrative tool for comprehensive share management.