Courses / HEC NSCT – National Skill Competency Test: Complete Preparation for Computing Graduates
7.3 Transport, Routing and Application Protocols
Area 7 – Computer Networks & Cloud Computing (10%) · 45 min read · 12 MCQs to check yourself
TCP vs UDP
| TCP | UDP |
|---|---|
| Connection-oriented (3-way handshake: SYN → SYN-ACK → ACK) | Connectionless |
| Reliable: acknowledgements, retransmission, ordering | No guarantee of delivery or order |
| Flow control (sliding window) and congestion control | Low overhead, faster |
| Web, email, file transfer, SSH | Video streaming, VoIP, online games, DNS queries |
Well-known ports
| Port | Protocol |
|---|---|
| 20/21 | FTP |
| 22 | SSH (secure remote login) |
| 23 | Telnet (insecure) |
| 25 | SMTP (send email) |
| 53 | DNS |
| 67/68 | DHCP |
| 80 | HTTP |
| 110 / 143 | POP3 / IMAP (receive email) |
| 443 | HTTPS |
| 3306 / 5432 | MySQL / PostgreSQL |
Routing
Routers choose paths using routing tables. Static routing (manual) vs dynamic routing protocols:
- Distance vector – RIP (hop count, max 15).
- Link state – OSPF (Dijkstra's shortest path).
- Path vector – BGP, the routing protocol of the Internet between autonomous systems.
ICMP carries error and diagnostic messages – used by
pingandtraceroute. TTL stops packets looping forever. Switching: circuit switching (fixed path – old telephone) vs packet switching (Internet). VLANs split one switch into separate logical networks.
TCP vs UDP comparison (PowerCert Animated Videos)
This lesson ends with a quiz of 12 MCQs. Open the lesson on PrepOasis to take it and save your progress.
Previous: 7.2 IP Addressing and Subnetting · Next: 7.4 Wireless Networks and Network Security