chap 1 + problems Flashcards

1
Q

What is a computer network?

A

set of nodes connected by communication links, facilitating data exchange.

Key components:
* end devices (computers, printers),
* intermediary nodes (routers, switches),
* the communication links themselves (wired or wireless).

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

What are the types of data communication?

A

Simplex, half-duplex, full-duplex, multiplexing

**Simplex is
**one-way communication,
**half-duplex
**allows two-way communication but not simultaneously,
**full-duplex
**allows simultaneous two-way communication.
**Multiplexing:
**Combining multiple data streams into a single channel.

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

Describe the ‘nuts and bolts’ view of the Internet.

A

Focuses on hardware and infrastructure, like packet switches, communication links, and protocols.

It emphasizes the physical components that make up the Internet.

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

Describe the ‘services’ view of the Internet.

A

Emphasizes applications and services like the Web, streaming video, and email.

It includes the programming interfaces used to access these services.

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

What is a protocol in computer networks?

A

A set of rules governing how data is transmitted and received between devices on a network.

Protocols ensure effective communication and define the format, order, and actions during message exchange.

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

What are client hosts and server hosts?

A

Client hosts request services/resources; server hosts provide services/resources.

Example: A computer using a web browser is a client; a web server hosting websites is a server.

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

What is packet switching?

A

A method where data is divided into smaller packets, each routed independently to the destination.

It allows for more efficient use of network resources.

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

Explain the store-and-forward mechanism.

A

Requires each intermediate node to receive the entire packet before forwarding it to the next node.

This ensures that packets are completely received before they are passed on.

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

What is the difference between circuit switching and packet switching?

A

Circuit switching establishes a dedicated path for the entire session; packet switching shares network resources by sending data in packets.

Circuit switching is like a phone call, while packet switching is more efficient for bursty data.

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

List the four sources of packet delay.

A

Processing delay
* time it takes for a router or network device to process a packet upon receiving
queueing delay,
* time a packet spends waiting in a router’s output queue before being transmitted. The delay varies based on the number of packets in the queue and the rate at which packets are transmitted
transmission delay,
* time it takes to push all the bits of a packet into the link
propagation delay
* time it takes for a signal to travel from the source to the destination

Each type of delay affects the overall time it takes for a packet to reach its destination.

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

What is Bandwidth?

A

The maximum rate of data transfer across a network, typically measured in bits per second (bps).

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

What is a Bottleneck Link?

A

The link in a network path with the lowest capacity, limiting the overall throughput.

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

What is Circuit Switching?

A

A method of data transmission that establishes a dedicated communication path between two devices for the duration of the session.

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

What is a Client?

A

A device or application that requests services from a server.

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

What is Data Communication?

A

The exchange of data between two or more devices over a transmission medium.

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

What is Denial of Service (DoS)?

A

An attack that makes a resource unavailable to legitimate users by overwhelming it with bogus traffic.

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

What is Encryption?

A

The process of converting data into a coded form to prevent unauthorized access.

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

What is an End System (Host)?

A

A device connected to a network that runs applications for communication.

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

What is Full-Duplex?

A

A communication mode that allows simultaneous two-way data flow.

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

What is Half-Duplex?

A

A communication mode that allows two-way data flow, but not simultaneously.

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

What is the Internet?

A

A global network of interconnected computer networks using standardized communication protocols.

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

What is an Internet Service Provider (ISP)?

A

An organization that provides internet access to end users and businesses.

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

What is Latency (Delay)?

A

The time it takes for data to travel from source to destination across a network.

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

What is a Local Area Network (LAN)?

A

A network that connects devices within a limited geographical area.

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

What is a Metropolitan Area Network (MAN)?

A

A network that spans a metropolitan area, typically covering a city or large campus.

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

What is the Network Core?

A

The central part of a computer network that facilitates high-speed data transfer between networks.

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

What is the Network Edge?

A

The boundary of a computer network where end-user devices connect.

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

