100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

Tutorials Computer Networks (CN)

Rating
-
Sold
-
Pages
28
Uploaded on
11-10-2024
Written in
2022/2023

Tutorials Computer Networks (CN) Year 1 (2022/2023) Computer Science and Engineering at TU Delft Tutorials 1 Error Detection 2 Error Correction and Control 3 Network Layer 4 Transport Layer (1) 5 Transport Layer & Application Layer 6 Security

Show more Read less
Institution
Course










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
October 11, 2024
Number of pages
28
Written in
2022/2023
Type
Other
Person
Unknown

Subjects

Content preview

Tutorials - Computer Networks CSE1405
CSE TU Delft - Lieke Sanders

Tutorial 1 - Error Detection
1 Parity bits
2 Parity words
3 Checksums
4 Cyclic Redundancy Checks
Tutorial 2 - Error Correction and Control
1 Parity blocks
2 Hamming codes
3 Sliding window protocol
Tutorial 3 - The Network Layer
1 Distance Vector Routing
2 Link State Routing
3 CIDR
Tutorial 4 - The Transport Layer 1
1 TCP Sequence Numbers
2 Forbidden Region
Tutorial 5 - Transport Layer & Application Layer
1 Transport Layer
2 Application Layer
Tutorial 6 - Security
1 S-box
2 P-box
3 RSA Encryption
4 RSA Decryption

,Tutorial 1 - Error Detection

1 Parity bits

1.1 The following bit strings are received messages with a parity bit added. Assuming an
even parity, which of them are guaranteed to be wrong?




Method 1 - Check if number of 1s in received messages is even




Method 2 - Consider message without parity bit, compute parity bit, and check if it fits




1.2 In the previous question, you detected an error with one or more messages. Can you (as
a receiver) determine the correct version of these message(s)?

No, parity checks only detect errors but cannot correct them since we don’t know where the
error occurred

1.3 In the first question, we saw that the parity bit method could not detect an error with
some messages. Can we be sure that these messages were correctly transmitted?

No, we cannot be 100% sure. Parity bits with even parity cannot detect errors that flip an
even number of bits. For example, if the sent bit stream is 1111 0000 0000(2) and the
received bit stream is 1111 1111 1111(2), the error is not detected because of the even
number of bit flips (8 of them)

, 2 Parity words

A sender and receiver communicate by a protocol which uses parity words for error
detection. Both know that the data block is a 6 × 8 matrix and the protocol uses even parity.
The receiver receives the following message:




a Does the receiver find any error?
Add the columns together and look at the parity




No, the receiver can not find an error

b Did the receiver receive the bit sequence correctly?




The receiver cannot be sure about the correctness of the bit sequence. For example, the bits
shown in squares may have been flipped
$3.69
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
liekesanders

Also available in package deal

Get to know the seller

Seller avatar
liekesanders Technische Universiteit Delft
Follow You need to be logged in order to follow users or courses
Sold
3
Member since
1 year
Number of followers
0
Documents
11
Last sold
7 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions