first commit

This commit is contained in:
Boris
2024-01-15 20:14:10 +00:00
commit 8c81ee28b7
3106 changed files with 474415 additions and 0 deletions

View File

@@ -0,0 +1,93 @@
## Lecture 1 (12:00)
### Flow Control
If sender sends data faster than recipient can consume it, the recipient must store the data in a buffer until it is ready - in RAM or storage.
If this happens for a sustained period, the buffer gets full, and any excess data is discarded.
Flow Control is the mechanism that ensures the sender stops transmitting before the buffer is full to prevent wasted bandwidth.
- Full Duplex (Two way negotiation)
- Destination has received all frames sent so far
- Destination is ready to receive more data.
- Data and control info can flow simultaneously
- Simplex (one way) transmission system, we cant have two-way negotiation
### Packets
- Frame / Packet is a chunk of data with a fixed or max size.
- May stand alone or be fragments of larger items
- Dividing data gives us chance to send management info between frames.
- Extra overhead = Slight loss of efficiency.
- Propagation Time vs Transmission Time
- Propagation Time is the amount of time it takes for one particular signal to get from one point to another.
- Transmission Time is the total amount of data that can be sent from one place to another in a given period of time.
#### Sliding Windows Flow Control
- Every packet is numbered in sequence.
- **Window Size** defines the number of packets that can be sent by the sender without needing an acknowledgement from the recipient
- Amount of space recipient reserves for buffer space to be used for conversations with this particular sender.
- Recipient will periodically tell the sender the start of the window
- This way , the sender can send packets up to (windowStart + windowSize - 1)
- Used in the TCP protocol on the internet.
![](Pasted%20image%2020231030122822.png)
![](Pasted%20image%2020231030122739.png)
### Error Correction
- Fix the Error (FEC)
- Ask for the frame containing the error to be re-transmitted - Automatic Repeat ReQuest / Query (ARQ)
- Throw away the frame containing the error
- Usual, and ARQ requires it
- Ignore the error
- Useful for low quality streaming multimedia data
- Dangerous in networking, as it often matters where the error is.
#### Forward Error Correction (FEC)
- Represent something using more bits than needed. An error results in an invalid value that can be rounded to the nearest valid one.
- The more extra bits, the better redundancy gained.
- Simple ex.
- Majority Voting:
- Transmit each bit 3+ times (000, 111)
- For the recipient, 001/010/100 are rounded to 0
- 110/101/011 are rounded to 1
#### Re-transmission
- If we cannot fix the error, ask for retransmission
- We need a return channel to ask, so we cannot do this over simplex channels ( ex. TV )
- Must be unicast ( cannot be performed over broadcast / multicast data )
- Data must be time independent ( cannot be used for realtime data such as multimedia )
#### Go-Back-N ARQ
- Pairs with Sliding Windows Flow Control.
- Recipient discards a packet if it contains an error
- You notice you have discarded the packet when you receive the next packet with an out of sequence number.
- When noticed, discard packet and request sender to backpedal to last correct packet.
- Sender re-transmits all packets started from missing packet.
- Sender polls for a response if no acknowledgement is received (assumed lost)
- Recipient re-sends last acknowledgement.
## Lecture 2 (15:00)
### Sliding Windows Flow Control
#### Parameters of Communication
- **A** will send 8 packets to **B**
- Transmission time (time to put on network) for a packet is 1 "time unit"
- Transmission time for acknowledgement is 0 "time units"
- Propagation Time (time to travel through network) is 2 "time units"
- **B**'s packet processing time is 1 "time unit" (then acknowledges)
- Initial **Window Size** is 3
#### Legend
- Thick border (yellow bg) = Sliding Window
- Black number = in process of send
- Red number = sent but no acknowledge
- Green number = sent and acknowledged
![](Pasted%20image%2020231030152517.png)

View File

