NSCT Computer Networks & Cloud Computing Revision Notes
These notes condense all 10 official Computer Networks & Cloud Computing topics into the formulas, port numbers, comparisons and traps you need for quick recall. The area carries 10% of the NSCT, according to HEC's Areas of Competencies. In 2026 candidates averaged just 39.6% accuracy here, the second-lowest of all ten areas, per the HEC NSCT report and APP.
How to use them: read one topic, solve its MCQs straight away through the link under it, and write each miss into an error log with the rule you broke. HEC's report put accuracy at 49.5% for Understanding, 45.1% for Application and 44.8% for Analysis questions. In Networks, application means numericals: subnet blocks, CRC remainders, delays and window sizes. Do them on paper.
Data Communication
| Formula | Channel | Equation |
|---|---|---|
| Nyquist | Noiseless | Bit rate = 2 × B × log₂ L |
| Shannon | Noisy | C = B × log₂(1 + SNR) |
- Bit rate counts bits per second; baud rate counts signal elements per second.
- Throughput is what actually arrives, often well below bandwidth.
- Impairments: attenuation, distortion, noise.
- FDM splits frequency, WDM splits wavelength (light), synchronous TDM gives fixed slots even when idle.
Trap: plugging a dB value straight into Shannon. Convert dB to a ratio first. Practise: Data Communication MCQs.
Computer Networks
| OSI layer | PDU | Example |
|---|---|---|
| 7 Application | Message | HTTP, DNS |
| 6 Presentation | TLS, JPEG (encryption, compression) | |
| 4 Transport | Segment | TCP, UDP |
| 3 Network | Packet | IP, ICMP |
| 2 Data link | Frame | Ethernet |
| 1 Physical | Bits | Cables, hubs |
- Full mesh needs n(n − 1)/2 links.
- Hub: one collision domain. Switch: one per port, one broadcast domain. Router: one broadcast domain per interface.
- MAC addresses change per hop; IP addresses stay the same unless NAT is used.
Trap: saying a switch splits broadcast domains. It floods broadcasts to every port. Practise: Computer Networks MCQs and OSI vs TCP/IP.
Data Link Layer
- Bit stuffing (HDLC): insert a 0 after every five consecutive 1s; flag 01111110.
- Parity detects odd numbers of flipped bits only.
- Detect s errors: d_min = s + 1. Correct t errors: d_min = 2t + 1.
- CRC: append r zeros (r = generator degree), divide by XOR. 1001 with 1011 gives codeword 1001110.
- Pure ALOHA peaks at 18.4%, slotted at 36.8%. Wi-Fi uses CSMA/CA, classic Ethernet CSMA/CD.
- Ethernet data 46–1,500 bytes; frame 64–1,518 bytes.
Trap: swapping window limits. Go-Back-N is 2ᵐ − 1; Selective Repeat is 2^(m−1). Practise: Data Link Layer MCQs and CRC error detection.
Network Layer
| Prefix | Addresses | Usable hosts |
|---|---|---|
| /24 | 256 | 254 |
| /26 | 64 | 62 |
| /28 | 16 | 14 |
| /30 | 4 | 2 |
- Block size = 256 − the interesting mask octet.
- Routers use longest-prefix match among routes that contain the destination.
- Distance vector (Bellman-Ford, RIP, 16 = infinity) vs link state (Dijkstra, OSPF).
- TTL drops by 1 per router; fragment offsets count 8-byte units.
- IPv6: 128-bit, fixed 40-byte header, no broadcast,
::only once.
Trap: forgetting "− 2" for usable hosts, or applying it when the question asks for total addresses. Practise: Network Layer MCQs, subnetting and routing algorithms.
Transport Layer
- TCP: handshake, reliable, ordered, 20–60-byte header. UDP: none of that, 8-byte header.
- Handshake: SYN (seq 1000), SYN-ACK (ack 1001), ACK. ACK = next byte expected.
- SYN and FIN each consume one sequence number.
- Slow start doubles cwnd each RTT up to ssthresh; then +1 MSS per RTT.
- Timeout: ssthresh = cwnd/2, cwnd = 1 MSS. Triple duplicate ACK in Reno halves the window.
Trap: mixing flow control (receiver, rwnd) with congestion control (network, cwnd). Practise: Transport Layer MCQs and TCP vs UDP.
Application Layer
| Protocol | Transport | Port |
|---|---|---|
| HTTP / HTTPS | TCP | 80 / 443 |
| DNS | UDP (TCP for zone transfers, large replies) | 53 |
| SMTP | TCP | 25 (587 submission) |
| POP3 / IMAP | TCP | 110 / 143 |
| FTP | TCP | 21 control, 20 data |
| DHCP | UDP | 67 server, 68 client |
- SMTP pushes; POP3 and IMAP pull.
- DNS records: A, AAAA, CNAME, MX, NS, PTR.
- A 169.254.x.x address means no DHCP server answered.
Trap: blaming routing when a host can ping an IP but not a name. That is DNS. Practise: Application Layer MCQs.
Wireless Networks
- 802.11b 11 Mbps (2.4 GHz), a and g 54 Mbps, n = Wi-Fi 4 (MIMO), ac = Wi-Fi 5, ax = Wi-Fi 6 (OFDMA).
- Non-overlapping 2.4 GHz channels: 1, 6, 11.
- SSID is the network name; BSSID is the AP radio's MAC address.
- CSMA/CA: DIFS, random backoff, send, SIFS, ACK. RTS/CTS and NAV reduce hidden-terminal collisions.
- Cellular: frequency reuse across clusters; handoff moves a live session.
Trap: blaming the exposed terminal for collisions. The hidden terminal causes collisions; the exposed one wastes capacity. Practise: Wireless Networks MCQs.
Cloud Computing
| Layer | IaaS | PaaS | SaaS |
|---|---|---|---|
| Application | You | You | Provider |
| Runtime, OS | You | Provider | Provider |
| Virtualisation, hardware | Provider | Provider | Provider |
- NIST's five characteristics: on-demand self-service, broad network access, resource pooling, rapid elasticity, measured service.
- Deployment: public, private, community, hybrid (cloud bursting).
- Type 1 hypervisor runs on hardware (ESXi, Xen, Hyper-V); Type 2 on a host OS (VirtualBox).
- Containers share the host kernel.
Trap: calling private cloud "on-premises only". It means exclusive use, not location. Practise: Cloud Computing MCQs and IaaS vs PaaS vs SaaS.
Network Security (Networks Perspective)
- Stateless filter checks headers per packet; stateful tracks connections; proxy reads the application protocol.
- First-match rules: put "deny all" last. Public servers go in a DMZ.
- IPsec AH authenticates but does not encrypt; ESP encrypts.
- Transport mode protects the payload; tunnel mode wraps the whole packet (VPNs).
- TLS runs above TCP; ephemeral Diffie-Hellman gives forward secrecy.
Trap: saying AH encrypts. Only ESP provides confidentiality. Practise: Network Security MCQs.
Next Generation Networks
- 5G scenarios: eMBB (high rates), URLLC (1 ms latency), mMTC (1 million devices per km²).
- SDN separates the control plane from the data plane; OpenFlow is southbound.
- NFV runs firewalls, NAT and load balancers as software on standard servers.
- IoT: MQTT is publish/subscribe over TCP with a broker; CoAP is REST-style over UDP.
Trap: treating SDN and NFV as the same thing. Neither needs the other. Practise: Next Generation Networks MCQs.
Most-tested comparisons
| Pair | Key difference |
|---|---|
| TCP vs UDP | Reliable, connection-oriented vs connectionless, low overhead |
| Switch vs router | Layer 2, one broadcast domain vs layer 3, one per interface |
| CSMA/CD vs CSMA/CA | Wired Ethernet vs Wi-Fi |
| Distance vector vs link state | Bellman-Ford, RIP vs Dijkstra, OSPF |
| Flow vs congestion control | Protects receiver vs protects network |
| AH vs ESP | Authentication only vs encryption |
| Type 1 vs Type 2 hypervisor | Bare-metal vs hosted |
| IaaS vs PaaS vs SaaS | You manage OS vs runtime managed vs finished app |
| SDN vs NFV | Who controls forwarding vs where functions run |
Last-48-hours checklist
- Write the OSI layers with their PDUs and examples.
- Subnet one address at /26 and /28: network, broadcast, usable hosts.
- Compute one CRC remainder by XOR division.
- Apply Nyquist and Shannon once each.
- Recite the port table above.
- Write the TCP handshake with sequence and ACK numbers.
- Trace slow start and a timeout for four RTTs.
- State the Go-Back-N and Selective Repeat window limits.
- Name the three non-overlapping 2.4 GHz channels.
- Fill in the IaaS, PaaS, SaaS responsibility table.
- Separate AH from ESP, and transport from tunnel mode.
- Match smart meters, robots and video to the 5G scenarios.
- Redo your error log, then one timed set in subject-wise mock tests.
For a one-page summary with port numbers and layer maps, use the Networks & Cloud cheat sheet. All topics are listed on the Networks & Cloud MCQ hub.
FAQs
Why is Networks such a weak area for NSCT candidates?
The 2026 average was 39.6%, per HEC's report. HEC does not break this down by topic, but Networks questions often need arithmetic (subnet blocks, CRC, delays, windows) or precise recall of ports and layers, and small slips change the answer. Daily numericals on paper fix this faster than reading.
What is the fastest way to learn subnetting?
Memorise the prefix table from /24 to /30, then use the block-size method: 256 minus the interesting mask octet gives the step, and the multiple of that step containing the host is the network address. Do ten addresses a day on the subnetting practice page until it takes under a minute.
Do I need to memorise port numbers?
Yes, the common ones: HTTP 80, HTTPS 443, DNS 53, SMTP 25, POP3 110, IMAP 143, FTP 21 and 20, DHCP 67 and 68. Also learn which run over UDP: DNS queries and DHCP. Port questions are quick recall marks, so they are worth the few minutes it takes.
How much cloud computing should I revise?
Cloud is one of the ten topics, so give it proportionate time. Focus on the NIST definition and its five characteristics, the three service models with the responsibility split, the four deployment models and the two hypervisor types. These cover most cloud questions.
When should I start Networks revision?
Early, because it is a weak area for most students and numericals need repetition. Our 30-day plan gives it extra blocks, and the 7-day plan repeats subnetting in the final week. See how to improve your score for using mocks to target weak topics.
Next step
Start with subnetting practice, then test every area together in an NSCT mock test.