Computer basics and typing
What happens inside a computer and across the internet, how to keep accounts safe, and touch typing on English and Korean keyboards.
Learning path
- 1
How computers workIntro6 unitsabout 135 min - 2
Touch typingIntro6 unitsabout 139 min - 3
How the internet worksBasic6 unitsabout 142 min - 4
Online safetyIntermediate6 unitsabout 134 min
Course map
Computer basics and typing · Courses: 4Under the case and down the cable
These four courses are for people who use a computer every day and want to know what it is doing. You flip bits, wire logic gates, step a small computer through its program, and send packets through a simulator that lets you drop them or cut a link. The safety course follows NIST SP 800-63B-4, CISA and KISA and recommends no product. The typing course works on a US QWERTY keyboard and on the Korean 2-set keyboard.
Figures from the units
Intel's 4004 of 1971 held 2,300 transistors. The letter A is stored as 65, and in UTF-8 a Korean syllable takes three bytes. Wiring 10 computers directly to each other takes 45 cables. HTTPS servers listen on port 443. With a 50 ms round trip, an HTTPS page needs at least 200 ms before the first byte of HTML arrives. A six-digit sign-in code has 1,000,000 values, so a thief with five guesses has a 1 in 200,000 chance. And in typing speed a "word" is any five characters, which makes "rhinoceros" two words.
Beliefs worth checking
A byte holds numbers up to 255, not 256. More RAM does not make the CPU faster. The internet and the web are not the same thing. The padlock in the address bar does not mean the site is safe, and incognito mode does not hide what you visit from your ISP. Changing a password every 90 days is no longer the advice; NIST asks for at least 15 characters when a password is used on its own, and no forced changes. Photos that sync to the cloud are not a backup. On the Korean keyboard, ㄲ is Shift and ㄱ, not ㄱ typed twice.
Questions about this subject
Why does 10 mean two in binary?
Binary place values increase by powers of two rather than powers of ten. The rightmost position is worth one and the next is worth two, so binary 10 means one two and no ones. The same written digits therefore need a stated number base before you can decide whether they represent two or ten. How computers work
Why can one byte store 255 but not 256 as an unsigned number?
Eight bits provide 256 different patterns, but the all-zero pattern is already needed to represent zero. Counting from zero leaves 255 as the largest value rather than 256. Four bits follow the same rule with sixteen patterns and a largest value of fifteen, so the number of patterns and the maximum stored value differ by one. How computers work
Is one text character always one byte?
No: UTF-8 uses different byte counts for different characters. ASCII characters use one byte, é uses two, and a Korean syllable such as U+D55C uses three. A limit measured in bytes can therefore fill much sooner with Korean text than with English, even when the visible character count looks similar to the reader. How computers work
What is the difference between a kilobyte and a kibibyte?
The standard defines a kilobyte as 1,000 bytes and a kibibyte as 1,024 bytes, written kB and KiB. Older usage can mix decimal and binary meanings under the same familiar name. A drive containing 500 billion bytes is about 465.66 GiB, so a smaller displayed number can reflect a different unit rather than missing storage. How computers work
Does binary overflow always stop a computer with an error?
An adder can simply retain the bits it has space for and discard the extra carry. With four bits, adding nine and eight leaves 0001, which looks like an ordinary result despite being wrong for that sum. The processor sets a flag, but the program must check it rather than assume every overflow automatically stops execution. How computers work