@@ -0,0 +1,175 @@
Arman Arshad:cc1
Mark De Souza:cc1
Mihai Raul Blaga:cc1
Michalis Kefalas:cc1
Alweh Almohsin:cc1
Naser Alrashidi:cc1
Timea Kereszturi:cc1
Santiago Vassoler:cc1
Arif Khan:cc1
Babacar Ba:cc1
Akram Alsaleh:cn1
William Coulson:cc1
Abdullah Ali:cc1
Michael Campbell:cn1
Joshua Cherian:cn1
Harry Page:wd1
Mohemmed Sitab:cn1
David Davies:cc1
Mohammed Ntambiye:cc1
Alex Chrisham:cn1
Ruby Miller-Lawson:wd1
Josephine Mullally:cc1
Emma Cudworth:cn1
Ilsan-Ul-Haq Khan:cn1
Adal Khan:cn1
Salman Shah:wd1
Sara Nejad:wd1
Qaiser Hussain:cn1
Deming Meng:cc1
Ayubalayefa Fitzgerald Ebieritei:cc1
Liam Croft:cc1
Robert Dobson:cc1
Matthew Hargraves:cn1
Nabeel Iqbal:cc1
Dean McAndrew:cc1
Liam Middleton:wd1
Georgios Pilavas:cc1
Ussama Qadir:cn1
Marc Reed:cc1
Matthew Smith:cc1
Nathan Thornton:cc1
Robert Adams:cc1
Nadeem Ahmed:cc1
Dan Brown:cc1
James Burgess:cc1
Dylan Eckersall:cc1
Jindrich Gorner:cc1
George Jemison-Bates:cc1
Akab Khan:cn1
Darren Maguire:cc1
Michael Manville:cc1
Lee Moore:cc1
Zabir Patel:cn1
Umar Raees:cn1
Daniel Rutherford:cc1
Ivan Totev:cc1
Umar Adam:cc1
Ryan Bailey:cc1
Cameron Campbell:cc1
Dilli Chhetri:cn1
Tony Deverill:cc1
Joseph Fleet:cc1
Andrew Gilluley:cc1
Timothy Hilditch:cc1
Joshua Kisler:cc1
Jack Latham:cn1
Will Lound:cc1
Liam Maguire:cn1
Sam May:cc1
Matthew McDermott:cc1
Muminur Rahman:cn1
Harry Richardson:cn1
Zaafir Salam:cc1
Reagan Turner:cn1
Robert Woolvin:cc1
Saman Abbas:cn1
Ityaab Ahmed:cn1
Joshua Cobb:cn1
Jarred Cranfield:cn1
Conor Glascoe:cn1
Jack Harris:cn1
Preston Leigh:cn1
Stanislav Miloradov:cn1
Adam Montgomery:wd1
Ali Nadeem:cc1
Jack Ormrod:cc1
Marcin Poneta:cn1
Georgia Rey:cn1
Lukasz Romerowicz:cc1
David Stubbs:cc1
Donatos Tassis:cc1
Matthew Wragg:cc1
Mohsin Akujee:cn1
Obaid Amiri:cn1
Sulaymaan Babar:cc1
Jarryd Bethune:wd1
Ellis Delaney:wd1
Jack Fielding:cn1
Igor Filipek:wd1
Tyler Kelly:cc1
Adam Lawson:cc1
Ben Monaghan:cc1
Jake Ramsden-Finnegan:cc1
Ollie Steer:cc1
Ryan Wallace:cc1
Brad Cantel:cc1
Shannon Beswick:cc1
Mohammed Shah:cn1
Kris Gibson:cc1
Yazn Achtar:cc1
Mahir Ahmed:cc1
Pedrom Ameli-Savehchi:cn1
Georgina Beckett:cc1
Stephen Carr:cn1
Mark Chaffer:cc1
Ben Evans:cc1
Roberto Graham:cc1
Ksistof Grunt:wd1
John Jackson:cn1
Martin McCourt:cc1
Jamie Orchison:cc1
Fizan Saddique:cn1
Michael Sutton:cc1
Alex Hopkinson:cc1
Konstantinos Papa:cn1
Ali Shah:cc1
Milad Yahya:cn1
Josh Catterson-Reid:cc1
Isavella Chrysanthou:cc1
Jill Dacanay:wd1
Shelton Madire:cn1
Hussein Mohammed:cc1
Kane Stephens:cc1
Ahmad Wali:cc1
Shakeal Mahmood:cn1
Daniella Middleton:wd1
Nawal Saheb:cc1
Charles Packman:cn1
Noman Ghous:cc1
Reece Matthews:cc1
Jayed Miah:cc1
Mohammed Zakariya Kalang:cc1
Hani Samir:cc1
Ryan Davis:cc1
Mohamed Shehata:cc1
Omar Aljewari:cc1
Mohammed Ullah:cn1
Atif Hassan:cn1
Ryan Sharkey:cc1
Irfan Jamil:cn1
Aroba Waheed:cc1
Safwana Mohammed:cc1
Edward Robertson:cc1
Mohamed Ibrahim:wd1
Helly Liking:cn1
Azham Syed:cc1
Daniel Turrell:cc1
Connor Scott:cc1
Alexander Dawson:cc1
Sajid Jan:cc1
Adebanjo Adegboye:cn1
Navin Bajgai:cc1
Ansoumane Konde:cc1
Justyna Rodzevic:wd1
Karl Sparham:wd1
Hassan Buyondo:cn1
Minhaj Patel:cc1
Leonel Dos Santos Muzobo:cn1
Matthew Spafford:cc1
Mushir Faisal:cc1
Arslaan Qadus:cc1
Amit Budhathoki:cn1
Umar Ali:cn1
Hamdraza Rana:wd1
Adam Ulanowski:cc1

View File

@@ -0,0 +1,6 @@
* David_Beckham_(1996-2009),_115_Caps
* Bobby_Charlton_(1958-1970),_106_Caps
* Steven_Gerrard_(2000-2012),_100_Caps
* Bobby_Moore_(1962-1973),_108_Caps
* Peter_Shilton_(1970-1990),_125_Caps
* Billy_Wright_(1946-1959),_105_Caps

View File

@@ -0,0 +1,25 @@
#!/bin/bash
if test -d completed/; then
rm -f completed/*
else
mkdir completed
fi
cat level1.txt | while read LINE; do
name=$(echo $LINE | cut -d : -f 1)
course=$(echo $LINE | cut -d : -f 2)
firstname=$(echo $name | cut -d " " -f 1)
familyname=$(echo $name | cut -d " " -f 2-)
outputfile="$course-$familyname.txt"
if test -e completed/"$outputfile"; then
outputfile="$course-$familyname $firstname.txt"
fi
cat template | sed -r -e "s/^NAME/$firstname/" \
-e "s/COURSE$/\U$course/" \
-e "/:/!p" \
-e "/^.*($course|everyone).*:/!d; s///" \
> completed/"$outputfile"
done

View File

@@ -0,0 +1,15 @@
NAME
Assessment dates
================
This is to remind you of upcoming assssesssssment dates for COURSE
cc1: CSIL around 14th December 2015
cc1,wd1,cn1: Databases - some time 11th-22nd January 2016
everyone: PD&P - some time 11th-22nd January 2016
cc1: Java - some time 11th-22nd January 2016
wd1,cn1: Invented module - Invented date 2016
Please don't ask if you don't have any questions
Programme Leader