Whole-word codes
Learning outcome
You can read a whole-word code by matching words that repeat, and you can refuse a letter rule the pairs do not show.
Concepts and reasons
In this lesson, assume a fixed one-to-one substitution: each ordinary word has exactly one code word, different ordinary words have different codes, and the same mapping is used in every sentence. Word order is not assumed to be preserved. There is no letter shift to discover. These sentences alone cannot identify a code for an absent word.
Use the words that repeat. In the set below, na appears in the first and third sentences, and are also appears in the first and third. So na means are. tok appears in the second and third, and bad appears in the second and third. So tok means bad. dar appears in the first and second, and good appears in the first and second. So dar means good.
The sentences are: pit dar na means you are good. dar tok pa means good and bad. tim na tok means they are bad.
After identifying na = are and tok = bad, the third sentence has exactly one unmatched code, tim, and one unmatched word, they. Therefore tim means they. Appearing in only one sentence is not sufficient if two or more unmatched words and codes remain there.
Worked examples
- they is tim.
- good is dar.
- are is na, and bad is tok. and is pa, because pa and and each appear only in the second sentence.
Common traps
Do not invent a letter shift for pit, dar and na. The question never says the code is a letter code. Do not decode a word that is absent. water is not in these sentences, so these sentences do not give a code for water. A word can be identified even when it occurs in all three sentences: under the fixed one-to-one mapping, if exactly one ordinary word and exactly one code occur in all three, they must correspond. Ambiguity remains when multiple unmatched words and codes have the same occurrence pattern; use another clue before assigning them individually.
Practice questions
- What is the code for they?
- What is the code for good?
- What is the code for and?
Answers and explanations
- tim. After na = are and tok = bad are known, tim and they are the only unmatched items in the third sentence.
- dar. good and dar each appear in the first and second sentences, and nowhere else in the set.
- pa. and and pa each appear only in the second sentence.
Analogy
A whole-word code is a pile of labeled boxes. You can name a box only when the same label shows up with the same contents. You cannot open a box that was never brought in.
Quick reference
- Match the repeated words first.
- na = are, tok = bad, dar = good.
- tim = they, pit = you, pa = and.
- Do not force a letter shift onto a word code.
- A missing word has no code in this set.
Sources for these corrections
Checked 15 October 2026: OpenStax Contemporary Mathematics 1.5 — Set Operations with Three Sets; OpenStax Introduction to Philosophy 5.4 — Types of Inferences. Worked counterexamples were independently checked.
Sign in to keep your progress. Sign in