Skip to content

How Computers & the Internet Work

SAP Implementation Consulting & ERP - Startupistan Germany · Block I · study notes for revision.


Every computer is two halves working together. Hardware is the physical body - the parts I can touch. Software is the instructions that tell the hardware what to do. Hardware with no software is a dead box; software with no hardware is an idea with nowhere to run. Neither is useful alone.

I don’t need every component by name - I need a few parts by what they do, and what breaks when there isn’t enough of each.

PartFull nameJobSymptom when short
CPUCentral Processing UnitDoes the actual work - thinking, calculating”Slow computer” is usually a CPU story
RAMRandom Access MemoryShort-term working space for whatever is open right nowToo little → crawls; a “memory leak” quietly eats it up
StorageSSD / hard driveKeeps files, photos, programs when the power is off”Storage full” → can’t save until you clear space
GPUGraphics Processing UnitDrawing graphics, video, games - and now training/running AIWeak GPU → stuttering video, can’t run heavy games
I/OPeripherals + portsScreen, keyboard, mouse plug in via ports (USB the common one)-

Same core idea scales across desktop, laptop, tablet, phone - each has a processor, memory, storage doing the same jobs. A phone genuinely is a small computer.


Deep down everything - text, images, sound - is stored as numbers built from the bit: a single on/off value, like one light switch. Line up 8 bits and you get 256 patterns - enough for a letter or a shade of colour. That group of 8 bits is a byte, the basic unit.

UnitRoughlyNote
biton/offthe smallest thing there is
byte8 bitsone letter’s worth
KB (kilobyte)~1,000 bytes
MB (megabyte)~1,000 KBa photo is a few MB
GB (gigabyte)~1,000 MBphone storage, RAM
TB (terabyte)~1,000 GBbig drives

Each step is about ×1000. But drives often count 1 GB as 1024 MB, not 1000 - because computers count in twos (powers of two), and 1024 is the power of two nearest a thousand. That’s why a drive shows slightly less than the number on the box. Nothing is faulty.


Hardware alone does nothing usable - something has to organise it and let a human drive it. That’s the operating system (OS): the master program that manages the whole machine and sits between me and the hardware. Open a program, save a file, get online - it all goes through the OS. Windows, macOS, Linux are OSes; Android and iOS are the phone ones.

Everyday controls: the desktop (background with icons), a taskbar (Windows) or dock (Mac) to launch and switch, and four mouse actions that cover almost everything:

  • Click - select / press a button
  • Double-click - open a file or program
  • Right-click - “what can I do with this?” → menu of options
  • Drag - hold and move something

Programs open in windows I can open, close, minimise, resize, and switch between. Moving between windows is basically what “using a computer” feels like all day. (Right-click is the single habit that gets beginners unstuck fastest.)


A file is one named item of stored info (a document, photo, song, program). A folder (a.k.a. directory) is a container that groups files and other folders. Folders nest inside folders → a branching folder tree.

Read a file name as name + type. The bit after the dot is the extension, which tells the computer what kind of file it is and which program opens it:

report.pdf → "report" = my chosen name
".pdf" = the type (PDF document)
holiday.jpg = image budget.xlsx = spreadsheet

A path is just where a file lives in the tree - which folder, inside which folder. (Same concept returns in a terminal later, typed by hand; only the usage changes.)

Managing files = create, rename, move, copy, delete. Deleted things don’t vanish instantly - they wait in the Recycle Bin (Windows) / Trash (Mac) until it’s emptied, so a single accidental delete is recoverable. A few clearly named folders beats one giant pile every time.


ToolExamplesFor
Word processorWord, Google DocsWriting - letters, reports, notes (mostly text)
SpreadsheetExcel, Google SheetsNumbers, lists, tables - anything in rows & columns
PresentationPowerPoint, Google SlidesSlides to show an audience

A spreadsheet is a grid of cells in rows (across) and columns (down), each cell holding one value. That plain grid handles a budget or schedule - and grows into a real data tool later.


Installing = adding a new program: download an installer and run it, or get it from an official store (Microsoft Store, Mac App Store, phone app store). The habit that matters most is where it comes from - stick to the maker’s own site or a trusted store. Unofficial download sites are a top way machines pick up harmful software. If I hesitate, that hesitation is worth listening to.

When something goes wrong, work the method restart → read → search → ask:

  1. Restart the program (or the computer) and reopen - fixes a large share of freezes.

  2. Read any message on screen for a plain-language clue.

  3. Search with specific words: program name + what happened (“[program] freezes when opening a file”).

  4. Ask, describing what I did, what I expected, and what actually happened.


The simplest split in computing: something runs on my machine (in front of me) or on someone else’s machine (reached over the internet). Everything else is a variation of that.

A server is a computer built to serve others - store things and answer requests from many computers at once, running around the clock in cooled, secured buildings. Visiting a website = my machine asking a server to send the page. And “the cloud” is just someone else’s computer - my files/services live on a company’s servers instead of only on my device.

