Quarry School

Computer Science Foundations

Subject: Computing

Use bits to represent two states, numbers, characters and tiny pictures. Trace how a change in the rules changes what the same bits mean.

5 units, 25 lessons. Free, no sign-up.

  • Builds on no other course
  • Take with Programming in Python Both courses work with numbers and text: the foundations course works out on paper how bits stand for them, and the Python course uses them in code.

Computing5 units25 lessonsLevel 1about 2 hours50 practice questionsFree

Before you start

Have paper and a pencil ready to trace patterns and draw grids.

Read the rule, follow a trace and try a new pattern.

Ask the AI tutor by voice or text on supported lessons.

Start lesson 1

Unit 1, lesson 1

Give one bit a meaning

0 of 25 lessons done

Crash course: quick reviews

Units

Units run in order. Where one needs an earlier unit, it says so.

  1. Information in bits

    Use bits to represent two states, numbers, characters and tiny pictures.

    Level 1 · Foundations5 lessons26 min10 practice questions

    0 of 5 done

    No level 2 lessons in this unit

    No level 3 lessons in this unit

    Subject: ComputingLevel 1 · estimated
    Lessons in Information in bits, 5
    1. Give one bit a meaningLevel 1 · Foundations7 minSubject: Computing
    2. Read binary place valuesLevel 1 · Foundations7 minSubject: Computing
    3. Find what fits in three bitsLevel 1 · Foundations4 minSubject: Computing
    4. Encode a character as bytesLevel 1 · Foundations4 minSubject: Computing
    5. Decode a tiny bitmapLevel 1 · Foundations4 minSubject: Computing
  2. Reason with true and false

    Write true-or-false questions about everyday situations.

    Level 1 · Foundations5 lessons18 min10 practice questions

    0 of 5 done

    No level 2 lessons in this unit

    No level 3 lessons in this unit

    Subject: ComputingLevel 1 · estimated

    Builds on 1 Information in bits

    Lessons in Reason with true and false, 5
    1. Read a two-state predicateLevel 1 · Foundations4 minSubject: Computing
    2. Fill an AND tableLevel 1 · Foundations3 minSubject: Computing
    3. Fill an OR tableLevel 1 · Foundations3 minSubject: Computing
    4. Negate a conditionLevel 1 · Foundations3 minSubject: Computing
    5. Check two rules against every input pairLevel 1 · Foundations5 minSubject: Computing
  3. Algorithms on paper

    Write a procedure as numbered steps with a named input and output.

    Level 1 · Foundations5 lessons29 min10 practice questions

    0 of 5 done

    No level 2 lessons in this unit

    No level 3 lessons in this unit

    Subject: ComputingLevel 1 · estimated

    Builds on 2 Reason with true and false

    Lessons in Algorithms on paper, 5
    1. State inputs and outputsLevel 1 · Foundations6 minSubject: Computing
    2. Write an unambiguous instructionLevel 1 · Foundations6 minSubject: Computing
    3. Trace a decisionLevel 1 · Foundations6 minSubject: Computing
    4. Explain when a repetition endsLevel 1 · Foundations5 minSubject: Computing
    5. Check a procedure against a counterexampleLevel 1 · Foundations6 minSubject: Computing
  4. Search, sort and cost

    Search a row of cards one by one and by halves, put cards in order two ways, and count the comparisons each procedure makes as the row grows.

    Level 1 · Foundations5 lessons29 min10 practice questions

    0 of 5 done

    No level 2 lessons in this unit

    No level 3 lessons in this unit

    Subject: ComputingLevel 1 · estimated

    Builds on 3 Algorithms on paper

    Lessons in Search, sort and cost, 5
    1. Count comparisons in a linear searchLevel 1 · Foundations5 minSubject: Computing
    2. Keep a sorted interval for binary searchLevel 1 · Foundations7 minSubject: Computing
    3. Insert one card into sorted orderLevel 1 · Foundations6 minSubject: Computing
    4. Trace a sort on repeated keysLevel 1 · Foundations6 minSubject: Computing
    5. Compare work as the collection doublesLevel 1 · Foundations5 minSubject: Computing
  5. Networks

    Send a message as numbered pieces on paper, the way data crosses the internet in packets.

    Level 1 · Foundations5 lessons25 min10 practice questions

    0 of 5 done

    No level 2 lessons in this unit

    No level 3 lessons in this unit

    Subject: ComputingLevel 1 · estimated

    Builds on 3 Algorithms on paper

    Lessons in Networks, 5
    1. Agree on a message formatLevel 1 · Foundations5 minSubject: Computing
    2. Split a message into numbered piecesLevel 1 · Foundations5 minSubject: Computing
    3. Reassemble pieces arriving out of orderLevel 1 · Foundations5 minSubject: Computing
    4. Use acknowledgments in a paper protocolLevel 1 · Foundations5 minSubject: Computing
    5. Explain a duplicate requestLevel 1 · Foundations5 minSubject: Computing

The course as a map

Open a unit to follow its lesson connections.

How the units connect

The bar beside a unit counts the lesson links later units make to it.

Where the course leans

This course has no lesson links between units. The map shows the units in course order.

Unit 2: Reason with true and false builds on Unit 1: Information in bits.

Unit 3: Algorithms on paper builds on Unit 2: Reason with true and false.

Unit 4: Search, sort and cost builds on Unit 3: Algorithms on paper.

Information in bits
  1. Give one bit a meaning
  2. Read binary place values
  3. Find what fits in three bits
  4. Encode a character as bytes
  5. Decode a tiny bitmap
Reason with true and false
  1. Read a two-state predicate

    Leans on: Unit: Information in bits

  2. Fill an AND table
  3. Fill an OR table
  4. Negate a condition
  5. Check two rules against every input pair
Algorithms on paper
  1. State inputs and outputs

    Leans on: Unit: Reason with true and false

  2. Write an unambiguous instruction
  3. Trace a decision
  4. Explain when a repetition ends
  5. Check a procedure against a counterexample
Search, sort and cost
  1. Count comparisons in a linear search

    Leans on: Unit: Algorithms on paper

  2. Keep a sorted interval for binary search
  3. Insert one card into sorted order
  4. Trace a sort on repeated keys
  5. Compare work as the collection doubles
Networks
  1. Agree on a message format

    Leans on: Unit: Algorithms on paper

  2. Split a message into numbered pieces
  3. Reassemble pieces arriving out of order
  4. Use acknowledgments in a paper protocol
  5. Explain a duplicate request