Skip to content
Cardinal Spellman High SchoolComputer Science Department
  • Study
  • Teacher tools
  • About

Cardinal Spellman High SchoolComputer Science Department

Developed by Farzin Khan Shifat

Go to the top of the page↑

Explore

  • Study
  • Teacher tools
  • Department

Need help?

  • Teacher guide
  • Request a tool
  • Report a problem

Your progress stays on this device. Vercel counts visits to public study pages, without your names, answers, files or grades. On a shared computer, use Forget my progress when you finish.

Study calculator

Drag this handle or use arrow keys to move the calculator. Home restores its position.

You can keep working on the page while this calculator is open. Closing keeps your calculations in this tab. Reloading clears them. This is Spellman’s study calculator, not a TI-84 emulator.

  1. ← All courses
  2. Computer Science

Unit 5: Digital Representation and File Management

Digital representation; files, folders, formats, and organization.

PracticeKey words
Find a lesson
  1. Unit 1: Computer Hardware
    1. What Makes a Computer?
    2. Four Jobs of a Computer
    3. Data and Information
    4. CPU, RAM, and Storage
    5. Devices and Ports
    6. Choosing Hardware
    7. Hardware Review
  2. Unit 2: Computer and Internet Basics
    1. The Five Roles
    2. The Request Trip
    3. Local, Remote, and the Cloud
    4. Unit Review
  3. Unit 5: Digital Representation and File Management
    1. Only Two Choices: Bits and Switches
    2. Counting in Binary
    3. Same Bits, Different Meaning
    4. Pictures, Sound and Size
    5. Adding in Binary
    6. Binary Review

Topics, in order

0 of 6 finished

  1. 1Next topicOnly Two Choices: Bits and SwitchesWhy computers store everything as 0s and 1s
    • Only Two Choices: Bits and Switches ClassworkClasswork
    • Only Two Choices: Bits and Switches HomeworkHomework
  2. 2Counting in BinaryRead and write numbers with place values
    • Counting in Binary ClassworkClasswork
    • Counting in Binary HomeworkHomework
  3. 3Same Bits, Different MeaningHow an agreed code gives bits a meaning
    • Same Bits, Different Meaning ClassworkClasswork
    • Same Bits, Different Meaning HomeworkHomework
  4. 4Pictures, Sound and SizeHow pixels and samples become bits, and how big a file gets
    • Pictures, Sound and Size ClassworkClasswork
    • Pictures, Sound and Size HomeworkHomework
  5. 5Adding in BinaryAdd bit patterns, follow the carries and check the total
    • Adding in Binary ClassworkClasswork
    • Adding in Binary HomeworkHomework
  6. ReviewBinary ReviewCheck bits, binary, codes, pictures and sizes before a test

Later in this unit

These topics open after the ones above.

  • File names and file extensions
  • Folders and file paths
  • Organizing your files

