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 programming languages
  1. getLocalPort() method

  2. getActivePort() method

  3. By pinging the server

  4. By giving value 0 as port number

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

The getLocalPort() method returns the local port number to which the socket is bound. On the server side, this reveals the port assigned to the ServerSocket. On the client side, it shows the ephemeral port used for the connection. Options B and D are not valid methods or approaches for port discovery.

Multiple choice technology web technology
  1. TCP/IP or UDP port on the server

  2. Reprsents the actual service inv used

  3. Exposes a <service> using a specific protocol binding

  4. None of the above

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

In WSDL, a element defines an individual endpoint by combining a (protocol + data format) with a network address. It exposes the service through a specific protocol binding like SOAP over HTTP. Option A incorrectly refers to transport-layer ports, while B is vague and contains a typo.

Multiple choice technology
  1. True

  2. False

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

Application layer firewalls operate at layer 7 and can perform network address translation as part of their traffic inspection and routing functions. While NAT is more commonly associated with layer 3 devices, ALFs can translate IP addresses and ports as they manage application-level connections and sessions.

Multiple choice technology
  1. Rapid Prototyping Capability

  2. Router Protocol Converter

  3. Remote Power Controller

  4. Remote Procedure Call

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

RPC stands for Remote Procedure Call, which enables a program to execute a procedure on another address space (commonly on another computer) as if it were a local procedure call. It's a fundamental concept in distributed systems and client-server architectures.

Multiple choice technology
  1. Time Control Protocol

  2. Transmission Control Protocol

  3. Transport Control Protocol

  4. Transfer Control Protocol

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

TCP stands for Transmission Control Protocol, which is a core protocol of the Internet Protocol Suite. It provides reliable, ordered, and error-checked delivery of data between applications running on hosts communicating over an IP network. TCP establishes a connection before data transfer and ensures all packets arrive intact and in order.

Multiple choice technology
  1. True

  2. False

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

Every host (end-user device) implements the transport layer because hosts need to run applications that use transport layer services like TCP and UDP. The transport layer is essential for process-to-process communication and is implemented in the operating system of end hosts.

Multiple choice technology
  1. True

  2. False

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

Routers operate at the network layer (Layer 3) and forward packets based on IP addresses. They do NOT implement the transport layer: that's only implemented on end hosts. Routers examine up to Layer 3 headers and don't need Layer 4 functionality for forwarding.

Multiple choice technology
  1. True

  2. False

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

When you examine a packet on an Ethernet link, the headers appear in REVERSE order of encapsulation: Ethernet header (outermost), then IP header, then TCP header, then HTTP header (innermost). Each layer wraps the data from the layer above it.

Multiple choice technology
  1. transmission

  2. propagation

  3. processing

  4. queueing

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

Transmission delay depends on packet size because it's the time to push all bits onto the link (L/R where L is packet length). Propagation delay depends on distance and medium speed, not packet size. Processing and queueing delays are independent of packet length.

Multiple choice technology
  1. True

  2. False

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

TTL is an IP header field used to prevent packets from looping indefinitely by decrementing at each router. It is NOT part of TCP - TCP operates at the transport layer while TTL is a network-layer mechanism.

Multiple choice technology architecture
  1. NNTP

  2. SNMP

  3. IGMP

  4. ARP

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

IGMP (Internet Group Management Protocol) operates at Layer 3 (Network Layer) for multicast group management. NNTP is Application Layer. SNMP is Application Layer. ARP operates at Layer 2 (Data Link Layer) for MAC address resolution.