What is a Packet?

A

A small unit of data transmitted over a network.

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

What is a Protocol Stack?

A

A layered set of protocols used for network communication, with each layer responsible for specific functions.

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

What is a Router?

A

A networking device that forwards data packets between different networks.

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

What is Scalability?

A

The ability of a network to grow and adapt to increasing demands.

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

What is Security?

A

Protecting data, systems, and users from unauthorized access, damage, or disruptions.

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

What is a Server?

A

A device or application that provides services to clients.

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

What is Simplex?

A

A communication mode that allows one-way data flow.

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

What is a Switch?

A

A networking device that connects multiple devices within a network, forwarding data to specific destinations.

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

What is Throughput?

A

The rate of successful data transmission over a network, measured in bits per second (bps).

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

What is Topology?

A

The arrangement of network elements (links, nodes) in a computer network.

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

What is a Wide Area Network (WAN)?

A

A network that connects multiple LANs over a broader geographical area.

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

What is a protocol stack?

A

A protocol stack is organized into layers, with each layer responsible for specific functions related to communication between devices.

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

What are the two commonly known models for protocol stacks?

A

The two commonly known models are the OSI (Open Systems Interconnection) model and the TCP/IP model.

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

What does the Physical Layer (Layer 1) deal with?

A

The Physical Layer deals with the physical connection between devices and specifies the electrical and mechanical characteristics of transmission.

42
Q

What is the responsibility of the Data Link Layer (Layer 2)?

A

reliable transmission of data frames between directly connected nodes over a physical link.

43
Q

What protocols operate at the Data Link Layer?

A

Ethernet and Wi-Fi operate at the Data Link Layer.

44
Q

What does the Network Layer (Layer 3) handle?

A

logical addressing, routing, and forwarding of data between devices across different networks.

45
Q

Which protocol is key at the Network Layer?

A

IP (Internet Protocol) is a key protocol at the Network Layer.

46
Q

What is the function of the Transport Layer (Layer 4)?

A

provides end-to-end communication between devices on different hosts, ensuring reliable and orderly data transfer.

47
Q

Which protocols operate at the Transport Layer?

A

TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) operate at the Transport Layer.

48
Q

What does the Session Layer (Layer 5) manage?

A

establishes, manages, and terminates sessions between applications.

49
Q

What is the role of the Presentation Layer (Layer 6)?

A
  1. data translation
  2. encryption
  3. compression.
50
Q

What does the Application Layer (Layer 7) provide?

A

provides network services directly to end-users or applications.

51
Q

What are some protocols included in the Application Layer?

A

Protocols for tasks such as email (SMTP), file transfer (FTP), and web browsing (HTTP) are included in the Application Layer.

52
Q

What is the Link Layer equivalent to in the OSI model?

A

Physical + Data Link Layers in the OSI model.

53
Q

What is the Internet Layer equivalent to in the OSI model?

A

Network Layer in the OSI model.

54
Q

What is the Transport Layer equivalent to in the OSI model?

A

Transport Layer in the OSI model.

55
Q

What does the Application Layer correspond to in the OSI model?

A

Presentation + Application Layers in the OSI model.

56
Q

What is Bus Topology?

A

All data transmitted between nodes in the network is transmitted over a common transmission medium. All nodes in the network receive the data simultaneously.

57
Q

How does data travel in Bus Topology?

A

Signal containing the address of the intended machine travels from the source machine in both directions to all machines connected to the bus until it finds the intended recipient.

58
Q

What are the advantages of Bus Topology?

A
  1. Only one wire so less expensive.
  2. Suitable for temporary network.
  3. A node failure does not affect other nodes.
  4. Easy to add new devices to the network.
59
Q

What are the disadvantages of Bus Topology?

A
  1. Limited cable length so size impacted.
  2. No security.
  3. Does not provide fault tolerance; if the central cable fails, the entire network may be affected.
60
Q

What is Ring Topology?

A

bus topology in a closed loop where each device is connected to exactly two other devices.