Key words

  • Key word · Unit 5BitOne 0 or 1. The SMALLEST piece of computer data.Exactly: A binary digit: a single 0 or 1. It records the state of one switch, off or on.Mix-up alert: A bit is not a byte. It takes 8 bits to make 1 byte.See this in Key words
  • Key word · Unit 5ByteA group of 8 bits.Exactly: Eight bits handled together. One byte has 256 different patterns, enough for the numbers 0 to 255.Mix-up alert: A byte is 8 bits, not the other way round. A bit is the smaller one.See this in Key words
  • Key word · Unit 5BinaryA way of writing numbers with only TWO digits: 0 and 1.Exactly: A number system where each place value is a power of two: 1, 2, 4, 8 and so on. Computers store all data in binary.Mix-up alert: 1010 in binary is ten. It is not one thousand ten.See this in Key words
  • Key word · Unit 5Place valueWhat a digit is worth because of WHERE it sits.Exactly: In binary, the columns from right to left are worth 1, 2, 4, 8, 16, 32, 64 and 128. Each column is worth double the one to its right.Mix-up alert: A 1 in the 8s place is worth 8. A 1 in the 1s place is worth only 1.See this in Key words
  • Key word · Unit 5ConvertChange how a number is WRITTEN without changing how much it is.Exactly: Binary to decimal: add the place values that have a 1. Decimal to binary: take the biggest place value that fits, write 1, subtract, and keep going.Mix-up alert: Converting changes the writing, not the amount. 1011 in binary and 11 in decimal are the same amount.See this in Key words
  • Key word · Unit 5EncodingAn AGREED RULE that gives bit patterns a meaning.Exactly: A set of rules for turning information into bits and back again. The reader must use the same encoding as the writer.Mix-up alert: Bits do not carry their meaning inside them. The same pattern can mean different things under different encodings.See this in Key words
  • Key word · Unit 5CodeThe bit pattern that STANDS FOR one thing under a rule.Exactly: In an encoding, each letter, number or instruction gets its own pattern. In ASCII, the code for A is 01000001.Mix-up alert: Here a code is not a secret message or a program. ASCII is public, so computers that use ASCII agree on these letter codes.See this in Key words
  • Key word · Unit 5CharacterOne letter, digit, space or symbol in text.Exactly: A single unit of text, such as A, 7, a space or a question mark. ASCII gives each character a number code. In these activities, assume one byte per capital letter: A is 65, written 01000001.Mix-up alert: A character is not always exactly one byte in real text. When a question says "assume one byte per character", that is a rule for that question.See this in Key words
2 more words
  • Key word · Unit 5PixelOne tiny square of color in a digital picture.Exactly: The smallest dot in the grid that makes up a digital image. Each pixel's color is stored as one or more bits.Mix-up alert: More bits per pixel means more possible colors, not more pixels. More stored bits do not guarantee a better-looking picture.See this in Key words
  • Key word · Unit 5Storage sizeHow much space data takes up, measured in bits, bytes, KB, MB or GB.Exactly: 8 bits make 1 byte. In this course, 1 KB is 1,000 bytes, 1 MB is 1,000 KB and 1 GB is 1,000 MB. Some computers count 1,024 instead of 1,000. For picture calculations, count pixel data only: ignore headers, padding and compression. Divide the total bits by 8 and round up to whole bytes only if they do not divide evenly.Mix-up alert: A bigger file is not always a better picture. Size depends on the number of pixels, the bits per pixel and the file format.See this in Key words
  • Key word · Unit 5PixelOne tiny square of color in a digital picture.Exactly: The smallest dot in the grid that makes up a digital image. Each pixel's color is stored as one or more bits.Mix-up alert: More bits per pixel means more possible colors, not more pixels. More stored bits do not guarantee a better-looking picture.See this in Key words
  • Key word · Unit 5Storage sizeHow much space data takes up, measured in bits, bytes, KB, MB or GB.Exactly: 8 bits make 1 byte. In this course, 1 KB is 1,000 bytes, 1 MB is 1,000 KB and 1 GB is 1,000 MB. Some computers count 1,024 instead of 1,000. For picture calculations, count pixel data only: ignore headers, padding and compression. Divide the total bits by 8 and round up to whole bytes only if they do not divide evenly.Mix-up alert: A bigger file is not always a better picture. Size depends on the number of pixels, the bits per pixel and the file format.See this in Key words

Watch and explore this unit

Videos and pages from other sites, for when you want to go further.

  • Representing Numbers and Letters with Binary

    Crash Course, about 11 minutes

    Watch for:

    • How the video counts in binary
    • What it says a kilobyte is; this course uses 1 KB = 1,000 bytes
    • When ASCII appears and why Unicode replaced it
    Open on YouTube↗ (opens in a new tab)

Video not loading? It might be blocked on this wifi. Try it at home.

Practice this unit

Opens with Unit 5 chosen.

  • Night Before
  • 10FQuick 10
  • ?Missed Cards
  • Computer Science course mapEvery unit and what opens next.