Unit 1: Introduction to Computer Networks Flashcards

(25 cards)

1
Q

What is a computer network?

A

A computer network is a system in which multiple computers or devices are connected to share resources and information. These devices use communication protocols over digital interconnections.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why are reference models used in networking?

A

Reference models like OSI and TCP/IP provide a standardized framework for understanding and designing networks. They help in interoperability, modular development, and troubleshooting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the purpose of the OSI model?

A

The OSI model divides the networking process into seven layers to standardize communications and provide a conceptual framework for understanding interactions between different systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the layers of the OSI model?

A

The OSI model has seven layers: Physical Data Link Network Transport Session Presentation Application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does the TCP/IP model differ from the OSI model?

A

The TCP/IP model has four layers: Link Internet Transport Application. Unlike the theoretical OSI model, TCP/IP is more practical and used in real-world networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why is TCP/IP widely used?

A

TCP/IP is used because it is robust, scalable, interoperable, and forms the basis of the modern Internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is meant by peer-to-peer communication in networking?

A

Peer-to-peer (P2P) communication involves systems acting as both clients and servers, allowing direct data exchange without relying on centralized servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the role of sockets in networking?

A

A socket is an endpoint for sending or receiving data across a computer network. It includes an IP address and a port number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why are ports used in networking?

A

Ports identify specific processes or services on a device. For example, port 80 is used for HTTP, and port 443 for HTTPS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is data encapsulation in networking?

A

Data encapsulation involves wrapping data with protocol-specific headers as it moves down the OSI layers for transmission, and removing them at the receiver.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a repeater and when is it used?

A

A repeater is a network device that regenerates and amplifies signals to extend the transmission distance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the difference between a hub and a switch?

A

A hub broadcasts data to all connected devices, while a switch sends data only to the intended recipient based on MAC addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why is a switch preferred over a hub?

A

Switches are more efficient and secure, reducing collisions and bandwidth wastage, unlike hubs which cause network congestion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a bridge in networking?

A

A bridge connects two different LAN segments and filters traffic to reduce collisions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a router and what is its function?

A

A router connects different networks and forwards data packets based on IP addresses. It is essential for Internet connectivity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the function of a gateway?

A

A gateway acts as a protocol converter, connecting different types of networks (e.g., LAN to Internet) and translating data formats.

17
Q

Why is a MAC address needed if we have IP addresses?

A

MAC addresses identify devices at the data link layer within the same network, while IP addresses are used at the network layer for inter-network communication.

18
Q

What is network topology?

A

Network topology refers to the physical or logical arrangement of nodes and links in a network, such as bus, ring, star, mesh, etc.

19
Q

What is the difference between physical and logical topology?

A

Physical topology is the actual layout of cables and devices, while logical topology defines the data flow path regardless of physical layout.

20
Q

Why is mesh topology more fault-tolerant?

A

Mesh topology has multiple paths between nodes, so a failure in one link doesn’t disrupt communication.

21
Q

What is the benefit of using layered models in networking?

A

Layering simplifies network design, allows interoperability, and isolates issues for easier troubleshooting and updates.

22
Q

What is the difference between connection-oriented and connectionless communication?

A

Connection-oriented communication (e.g., TCP) establishes a reliable connection before data transfer, whereas connectionless (e.g., UDP) sends data without setup.

23
Q

Why is the application layer important in the OSI model?

A

The application layer provides network services directly to user applications such as email, FTP, and web browsing.

24
Q

What is the transport layer responsible for?

A

The transport layer ensures reliable data transfer through mechanisms like segmentation, acknowledgment, flow control, and error handling.

25
What is the purpose of segmentation in networking?
Segmentation divides large messages into smaller pieces for efficient transmission and reassembles them at the destination.