61
Q

How does data circulate in Ring Topology?

A

Data circulates in one direction around the ring until it reaches its destination.

62
Q

What are the advantages of Ring Topology?

A
  1. Better performance than bus topology.
  2. All nodes have equal access.
  3. No central hub or switch, reducing the risk of a single point of failure.
  4. The path that data takes is predictable and easy to understand.
63
Q

What are the disadvantages of Ring Topology?

A
  1. If there is a break in the ring, the entire network may be affected.
  2. Expanding the network can be challenging, and adding or removing devices can disrupt the network.
  3. As more devices are added, the performance of the network may decrease.
64
Q

What is Star Topology?

A

Every node is connected to a central node called a switch or hub. Centralized management. All traffic should pass through the hub switch.

65
Q

What are the disadvantages of Star Topology?

A
  1. Single point of failure affects the whole network.
  2. Bottleneck to overloaded hub/switch.
  3. Increase cost due to hub/switch.
66
Q

What are the advantages of Star Topology?

A
  1. Easy to design and implement.
  2. Centralized administration.
  3. It is relatively easy to expand the network by adding more devices.
67
Q

What is Mesh Topology?

A

Each node is directly connected to every other node in the network. It is fault tolerant and reliable.

68
Q

What are the advantages of Mesh Topology?

A
  1. Fault tolerant as it withstands failures in individual links or devices without affecting the overall network.
  2. Reliable as if one link or device fails, alternative paths are available.
  3. With multiple paths, the network can support high data transfer rates.
69
Q

What are the disadvantages of Mesh Topology?

A
  1. Issue with broadcasting messages.
  2. Expensive and impractical for large networks.
  3. adding more devices can become challenging and costly.
70
Q

What is Hybrid Topology?

A

A combination of two or more topologies that benefits from all kinds of topologies.

71
Q

What are the advantages of Hybrid Topology?

A
  1. More flexible, scalable, and secure.
  2. The ability to manage high traffic volumes.
72
Q

What are the disadvantages of Hybrid Topology?

A
  1. High costs.
  2. Installation challenges.
  3. More hardware requirement.
73
Q

Header Information (packet switching)

A

Each packet includes a header containing:
1. source and destination addresses
2. packet sequence number
3. error checking information.

74
Q

Frequency Division Multiplexing
(FDM) (circuit switching)

A

▪ optical, electromagnetic frequencies
divided into (narrow) frequency
bands

75
Q

Time Division Multiplexing (TDM) (circuit switching)

A

▪ time divided into slots
▪ each call allocated its own band, can
transmit at max rate of that narrow
band
▪ each call allocated periodic slot(s), can
transmit at maximum rate of (wider)
frequency band (only) during its time
slot(s)

76
Q

Jitter: (performance measure)

A

Variation in latency, impacting real-time applications like video conferencing.

77
Q

Packet Loss (performance measure)

A
  • Rate at which data packets fail to reach their destination
  • Common causes of packet loss
    1. include network congestion,
    2. inadequate bandwidth
    3. network interference
    4. hardware failures
    5. errors in data transmission
78
Q

Security Measures (7):

A
  1. Access control
  2. Data encryption:
  3. Network security:
  4. Application security:
  5. System hardening: Configuring systems and applications securely, minimizing attack
  6. Data backup and recovery:
  7. Security awareness and training:
79
Q

IP spoofing

A

injection of packet with false source address

80
Q

packet “sniffing”

A

promiscuous network interface reads/records all packets (e.g.,
including passwords!) passing by

81
Q

What is encapsulation in networking?

A

process where each layer in the protocol stack adds a header to the data it receives from the layer above.
(ex) (think of stacking russian dolls)
The application-layer message (M) is encapsulated with a transport-layer header (Ht), creating a transport-layer segment (Ht M).

82
Q

encapsulation (forms of data)

A

