chapter 2

0.0(0)
studied byStudied by 6 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

What is a data packet?

  • Unit of data sent over a network.

  • Contains a header, payload, and trailer.

2
New cards

What is included in a packet header?

  • Sender and receiver IP addresses.

  • Packet sequence number.

  • Packet size.

3
New cards

What is the payload in a data packet?

Contains the actual data being transmitted.

4
New cards

What is the trailer in a data packet?

  • Marks the end of the packet.

  • Includes error-checking information.

5
New cards

What is packet switching?

  • Method where data is divided into packets.

  • Packets are sent independently and reassembled at the destination.

6
New cards

What are the three types of data transmission?

  • Simplex: One-way only (e.g., computer to printer).

  • Half-duplex: Both ways but one at a time (e.g., walkie-talkie).

  • Full-duplex: Both ways simultaneously (e.g., broadband)

7
New cards

What are the two transmission methods?

  • Serial: One bit sent at a time (better for long distances).

  • Parallel: Multiple bits sent simultaneously (faster for short distances).

8
New cards
<p><strong>What are the features of USB?</strong></p>

What are the features of USB?

  • Asynchronous serial transmission method.

  • Four-wire shielded cable.

    • Two for power and ground.

    • Two for data transmission.

9
New cards

what happens when a device is connected to a usb port

  • Automatically detects that the device has been connected

  • Automatically recognises and the appropriate device driver is loaded so that the device can communicate with the computer

  • If the device is new, the computer will look for a matching device driver

  • If one cannot be found then the user must download and install an appropriate driver manually

10
New cards

What are the advantages of USB?

  • Automatically detected.

  • Prevents incorrect connections.

  • Different data transmission rates.

  • Backward compatible.

11
New cards

What are the disadvantages of USB?

  • Limited transmission speed (<120 MB/sec).

  • Maximum cable length of 5 meters.

12
New cards

What are the methods for error detection?

  • Parity checks (even/odd).

  • Checksum.

  • Echo check.

  • Check digits.

  • Automatic Repeat Requests (ARQ).

13
New cards

What is a parity check?

Ensures the number of 1-bits matches the specified parity (even/odd).

14
New cards

What is a checksum?

  • Sender calculates checksum value.

  • Receiver recalculates to verify accuracy.

15
New cards

What is an echo check?

Data is sent back to the sender for verification

16
New cards

What are check digits?

Additional digit calculated from other digits (e.g., ISBN).

17
New cards

what is ARQ?

  • protocol that notifies sender that an error has occurred and the data received is incorrect

18
New cards

how does ARQ work

  • If an error is detected, the receiver sends a negative acknowledgment transmission indicating the data is corrupted.

  • If no error is detected, the receiver sends a positive acknowledgment transmission meaning the data is correct.

  • If the receiver does not send any acknowledgment transmission, the sender waits for a time-out period before resending the data.

  • This process is repeated until all data has been received and acknowledged.

19
New cards

What is encryption?

Converts data into unreadable form to prevent unauthorized access.

20
New cards

What are plaintext and ciphertext?

  • Plaintext: Original data.

  • Ciphertext: Encrypted data.

21
New cards

What are the types of encryption?

  • Symmetric: Same key for encryption and decryption.

  • Asymmetric: Uses public and private keys.

22
New cards

how are files transmitted using packet switching

Data is broken/split/divided into packets

  1. Each packet (could) take a different route

  2. A router controls the route/path a packets takes

  3. ..selecting the shortest/fastest available route/path 

  4. Packets may arrive out of order

  5. Once the last packet arrived, packets are reordered

  6. If a packet is missing/corrupted, it is requested again

23
New cards

 how is data encrypted using symmetric encryption

  1. Data is encrypted and decrypted using the same key

  2. Plain text encrypted into cipher text

  3. data encrypted using algorithm that uses key

  4. key transmitted to receiver

24
New cards

An odd parity check is used to detect errors in the data transmission.

Explain how the odd parity check detects errors

  1. Number of 0s and 1s counted

  2. parity bit added to each byte

  3. to make sum of bits 1s and 0s odd

  4. after transmission, if number even, error detected

25
New cards

purpose of encryption

keeps data secure