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
  1. 7

  2. 1

  3. 6

  4. 2

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

The Physical layer (Layer 1) transmits raw, unstructured bit streams over physical transmission media. It deals with electrical, mechanical, and functional specifications for activating and deactivating physical connections. Higher layers add structure and meaning to these bits.

Multiple choice networking
  1. 255.0.0.0

  2. 255.255.0.0

  3. 255.255.255.0

  4. 255.255.255.255

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

Class C IP addresses use the first three octets for the network portion, resulting in a default subnet mask of 255.255.255.0. 255.0.0.0 is the default for Class A, and 255.255.0.0 is the default for Class B.

Multiple choice networking
  1. True

  2. False

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

ARP maps IP addresses (Layer 3) to MAC addresses (Layer 2) to enable communication on local networks. When a device needs to send data to a local IP address, it broadcasts an ARP request to discover the corresponding MAC address. This resolution is essential for Ethernet communication.

Multiple choice networking osi-model
  1. physical

  2. transport

  3. network

  4. MAC sublayer of the data link layer

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

Routers operate at the Network layer (Layer 3) of the OSI model because they make forwarding decisions based on logical IP addresses. Switches typically operate at Layer 2 (Data Link), and hubs operate at Layer 1 (Physical).

Multiple choice networking osi-model
  1. data link

  2. transport

  3. physical

  4. presentation

  5. application

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

The Data Link layer (Layer 2) is responsible for taking bits from the Physical layer and organizing them into logical units called frames. It also handles physical addressing (MAC) and error detection. The Transport layer uses segments, and the Network layer uses packets.

Multiple choice networking osi-model
  1. application, presentation, session, transport, network, data link, physical

  2. session, presentation, data transport, MAC, network, physical

  3. physical, data link, network, transport, session, presentation, application

  4. application, encryption, network, transport, logical link control, physical

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

To answer this question, the user needs to have an understanding of the OSI (Open Systems Interconnection) model, which is a conceptual framework used to describe how data is transmitted over a network. The model is divided into seven layers, and each layer is responsible for a specific aspect of the communication process.

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

A. application, presentation, session, transport, network, data link, physical: This option is correct. The OSI model layers, from top to bottom, are application, presentation, session, transport, network, data link, and physical. This sequence spells out the mnemonic "All People Seem To Need Data Processing," which can be used to help remember the order of the layers.

B. session, presentation, data transport, MAC, network, physical: This option is incorrect. The layers listed in this option are not in the correct order, and some of the layer names are incorrect. For example, "data transport" is not a layer in the OSI model, and "MAC" refers to the Media Access Control sublayer, which is part of the data link layer.

C. physical, data link, network, transport, session, presentation, application: This option is incorrect. The order of the layers is incorrect, starting with the physical layer and ending with the application layer.

D. application, encryption, network, transport, logical link control, physical: This option is incorrect. The layer names are not correct, and "encryption" is not a layer in the OSI model.

Therefore, the correct answer is:

The Answer is: A. application, presentation, session, transport, network, data link, physical.

Multiple choice networking osi-model
  1. FTP and HTTP

  2. SMTP

  3. UDP

  4. midi and jpeg

  5. all of the above

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

The presentation layer (Layer 6) handles data format translation, encryption, compression, and MIME types. MIDI and JPEG are data representation formats that operate at this layer. FTP and HTTP operate at the application layer, SMTP at the application layer, and UDP at the transport layer.

Multiple choice networking osi-model
  1. TCP and UDP

  2. ATM

  3. CISC

  4. HTTP and FTP

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

The transport layer (Layer 4) provides end-to-end communication services. TCP and UDP are the primary transport layer protocols. ATM operates at the data link layer, CISC is a CPU architecture, and HTTP/FTP are application layer protocols.

Multiple choice networking osi-model
  1. presentation and session

  2. application and presentation

  3. application, presentation, and session

  4. application, presentation, session, and transport

  5. application

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

In the OSI model, the 'upper layers' are generally considered to be the Application (7), Presentation (6), and Session (5) layers. These layers deal with user interface, data formatting, and session management, whereas the lower four layers handle the actual transport of data across the network.

Multiple choice networking osi-model
  1. transport

  2. presentation

  3. data link

  4. netwrok

  5. application

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

To answer this question, the user needs to know about the different layers of the OSI model and their functions.

Error detection and recovery are functions that are performed at different layers of the OSI model, but the most common layer where it takes place is the Transport layer.

Options A, B, and E are incorrect because error detection and recovery do not take place at the Transport layer.

Option C, Data Link layer is also incorrect, because this layer is responsible for error detection and correction only for the local network segment.

Option D, Network layer is also incorrect, because this layer is responsible for routing and logical addressing.

Therefore, the correct answer is:

The Answer is: A (Transport)

Multiple choice networking osi-model
  1. application

  2. session

  3. transport

  4. netwrok

  5. data link

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

The session layer (Layer 5) is responsible for establishing, maintaining, and terminating communication sessions between applications on different devices. It manages dialog control and synchronization. The application layer interfaces with applications, while transport handles end-to-end delivery.

Multiple choice networking osi-model
  1. transport

  2. network

  3. data link

  4. presentation

  5. session

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

To answer this question, the user needs to know about the OSI model and the different layers.

The OSI model is a conceptual model that describes how data is transmitted over a network. It has seven layers, each of which has a specific role in the communication process. These layers are:

  1. Physical
  2. Data Link
  3. Network
  4. Transport
  5. Session
  6. Presentation
  7. Application

The IP (Internet Protocol) is implemented at the network layer of the OSI model.

Therefore, the correct answer is:

The Answer is: B. network

Multiple choice networking osi-model
  1. application

  2. presentation

  3. transport

  4. netwrok

  5. data link

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

To answer this question, the user needs to have a basic understanding of the layers of the OSI model and their functions.

The layer that handles the formatting of application data so that it will be readable by the destination system is the presentation layer.

Explanation of each option:

A. application: The application layer is responsible for providing network services to the user's applications. It is the highest layer of the OSI model and includes protocols such as HTTP, FTP, SMTP, and Telnet. It does not handle the formatting of application data.

B. presentation: The presentation layer is responsible for the formatting and representation of data. It is responsible for converting data into a format that is readable by the destination system. This layer is also responsible for data encryption and compression. Therefore, option B is correct.

C. transport: The transport layer is responsible for the reliable transfer of data between two devices. It provides services such as segmentation, error recovery, and flow control. It does not handle the formatting of application data.

D. network: The network layer is responsible for the routing of data between devices on different networks. It is responsible for data addressing and packet forwarding. It does not handle the formatting of application data.

E. data link: The data link layer is responsible for the reliable transfer of data between two devices on the same network. It provides services such as error detection and correction, flow control, and access to the physical layer. It does not handle the formatting of application data.

Therefore, the answer is: B. presentation.