Information Technology Topic
Units of Storage
- Read notes
- Flashcards
- Quiz
- Confident
Study focus - 3 things
- A bit is a single 0 or 1 and a byte is 8 bits. Bigger units climb in steps of 1,024: byte, KB, MB, GB, TB
- To convert, multiply by 1,024 when going to a smaller unit and divide by 1,024 when going to a bigger one. Divide bits by 8 to get bytes
- A word is a group of bytes the processor treats as one unit, and the word size is the number of bits it handles at one time
Section 1Bit and byte
A bit is a binary digit, either 0 or 1. It is the smallest unit of data. Eight bits make one byte. One byte can hold one text character: a letter, a digit, a space or a punctuation mark. The words 'Montego Bay' are 11 characters (10 letters and 1 space), so they take 11 bytes, or 88 bits. Each extra bit doubles the number of patterns you can make. 8 bits give 256 different patterns, and 16 bits give 65,536. Here's the trick: bits count things being switched, and bytes count characters. To go from bytes to bits, multiply by 8.
Section 2The bigger units
Computers keep files that need thousands or millions of bytes, so we use bigger units. In order, smallest to largest: bit, byte, kilobyte (KB), megabyte (MB), gigabyte (GB), terabyte (TB). In the convention CSEC uses, each unit is 1,024 times the one before. So 1 KB = 1,024 bytes, 1 MB = 1,024 KB = 1,048,576 bytes, 1 GB = 1,024 MB = 1,073,741,824 bytes, and 1 TB = 1,024 GB. A memory of 512 KB therefore holds 512 × 1,024 = 524,288 bytes. The old Navy text this was checked against writes a 512K memory in the same way, with K meaning 1,024. Watch out: some books, and many makers, count in steps of 1,000 instead. Use 1,024 for CSEC calculations unless the question says otherwise.
Section 3Converting between units
Going to a smaller unit gives more of them, so multiply. Going to a bigger unit gives fewer, so divide. Example: 3 MB to KB. KB is smaller than MB, so multiply: 3 × 1,024 = 3,072 KB. Example: 6,144 MB to GB. GB is bigger, so divide: 6,144 ÷ 1,024 = 6 GB. To skip steps, repeat the 1,024. 3 MB in bytes is 3 × 1,024 × 1,024 = 3,145,728 bytes. Bits and bytes: divide bits by 8 for bytes, multiply bytes by 8 for bits. 40,960 bits ÷ 8 = 5,120 bytes.
Section 4Word and word size
A word is a group of related bytes that the computer treats as one unit in memory. The word size is the number of bits the processor handles at one time. The first personal computers worked with 8 bits at a time. Today's PCs work with 64 bits at a time, which is where the label '64-bit processor' comes from. Other common word sizes are 16 and 32 bits. To find the bytes in a word, divide the word size by 8. A 32-bit word is 4 bytes, and a 64-bit word is 8 bytes. A bigger word size means the processor can handle more data in one go. Easy to mix up: word size is a number of bits, not a number of characters.
Section 5How many files fit? Capacity and percentages
To find how many files fit on a device, change both sizes to the same unit, then divide the capacity by the file size. You can only store whole files, so always round down. Example: a 2 GB card is 2 × 1,024 = 2,048 MB. At 3 MB a photo, 2,048 ÷ 3 = 682.67, so 682 whole photos fit. They use 682 × 3 = 2,046 MB, leaving 2 MB free. Percentage used = used ÷ capacity × 100. Here that is 2,046 ÷ 2,048 × 100 = 99.9 percent (to 1 decimal place). Free space = capacity − used.
Section 6Avoiding the usual slips
Check the direction first. If the answer should be a bigger number (more small units), you multiply. If it should be smaller, you divide. Check the unit of the answer. 3 KB is 3,072 bytes, not 3,072 KB. Do not mix up bit and byte. There are 8 bits in a byte, so the same file has a number eight times bigger when counted in bits. If a question gives you a different convention, such as 1 KB = 1,000 bytes, follow the question. If it says nothing, use 1,024.
Examples
A student in Kingston saves a project file that is 3 MB, and types the place name 'Montego Bay' into a document (1 byte per character, spaces count). (a) Convert 3 MB to kilobytes. (b) Convert 3 MB to bytes. (c) State how many bytes and how many bits 'Montego Bay' needs.
(a) KB is a smaller unit than MB, so multiply by 1,024: 3 × 1,024 = 3,072 KB. (b) Go down one more step: 3,072 × 1,024 = 3,145,728 bytes. (c) 'Montego Bay' has 10 letters and 1 space, which is 11 characters, so 11 bytes. Each byte is 8 bits, so 11 × 8 = 88 bits.
A photographer in Mandeville uses a 2 GB memory card. Each photo is 3 MB. (a) Convert the card's capacity to MB. (b) Calculate how many whole photos fit on the card. (c) Find how much space the photos use and how much is left free. (d) Calculate the percentage of the card used, to 1 decimal place. (e) Explain why the answer to (b) is not rounded up.
(a) MB is smaller than GB, so multiply: 2 × 1,024 = 2,048 MB. (b) 2,048 ÷ 3 = 682.67 photos, so 682 whole photos fit. (c) Used: 682 × 3 = 2,046 MB. Free: 2,048 − 2,046 = 2 MB. (d) 2,046 ÷ 2,048 × 100 = 99.9 percent used. (e) A 683rd photo would need 3 MB, but only 2 MB is free. Only whole files can be stored, so always round down.
Now let's water it
Session runs notes to flashcards to quiz back-to-back.
Where this comes from
- CSEC Information Technology Syllabus (CXC 30/G/SYLL 08, revised 2000, 2008, 2013) · Caribbean Examinations Council (CXC) · Section 1, Specific Objective 4 · Syllabus scope
- Navy Electricity and Electronics Training Series (NEETS), Module 22, Introduction to Digital Computers (NAVEDTRA 14194, September 1998) · US Navy (Naval Education and Training Professional Development and Technology Center) · Chapter 4, Bits and bytes (K = 1,024), the 8-bit code (256 combinations), word-length figure 4-10 and the bit, byte and word definitions, pp. 4-9 to 4-12, a 1998 text used for concepts only, checked against (https://vtda.org/bits/other/US_Navy/NEETS/US%20Navy%20NEETS%20-%20Module%2022-Introduction%20to%20Digital%20Computers%20NAVEDTRA%2014194.pdf) · Facts
- Siyavula Information Technology Grades 10, 11 and 12 (South African CAPS textbooks), listed pages only · Siyavula · Unit 3.3, Storage devices, Take note (1 TB drive is 1,024 GB; the same note also counts 1 GB as a billion bytes, which shows the two conventions) · Facts
- Information Systems for Business and Beyond (2019 edition), D. T. Bourgeois with J. Mortati, S. Wang and J. Smith, chapters 1, 2, 3, 6, 8 and 10 · David T. Bourgeois (Biola University), eCampusOntario open library repository · Chapter 2, Digital Devices (word size, p. 20) and the byte-prefix table (p. 21, decimal steps noted as a caution), checked against (https://openlibrary-repo.ecampusontario.ca/jspui/bitstream/123456789/656/2/Information-Systems-for-Business-and-Beyond-2019-1591280863.pdf) · Facts