How does a hard drive store information magnetically?
Short answers to 8 questions from The Encyclopedia of How. Each answer is the opening of the full entry in the book.
How does a hard drive store information magnetically?
A hard disk drive stores data on rapidly spinning platters coated with magnetic material. A tiny read/write head mounted on an actuator arm flies extremely close to each platter surface without normally touching it during operation.
How does a computer turn binary code into useful information?
Computers represent information as patterns of bits, but the meaning of those bits depends on agreed formats and software. A bit pattern might represent an integer, part of a photograph, a machine instruction, a sound sample, or encoded text.
How does a computer run several programs at the same time?
A computer can keep many programs active by letting the operating system schedule their threads on available processor cores. On a single core, the processor switches rapidly among runnable tasks, giving each a portion of processing time and creating the appearance of simultaneous execution.
How does a touchscreen detect a finger?
Most touchscreens use capacitive sensing. A grid of transparent electrodes covers the screen. When a finger touches, it changes the capacitance at that point. The controller measures these changes and calculates the touch location. Some screens use resistive sensing, where two layers are pressed together.
How does a computer mouse detect movement?
An optical mouse shines light onto the surface below. A sensor takes thousands of images per second. By comparing consecutive images, the mouse calculates how far it has moved. This data is sent to the computer, which moves the cursor.
How does a keyboard know which key was pressed?
A keyboard has a grid of circuits beneath the keys. Each key, when pressed, completes a circuit at a specific row and column. The keyboard controller scans the grid rapidly to detect which key is down. It sends a code to the computer identifying the key.
How does a computer screen create millions of colors?
A color display is made from a grid of pixels, and most pixels contain red, green, and blue subpixels. By controlling the light produced or transmitted by each subpixel, the display creates different mixtures that human vision perceives as many colors.
How does a digital camera turn light into a photograph?
A digital camera focuses light through a lens onto an electronic image sensor, usually CMOS. Millions of photosites collect photons during the exposure and convert them into electrical signals related to the amount of light received.
These are short versions. The full entries, and the rest of the book, are in The Encyclopedia of How.