Internet, Networking and Cyber Security for SSC: The Complete Basics

A friendly, exam-ready guide to networking and Internet questions in SSC CGL and CHSL: network types, topologies, devices, protocols and ports, IP addresses and DNS, email, browsers, malware, firewalls, encryption and safe online habits, with worked examples and quick checks.

Reviewed by (19 years teaching)Written with AI helpReport a mistake

9 min read · Published 2 November 2026

Part of SSC CGL prep

India Post, but for data

Think of the Internet as India Post. Every house has a postal address and PIN code, just as every device has an IP address. The local post office sorts letters inside one area, like a switch inside a LAN. The big sorting centres decide which city a letter goes to next, like routers. And the rules for writing an address on the envelope are like protocols: if everyone follows the same rules, a letter from Kolkata reaches Chennai without anyone meeting. Keep this picture in mind and most networking terms fall into place.

What SSC asks from this chapter

SSC CGL (Tier-II computer module) and CHSL ask short, factual questions here: full forms, which protocol does what, which topology matches a description, the size of an IP address, or which malware behaves in a certain way. A few need a small calculation, such as the number of links in a mesh or the time to download a file. Comparison tables are the fastest way to learn it.

Types of networks

TypeFull formArea coveredExample
PANPersonal Area NetworkA few metres around one personPhone and earphones over Bluetooth
LANLocal Area NetworkRoom, building or campusSchool computer lab
MANMetropolitan Area NetworkA cityCable TV network of a city
WANWide Area NetworkCountries and continentsThe Internet

Network topologies

TopologyHow devices connectKey point
BusAll on one shared backbone cableA break in the backbone brings the network down
StarEach device to a central hub or switchEasy to manage; central device failure stops all
RingClosed loop, each device has two neighboursData travels around the loop
MeshDirect links between devicesVery reliable but needs many cables
TreeHierarchy of star networksUsed in large organisations
Links in a full mesh of n devices = n(n - 1) ÷ 2. Each device needs (n - 1) ports.

Worked example: mesh cables

An office wants a full mesh of 8 computers. How many cables are needed?

Links = 8 × 7 ÷ 2 = 56 ÷ 2 = 28.

Each computer needs 8 - 1 = 7 ports.

56 is the trap: it counts each cable from both ends.

Quick check

How many links are needed to connect 5 computers in a full mesh topology?

Network devices

Who does what

  • Hub: repeats incoming data to every port.
  • Switch: sends data only to the right port, using MAC addresses (inside a LAN).
  • Router: joins different networks and forwards packets using IP addresses.
  • Repeater: boosts a weakened signal so it can travel further.
  • Modem: converts digital signals to a form that travels over phone or cable lines and back (MOdulator-DEModulator).
  • NIC (network interface card): connects a computer to a network and carries the MAC address.

Protocols and ports

A protocol is a fixed set of rules for communication. The Internet runs on the TCP/IP family: IP gives every packet an address and route, TCP makes delivery reliable, and application protocols such as HTTP and SMTP sit on top.

ProtocolFull formUsed forDefault port
HTTPHyperText Transfer ProtocolWeb pages80
HTTPSHTTP SecureEncrypted web pages (padlock)443
FTPFile Transfer ProtocolUploading and downloading files21
SMTPSimple Mail Transfer ProtocolSending email25
POP3Post Office Protocol 3Receiving email (download)110
IMAPInternet Message Access ProtocolReceiving email (synced on server)143
SMTP SENDS mail; POP3 and IMAP RECEIVE it. TCP is reliable and connection-oriented; UDP is faster but gives no guarantee. Options in SSC are usually built by swapping these pairs.

IP addresses, DNS and URLs

What happens when you type a website name

  1. 1You type www.example.in in the browser.
  2. 2DNS looks up the name and returns its IP address, like a phone directory.
  3. 3The browser connects to that IP address, usually over HTTPS on port 443.
  4. 4The server sends the page back, and the browser displays it.
TermSize or formExample
IPv4 address32 bits, four numbers 0 to 255192.168.1.10
IPv6 address128 bits, eight hexadecimal groups2001:db8::1
MAC address48 bits, fixed on the network card00:1A:2B:3C:4D:5E
LoopbackReserved address for the same computer127.0.0.1 (localhost)

Worked example: reading a URL

URL: https://www.example.gov.in/results/2026.html

https = protocol (secure web).

www.example.gov.in = domain name; .in = country-code top-level domain for India.

/results/2026.html = path to the page on that server.

Worked example: download time

How long does a 50 MB file take on a 20 Mbps connection (ignore overheads, 1 byte = 8 bits)?

Convert to bits: 50 MB × 8 = 400 megabits.

Time = 400 ÷ 20 = 20 seconds.

Dividing 50 by 20 to get 2.5 seconds is the trap: MB is bytes, Mbps is bits.

Email and browsers

An email address is written as username@domain. 'To' is the main recipient, 'CC' (carbon copy) sends a copy that everyone can see, and 'BCC' (blind carbon copy) sends a copy while hiding that person from all other recipients. A browser (Chrome, Firefox, Edge, Safari) is the program that displays web pages, while a search engine (Google Search, Bing) is a website that finds pages for you.

Malware: know the family

TypeHow it behaves
VirusAttaches to a host file and spreads when that file is run
WormCopies itself across networks on its own, no host file needed
Trojan horsePretends to be useful software; does not self-replicate
RansomwareEncrypts or locks files and demands payment
Spyware / KeyloggerSecretly collects information or records keystrokes
AdwareShows unwanted advertisements

Quick check

Which malware spreads by itself from computer to computer over a network without attaching to any file?

Staying safe: firewall, encryption and good habits

Security tools and terms

  • Firewall: allows or blocks network traffic according to rules; it does not clean infected files (antivirus does).
  • Encryption: turns readable plaintext into unreadable ciphertext; decryption reverses it.
  • Symmetric encryption uses one shared key; asymmetric (public-key) encryption uses a public and a private key.
  • Secret message to Priya: encrypt with Priya's public key; only her private key opens it.
  • Digital signature: the sender signs with their own private key, and anyone verifies with the sender's public key.
  • Phishing: fake messages or sites pretending to be a bank or office to steal passwords and OTPs.
  • DDoS: many infected computers (a botnet) flood a server so real users cannot reach it.
  • Two-factor authentication: password plus a second proof such as an OTP or fingerprint.
Cyber safety in daily life: never share an OTP, PIN or password with anyone, including callers who claim to be from your bank; check for https and the correct spelling of a website before entering details; keep software updated; and keep a backup of important files. These habits defeat phishing, keyloggers and ransomware.
Exam strategy: revise this chapter as five tables (network types, topologies, devices, protocols with ports, malware types). In the exam, find the row the question describes and eliminate options taken from the neighbouring row. Calculation questions (mesh links, download time) are quick marks if you write the formula first.

Ready to test yourself?

Lock it in with the practice test for this chapter.

Take the practice test

Keep studying

See all SSC CGL study material →