Search quizzes/

Computer & IT Basics: Notes for Railway, SSC & UPSC Exams

CPU and memory, storage units, binary numbers, input and output devices, software and translators, networks, internet protocols, abbreviations and cyber safety.

60-second revision

  • CPU = ALU + Control Unit + registers. It is called the brain of the computer.
  • RAM is volatile; ROM is non-volatile. Cache sits between CPU and RAM for speed.
  • 1 byte = 8 bits; 1 nibble = 4 bits; 1 KB = 1,024 bytes (binary convention).
  • Compiler translates the whole program at once; interpreter goes line by line.
  • IPv4 = 32-bit addresses; IPv6 = 128-bit. DNS turns domain names into IP addresses.
  • Tim Berners-Lee invented the WWW (1989, CERN); Charles Babbage is the father of the computer.
  • PARAM 8000 (C-DAC, 1991) was India's first supercomputer.
  • Phishing = fake messages to steal credentials; a firewall filters network traffic.

Inside a computer

  • The CPU (Central Processing Unit) is the brain. Its Arithmetic Logic Unit (ALU) does calculations and comparisons; its Control Unit (CU) directs the flow of instructions; registers are tiny, fastest storage inside it.
  • Primary memory: RAM (Random Access Memory) holds running programs and is volatile — it is wiped when power goes. ROM (Read Only Memory) is non-volatile and stores firmware such as the BIOS that starts the computer.
  • Cache memory is a small, very fast memory between the CPU and RAM. Speed order: registers > cache > RAM > secondary storage.
  • Secondary storage keeps data permanently: hard disk (magnetic), SSD and pen drive (flash), CD, DVD and Blu-ray (optical).
  • The motherboard connects everything; an SMPS supplies power; a GPU handles graphics.

Memory units

UnitEqual to
BitA single 0 or 1
Nibble4 bits
Byte8 bits
Kilobyte (KB)1,024 bytes
Megabyte (MB)1,024 KB
Gigabyte (GB)1,024 MB
Terabyte (TB)1,024 GB
Petabyte (PB)1,024 TB
ThenExabyte, Zettabyte, Yottabyte

Number systems

Computers work in binary (base 2: digits 0 and 1). Other systems you meet are octal (base 8), decimal (base 10) and hexadecimal (base 16, using 0–9 and A–F, where A = 10 and F = 15).

  1. Decimal to binary: write the number as a sum of powers of 2 (16, 8, 4, 2, 1). Example: 11 = 8 + 2 + 1, so 11 = 1011.
  2. Another example: 25 = 16 + 8 + 1, so 25 = 11001.
  3. Binary to decimal: add the place values of the 1s. Example: 10010 = 16 + 2 = 18.
  4. Check: a binary number ending in 1 is always odd; ending in 0 is always even.

Input and output devices

InputOutputBoth
Keyboard, mouse, scannerMonitor, printerTouchscreen
Joystick, light pen, microphone, webcamPlotter, speaker, projectorModem
Barcode reader, OMR, OCR, MICRHeadphonesNetwork card

OMR (Optical Mark Recognition) reads filled bubbles on answer sheets; OCR (Optical Character Recognition) turns printed text into editable text; MICR (Magnetic Ink Character Recognition) reads the magnetic-ink numbers at the bottom of bank cheques.

Software and language translators

  • System software runs the machine — the operating system (Windows, Linux, macOS, Android) manages memory, files and devices.
  • Application software does user tasks — word processors, browsers, spreadsheets.
  • Machine language (binary) is the only language a CPU understands directly. Assembly language uses short codes (mnemonics); high-level languages (C, Java, Python) read like English.
  • Compiler: translates the whole program before running and lists all errors together — fast to run afterwards.
  • Interpreter: translates and runs one line at a time and stops at the first error.
  • Assembler: converts assembly language into machine code.

History in brief

GenerationTechnologyExample
FirstVacuum tubesENIAC
SecondTransistorsIBM 1401
ThirdIntegrated circuitsIBM System/360
FourthMicroprocessorsPersonal computers
FifthArtificial intelligence, parallel processingOngoing

Charles Babbage designed the Analytical Engine and is called the father of the computer; Ada Lovelace wrote what is considered the first program for it. India's first supercomputer, PARAM 8000, was built by C-DAC in 1991 under Vijay Bhatkar. Supercomputer speed is measured in FLOPS (floating-point operations per second).

Networks and the internet

  • By size: PAN (personal, e.g. Bluetooth) < LAN (a building) < MAN (a city) < WAN (countries). The internet is the largest WAN.
  • Modem = modulator-demodulator (converts digital signals for phone or cable lines). A router forwards data between networks; a switch connects devices within a LAN.
  • Topologies: bus, star, ring, mesh, tree. In a star, every device connects to a central hub or switch.
  • The internet grew out of ARPANET (USA, 1969). TCP/IP, its core protocols, were designed by Vint Cerf and Bob Kahn.
  • The World Wide Web — pages linked by hyperlinks — was invented by Tim Berners-Lee at CERN in 1989. The web runs on the internet; they are not the same thing.
  • Every device online has an IP address. IPv4 addresses are 32 bits long; IPv6 addresses are 128 bits. DNS (Domain Name System) translates names like example.com into IP addresses.
  • Ray Tomlinson sent the first network email (1971) and chose the @ symbol.
AbbreviationFull form
URLUniform Resource Locator
HTMLHyperText Markup Language
HTTPSHyperText Transfer Protocol Secure
FTPFile Transfer Protocol
SMTPSimple Mail Transfer Protocol
ISPInternet Service Provider
USBUniversal Serial Bus
BIOSBasic Input Output System
GUIGraphical User Interface
ASCIIAmerican Standard Code for Information Interchange
PDFPortable Document Format
OTPOne-Time Password

Cyber safety

  • Virus: attaches to files and spreads when they are run. Worm: spreads on its own across networks. Trojan: malware disguised as useful software. Ransomware: locks files and demands payment. Spyware: secretly collects data.
  • Phishing: fake emails, SMS or sites posing as banks or companies to steal passwords, card numbers or OTPs. Banks never ask for OTPs or PINs.
  • Defences: firewall (filters network traffic), antivirus, regular updates, strong passwords and two-factor authentication.

Test yourself: 10 questions, 30 s each

Every answer is explained. Free, no sign-up.

Start the quiz