Home Python C Language C ++ HTML 5 CSS Javascript Java Kotlin SQL DJango Bootstrap React.js R C# PHP ASP.Net Numpy Dart Pandas Digital Marketing

Computer Science Networking


Question 1:What is a computer network?

A computer network is a group of interconnected computers and devices that communicate with each other and share resources, such as files, printers, and internet connections.

Question 2:Explain the difference between a LAN and a WAN.

  • LAN (Local Area Network): A network that is confined to a small geographic area, such as a single building or campus. It is typically used for connecting personal computers and workstations to share resources and information.
  • WAN (Wide Area Network): A network that covers a broad area, such as a city, country, or even globally. WANs are used to connect multiple LANs and other types of networks, often via leased telecommunication lines.

Question 3:What is an IP address?

An IP address (Internet Protocol address) is a unique identifier assigned to each device connected to a network that uses the Internet Protocol for communication. It allows devices to locate and communicate with each other.

Question 4:Explain the difference between IPv4 and IPv6.

  • IPv4: Uses a 32-bit address scheme, allowing for approximately 4.3 billion unique addresses. It is written in decimal format (e.g., 192.168.1.1).
  • IPv6: Uses a 128-bit address scheme, allowing for a vastly larger number of addresses. It is written in hexadecimal format (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334).

Question 5:What is the OSI model, and why is it important?

The OSI (Open Systems Interconnection) model is a conceptual framework used to understand and implement network protocols in seven layers: Physical, Data Link, Network, Transport, Session, Presentation, and Application. It standardizes networking functions to allow interoperability between different systems and protocols.

Question 6:Describe the function of each layer in the OSI model.

  • Physical Layer: Deals with the physical connection between devices and the transmission of raw binary data over a medium.
  • Data Link Layer: Provides error detection and correction, and frames data for the Physical layer.
  • Network Layer: Handles routing of data packets between devices across different networks.
  • Transport Layer: Ensures reliable data transfer with error recovery and flow control (e.g., TCP).
  • Session Layer: Manages sessions or connections between applications.
  • Presentation Layer: Translates data formats between the application and the network.
  • Application Layer: Provides network services directly to user applications (e.g., HTTP, FTP).

Question 7:What is TCP/IP, and how does it relate to the OSI model?

TCP/IP (Transmission Control Protocol/Internet Protocol) is a suite of communication protocols used to interconnect network devices on the internet. It roughly maps to the OSI model but uses four layers: Link, Internet, Transport, and Application.

Question 8:Explain the difference between TCP and UDP.

  • TCP (Transmission Control Protocol): A connection-oriented protocol that ensures reliable data transfer with error checking, acknowledgments, and flow control.
  • UDP (User Datagram Protocol): A connectionless protocol that sends data without establishing a connection, providing lower latency but no guarantee of delivery, ordering, or error checking.

Question 9:What is a subnet mask, and why is it used?

A subnet mask is used to divide an IP address into a network and host portion. It helps in determining the subnet to which an IP address belongs, facilitating routing and efficient IP address management. For example, a subnet mask of 255.255.255.0 indicates that the first three octets are the network part, and the last octet is for host addresses.

Question 10:What is a default gateway?

A default gateway is a network node that serves as an access point to other networks, typically used to route traffic from a local network to external networks or the internet. It is usually the IP address of a router on the local network.




Advertisement





Q3 Schools : India


Online Complier

HTML 5

Python

java

C++

C

JavaScript

Website Development

HTML 5

Python

java

C++

C

JavaScript

Campus Learning

C

C#

java