© 2026 schoolict.net (Ruwan Mangala Suraweera)
6.8 Transport Protocols: TCP and UDPප්රවාහන ප්රොටොකෝල: TCP සහ UDP
Grade 12 A/L ICT · Lesson 612 ශ්රේණිය A/L ICT · පාඩම 6
In this videoමේ වීඩියෝවේ
- Ports select applications.පෝට්.
- UDP = simple datagrams.UDP.
- TCP = reliable streams.TCP.
- DNS often UDP; web often TCP.DNS/වෙබ්.
- Transport sits above IP.IP ඉහළින් ප්රවාහන.
Notesසටහන්
Syllabus 6.8. IP delivers to a host; transport delivers to an application process using ports. UDP is simple; TCP is connection-oriented and reliable.විෂය නිර්දේශය 6.8. IP ධාරකයට; ප්රවාහන පෝට් මගින් යෙදුමට. UDP සරලයි; TCP විශ්වාසනීයයි.
1. Process to process1. ක්රියාවලි දෙකක්
Many apps share one IP. Port numbers multiplex conversations (e.g. 80/443 web, 53 DNS).එක් IP එකක යෙදුම් බොහෝ; පෝට් මගින් වෙන් කරයි.
2. UDP and TCP2. UDP සහ TCP
UDP: connectionless, low overhead, unreliable – DNS, some streaming. TCP: connection-oriented, reliable, ordered – HTTP, email, file transfer.UDP සරල/අවිශ්වාසනීය; TCP විශ්වාසනීය.
UDP = fast, no connection. TCP = reliable byte stream.UDP = වේගවත්, සම්බන්ධතාවයක් නැත. TCP = විශ්වාසනීය byte stream.
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1Why ports?පෝට් ඇයි?
2UDP properties?UDP?
3TCP properties?TCP?
4UDP app example?UDP උදා?
5TCP app example?TCP උදා?
6IP alone enough?IP පමණක්ද?
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
1Ports identifyපෝට්
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
App endpoints.යෙදුම් අන්ත.
2UDP isUDP
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Datagram.ඩේටාග්රෑම්.
3TCP isTCP
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Reliable stream.විශ්වාසනීය.
4DNS commonly usesDNS
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
UDP 53.UDP 53.
5Web HTTP commonly usesHTTP
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
TCP.TCP.
6Multiplexing meansබහුකරණය
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Many apps.යෙදුම් බොහෝ.
7Without portsපෝට් නැතිව
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Which app?කුමන යෙදුමද?
8TCP retransmission helpsTCP
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Reliability.විශ්වාසනීයත්වය.
9Which term means: “Process-to-process delivery”?“ක්රියාවලි-ක්රියාවලි” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Transport layer – Process-to-process delivery.ප්රවාහන ස්ථරය – ක්රියාවලි-ක්රියාවලි.
10Which term means: “Number identifying an endpoint”?“අන්ත ලක්ෂ්ය අංකය” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Port – Number identifying an endpoint.පෝට් – අන්ත ලක්ෂ්ය අංකය.
11Which term means: “Many apps sharing one IP”?“එක් IP එකක යෙදුම් බොහෝ” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Multiplexing – Many apps sharing one IP.බහුකරණය – එක් IP එකක යෙදුම් බොහෝ.
12Which term means: “Unreliable datagram transport”?“අවිශ්වාසනීය ඩේටාග්රෑම්” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
UDP – Unreliable datagram transport.UDP – අවිශ්වාසනීය ඩේටාග්රෑම්.
13Which term means: “Reliable connection-oriented transport”?“විශ්වාසනීය සම්බන්ධතාමය” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
TCP – Reliable connection-oriented transport.TCP – විශ්වාසනීය සම්බන්ධතාමය.
14Which term means: “Independent UDP packet”?“ස්වාධීන UDP පැකට්” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Datagram – Independent UDP packet.ඩේටාග්රෑම් – ස්වාධීන UDP පැකට්.
15Which term means: “TCP session setup”?“TCP සැසි සැකසුම” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Connection – TCP session setup.සම්බන්ධතාව – TCP සැසි සැකසුම.
16Which term means: “TCP retransmits lost data”?“නැති දත්ත නැවත යවයි” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Reliable delivery – TCP retransmits lost data.විශ්වාසනීය බෙදාහැරීම – නැති දත්ත නැවත යවයි.
17Which term means: “Often uses TCP ports 80/443”?“බොහෝ විට TCP 80/443” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
HTTP – Often uses TCP ports 80/443.HTTP – බොහෝ විට TCP 80/443.
18Which term means: “Often uses UDP port 53”?“බොහෝ විට UDP 53” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
DNS – Often uses UDP port 53.DNS – බොහෝ විට UDP 53.
19Which term means: “IP + port pair”?“IP + පෝට්” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Endpoint – IP + port pair.අන්ත ලක්ෂ්යය – IP + පෝට්.
20Which term means: “Extra header/control cost”?“අමතර හෙඩර් පිරිවැය” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Overhead – Extra header/control cost.පොරොත්තු – අමතර හෙඩර් පිරිවැය.
MCQ answer keyMCQ පිළිතුරු
- D – App endpoints.යෙදුම් අන්ත.
- A – Datagram.ඩේටාග්රෑම්.
- D – Reliable stream.විශ්වාසනීය.
- E – UDP 53.UDP 53.
- E – TCP.TCP.
- D – Many apps.යෙදුම් බොහෝ.
- B – Which app?කුමන යෙදුමද?
- D – Reliability.විශ්වාසනීයත්වය.
- C – Transport layer – Process-to-process delivery.ප්රවාහන ස්ථරය – ක්රියාවලි-ක්රියාවලි.
- B – Port – Number identifying an endpoint.පෝට් – අන්ත ලක්ෂ්ය අංකය.
- C – Multiplexing – Many apps sharing one IP.බහුකරණය – එක් IP එකක යෙදුම් බොහෝ.
- A – UDP – Unreliable datagram transport.UDP – අවිශ්වාසනීය ඩේටාග්රෑම්.
- B – TCP – Reliable connection-oriented transport.TCP – විශ්වාසනීය සම්බන්ධතාමය.
- A – Datagram – Independent UDP packet.ඩේටාග්රෑම් – ස්වාධීන UDP පැකට්.
- C – Connection – TCP session setup.සම්බන්ධතාව – TCP සැසි සැකසුම.
- E – Reliable delivery – TCP retransmits lost data.විශ්වාසනීය බෙදාහැරීම – නැති දත්ත නැවත යවයි.
- C – HTTP – Often uses TCP ports 80/443.HTTP – බොහෝ විට TCP 80/443.
- B – DNS – Often uses UDP port 53.DNS – බොහෝ විට UDP 53.
- A – Endpoint – IP + port pair.අන්ත ලක්ෂ්යය – IP + පෝට්.
- E – Overhead – Extra header/control cost.පොරොත්තු – අමතර හෙඩර් පිරිවැය.
Structured Questionsව්යුහගත ප්රශ්න
1Explain process-to-process delivery.ක්රියාවලි-ක්රියාවලි. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
2Define multiplexing with ports.පෝට් බහුකරණය. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
3UDP: properties + apps.UDP. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
4TCP: properties + apps.TCP. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
5Why both UDP and TCP?දෙකම ඇයි? (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
Summary & Downloadsසාරාංශය සහ බාගත කිරීම්
Key pointsප්රධාන කරුණු
- Ports select applications.පෝට්.
- UDP = simple datagrams.UDP.
- TCP = reliable streams.TCP.
- DNS often UDP; web often TCP.DNS/වෙබ්.
- Transport sits above IP.IP ඉහළින් ප්රවාහන.