Message: application-layer message (M), such as an email or a web page request.
*
Segment: The transport layer encapsulates the message by adding a transport layer header (Ht) to the message M, creating a segment (Ht M).
*
Datagram: The network layer encapsulates the segment by adding a network layer header (Hn) to the segment (Ht M), creating a datagram (Hn [Ht | M]).
*
Frame: The link layer encapsulates the datagram by adding a link layer header (Hl) to the datagram (Hn [Ht | M]), creating a frame (Hl [Hn | [Ht | M]])

83
Q

Propagation Delay Equation:

A

Propagation Delay = Distance(meters) / Propagation Speed

Example: A fiber-optic cable connecting two locations 150 kilometers apart has a speed of light of approximately 2 * 10^8 meters per second. The propagation delay is calculated as (150 * 1000 meters) / (2 * 10^8 meters per second) = 0.00075 seconds.

84
Q

Transmission Delay Equation:

A

Transmission Delay = Packet size (bits) / Transmission rate (bits/second)
1GBytes=8Gbits

Example: Transmitting a 1 gigabyte (GB) file over a network with a bandwidth of 100 megabits per second (Mbps) results in a transmission delay of (1 GB * 8) / 100 Mbps = 80 seconds

85
Q

Processing Delay Equation:

A

Processing Delay = Time to Examine + Time for Lookup + Queuing Delay + Time to Buffer
*
Example: A router with a Time to Examine of 2 milliseconds, Time for Forwarding Table Lookup of 1 millisecond, Queuing Delay of 0.5 milliseconds, and Time to Buffer of 1 millisecond has a processing delay of 2 ms + 1 ms + 0.5 ms + 1 ms = 4.5 milliseconds

86
Q

Queueing Delay Equation:

A

Queueing Delay = Number of Bits in the Queue / Transmission Rate

Example: transmission rate of 2 Mbps and a queueing delay of 4 milliseconds
0.004 seconds * 2 * 10^6 bps

87
Q

Total Delay Equation:

A

Total Delay = Propagation Delay + Transmission Delay + Processing Delay + Queueing Delay
*
Example: A packet with a Propagation Delay of 5 milliseconds, Transmission Delay of 10 milliseconds, Processing Delay of 2 milliseconds, and Queueing Delay of 3 milliseconds experiences a total delay of 5 ms + 10 ms + 2 ms + 3 ms = 20 milliseconds

88
Q

Throughput Equation:

A

Throughput = Amount of Data / Time(Ms)
*
Example: If a network link with a bandwidth of 100 Mbps has an average end-to-end delay of 200 milliseconds for a 4 MB file, the throughput is (4 MB * 8 bits) / 200 ms = 160 Mbps

89
Q

Ring topology (cable and port calc)

A

Cables = N
ports = 2x N

90
Q

star topology (cable and port calc)

A

cables = N
ports = N

91
Q

bus topology (cable and port calc)

A

cables = N
ports=N

92
Q

mesh topology (cable and port calc)

A

Cables = N * (N-1)/2
Ports= N * ( N-1)

93
Q

Bytes(Gb) to bits

A

1 GB = 8 bits

94
Q

transmission rate

A

of MBps x 10^6 bps

95
Q

seconds to millseconds

A

seconds×10^3

=milliseconds(ms)

96
Q

Kilometers to Meters

A

km×1000=meters(m)

97
Q

Storage Area Network(SAN)

A

is a dedicated network separate from
(LAN) or (WAN).

designed specifically for storage-related tasks

98
Q

Physical media

A

physical communication channels or transmission
media used to transport data between devices

99
Q

Guided media

A

known as wired media, is a communication
route that transmits signals by physical cables or wires. E.g. Twisted Pair
Cable (TP), Coaxial Cable, Fiber Optic Cable

100
Q

Unguided media

A

known as wireless media, refers to the transmission
of signals across the air without the usage of physical wires. E.g. Radio
Waves, Microwaves, Infrared, Satellite Communication

101
Q

Components of computer network

A

Nodes, media, services