Skip to content
Exit presentation

Data & Patterns II

Track quiz

Before the questions, here is each idea in one line.

What to keep from each idea
IdeaThe line to keep
One switchA bit can be pictured as one switch with two states. A state means something only if both ends agreed first.
More switchesEach new switch doubles the list of patterns. One copy gets a down in front. The other gets an up.
A codeA code is an agreed table of pattern and meaning. Both ends hold the same copy.
Rows and columnsA row is one record, all the facts about one thing. A column is one field, one kind of fact.
Sort and filterSorting puts whole rows in order. Filtering hides rows that fail a test. Neither changes a fact in the table.

A bit can be pictured as one switch with two states. What do we write for the two states?

  • A and B
  • 0 and 1
  • 1 and 2

You read one switch once. Can it carry three messages: now, later, not at all?

  • Yes, if the switch is a large one
  • No, because one switch has only two states
  • Yes, because the receiver can guess the third

Three switches sit in a row. How many patterns can they make?

  • 6, because 3 + 3 = 6
  • 8, because each switch doubles the list
  • 3, because each switch has one pattern

You want to label 12 months with switches. How many switches are enough?

  • 3, because 3 switches give 8 patterns
  • 4, because 4 switches give 16 patterns
  • 12, because each month needs its own switch

Eight switches kept together are called a byte. How many patterns can a byte make?

  • 16
  • 256
  • 64

A code table gives six of eight patterns a letter. Someone sends one of the other two. What comes out?

  • The nearest letter in the table
  • Nothing, because that pattern has no line
  • A blank space

You send MANGO with one code table. The receiver reads it with a different table. What happens?

  • Different letters, or nothing, come out
  • Only nothing comes out, because the tables do not match
  • MANGO comes out, because the patterns carry the letters

A table has three columns: Fruit, Day and Crates. What is one row?

  • One kind of fact about the whole week
  • One delivery, with all three of its facts together
  • One fruit and every day it sold

A cell holds "Mango, Monday". What is wrong with it?

  • It mixes two fields in one cell
  • A cell cannot hold a word
  • Nothing, it is one record

A table is sorted by Crates sold, largest first. What happens to each Price?

  • It travels with its own row
  • It is sorted largest first as well
  • It stays where it was on the page

A table has 18 rows. You filter to Saturday and 3 rows show. How many rows does the table hold?

  • 3, because filtering removed the rest
  • 18, because filtering only hides rows
  • 15, because the hidden rows are gone

Which two steps find the fruit that sold most on Saturday?

  • Filter to Saturday, then sort by crates, biggest first
  • Sort by fruit, then read every row
  • Filter to mango, then sort by day

You can now say how a saved word is written. Switches are set to a pattern. An agreed table gives the pattern its meaning. You can keep facts in rows and columns. Then you can sort and filter them to answer a question.

A table is rows of facts somebody wrote down. AI Literacy II: Training and Decision Trees takes that pile. It asks a program to find the pattern in it.

Jump to lesson

This track

  1. 0 Start here
  2. 1 One switch, two messages
  3. 2 Add a switch, double the patterns
  4. 3 Give a pattern a meaning
  5. 4 One row per thing, one column per fact
  6. 5 Sorting and filtering
  7. 6 The big picture
  8. 7 Track quiz

Other tracks