My machinelocal - I own it
→
Serversomeone else’s, over a network
→
The cloudservers in a real building = rent
Three tiers - but really one idea: my computer, or someone else’s, reached over the internet.

Virtualization: one computer acting as many

Section titled “Virtualization: one computer acting as many”

Virtualization makes one physical computer behave as if it were several separate ones. Each pretend computer is a virtual machine (VM) - it runs with its own operating system, walled off from the others, believing it’s a whole machine, even though it’s software on one physical host underneath.

This is why Windows running on a Mac, or Linux inside Windows, is normal, not broken: the physical machine runs its usual OS, and a VM runs a different OS inside a window. People do it to use a program that only exists elsewhere, or to test safely.

Emulates a whole computer including its own full OS. Heavier, strongly isolated. This is what runs Windows-on-a-Mac, and much of the cloud.


Not the same thing. The internet is the global network of connected computers - the infrastructure that lets machines exchange information. The web (World Wide Web) is one service running on it: websites and pages I visit in a browser. Email, video calls, and online games also ride the internet but are not the web. Internet = the road system; web = one kind of traffic on it.

Every web address is a URL, and it reads in parts:

https:// www.example.com /products/shoes
│ │ │
secure domain name path
connection (WHO I'm (which page
(the "s") talking to) on that site)

The domain is the part always worth a glance - it tells me who I’m really connected to (a big safety payoff later).

Every visit is a request → response between a client (my device, the asker) and a server (built to answer):

Clientmy browser
→
DNS lookup”where does this domain live?”
→
Request”send me this page”
→
Server respondspage sent back in small packets
→
Browser reassemblesdraws the page - under a second
Press enter: find the address (DNS), ask (HTTP request), get the page back in packets, reassemble and draw. One computer asked, another answered.

A network is just computers connected so they can exchange information. The names describe the size or job:

TypeStands forWhat it is
LANLocal Area NetworkSmall & local - home or one office
WANWide Area NetworkSpans distances; the internet is the biggest WAN
Wi-Fi-Wireless way onto a LAN (no cable)
Mobile4G / 5GCellular data from a carrier, on the move
VPNVirtual Private NetworkEncrypted tunnel to another network across the public internet
Router-The box that joins my LAN to the internet and directs traffic

A browser (Chrome, Firefox, Edge, Safari) requests and displays web pages. Its everyday parts: tabs (several pages open at once), the address bar (shows the URL, and where I type where to go), back / forward, and refresh (asks the server for a fresh copy - good when a page looks stuck). A bookmark saves a page’s address for one-click return; history is the automatic record of where I’ve been. Downloads land in the Downloads folder - a download is just a new file in a known place.

  1. Be specific. “Laptop problem” returns an ocean; “laptop battery drains fast when closed” returns answers. Include distinctive words - product names, exact error text.

  2. Skim past the ads. The first few results are often paid/sponsored (labelled). The top real result is just the best word-match, not a guarantee of truth.

  3. Change the words, don’t repeat them. If a search misses, rephrase or add a distinctive detail. Two or three reworded tries beat one repeated harder.


Must-knowOne-line recall
CPU / RAM / storageCPU does the work, RAM = working space (do more at once), storage = keep things when off
RAM vs storage upgradeMore RAM = faster multitasking; more storage = hold more - not the same fix
GPUGraphics and video - and now the engine behind AI training/running
Bit vs byte8 bits = 1 byte; everything is stored as on/off bits
Size ladderKB→MB→GB→TB, each ~×1000; 1 GB often 1024 MB (computers count in twos)
MB vs Mbit1 MB = 8 Mbit; files sold in bytes, internet speed in bits
Operating systemMaster program between me and the hardware (Windows, macOS, Linux, Android, iOS)
Right-click”What can I do with this?” - the fastest unstuck habit
File / folder / pathFile = named item, folder = container, path = where it lives in the tree
ExtensionThe bit after the dot = the file’s type and which program opens it
Save vs Save AsSave = update this file; Save As = new separate copy; PDF = fixed, final form
Install safelyOnly from the maker’s site or a trusted store
Stuck vs brokenStuck = don’t know the step yet; broken = it failed - run restart/read/search/ask first
ServerA computer built to answer requests from many others, around the clock
The cloudJust someone else’s computer - real servers in real buildings
On-prem vs cloudOwning vs renting
VirtualizationOne physical machine acting as many VMs, each with its own OS
VM vs containerVM = whole OS, heavy; container = shares host OS, light
Internet vs webInternet = the network; web = one service (sites) running on it
URL partshttps (secure) · domain (who) · path (which page)
Client → serverEvery visit: DNS lookup → HTTP request → page back in packets → reassembled
LAN vs WANLAN = local; WAN = wide; internet is the biggest WAN
VPNEncrypted tunnel into another network - how home workers reach internal systems
RouterThe doorway between my LAN and the internet
Searching wellSpecific words, skim past ads, change the words when a search misses