# How is data physically held in computer memory?

**URL:** <https://boards.straightdope.com/t/how-is-data-physically-held-in-computer-memory/223021>\
**Category:** Factual Questions\
**Created:** [January 6, 2004, 3:50pm UTC](https://boards.straightdope.com/t/how-is-data-physically-held-in-computer-memory/223021 "2004-01-06T15:50:57Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Chicago\_Faucet](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chicago_faucet/32/13910_2.png) [@Chicago\_Faucet](https://boards.straightdope.com/u/Chicago_Faucet)\
**Post date:** [January 7, 2004, 2:06pm UTC](https://boards.straightdope.com/t/how-is-data-physically-held-in-computer-memory/223021/21 "2004-01-07T14:06:27Z")

</div>

2 bits equal a shave and a hair cut.

---

<div class="post-metadata">

**Author:** ![Popup](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@Popup](https://boards.straightdope.com/u/Popup)\
**Post date:** [January 7, 2004, 4:11pm UTC](https://boards.straightdope.com/t/how-is-data-physically-held-in-computer-memory/223021/22 "2004-01-07T16:11:25Z")

</div>

The politically correct word for a collection of eight bytes treated together is [octet](http://www.dooki.com/cgi-bin/foldoc.cgi?octet), so as to avoid any size-ist missunderstanding.

The prefered spelling of a four-bit object (at least in our lab) seems to be ‘nybble’, to show its relation to ‘byte’, although this is falling into dissuse.

Word size is a complicated issue, especially when you start using 32- and 64- bit machines, where 64 bits can be refered to as either ‘DoubleWord’ (Motorola assembler) or ‘QuadWord’ (in Intel parlance)

---

<div class="post-metadata">

**Author:** ![Bytegeist](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@Bytegeist](https://boards.straightdope.com/u/Bytegeist)\
**Post date:** [January 7, 2004, 4:50pm UTC](https://boards.straightdope.com/t/how-is-data-physically-held-in-computer-memory/223021/23 "2004-01-07T16:50:34Z")

</div>

> [@](#):
>
> \*Originally posted by Meta-Gumble \*  
> \*\*So with the magnetic stuff, is a bit a physical particle on the disk surface? How is it read/ written? \*\*

A bit will be represented by [multiple particles](http://www.wtec.org/loyola/hdmem/02_03.htm) on the disk, probably thousands or millions. (But I don’t know a typical number offhand.)

Reading a bit means sensing the particles’ magnetic orientation, which can be done with a small circuit. A circular track of particles will be speeding past the read-write head as the disk spins. As this happens, electric current will briefly flow through the circuit in one direction or the other, depending on the orientation of the magnetic field passing by.

Writing a bit means setting the particles’ orientation of course — or more precisely the orientation of their collective magnetic field. (The particles themselves stay put, more or less.) This can be done by exposing them to sufficiently strong magnetic field, made by a small electromagnet, in the opposite direction from what’s desired.

Note that individual bits are never read or written to a disk in isolation. Disk drives are _block-oriented_ devices; they always read and write entire blocks in one go. Typical block sizes range from one-half to four kilobytes.

Or “kilo-octets” I should say, to please our more orthodox readers.

[Previous page](https://boards.straightdope.com/t/how-is-data-physically-held-in-computer-memory/223021.md?page=1)
