Sentence Codes: The Shared Word
In a sentence code, every word of a sentence gets its own code. The catch is that the codes are not written in the same order as the words. Take this pair:
'heavy dew forms' is coded as 'cu qj xu' and 'dew glistens' is coded as 'xu ge'.
You cannot say that 'heavy' is 'cu' just because both come first. The codes may sit in any order. What you can say is this: 'dew' is the only word found in both sentences, and 'xu' is the only code found in both codes. So 'dew' is 'xu'.
That one idea solves most of these questions:
A word that appears in two sentences takes the code that appears in both of their codes.
Strike out what you know
Once a word's code is known, cross it out in every sentence where it appears, the word and its code together. What is left is a smaller puzzle. In the pair above, strike out 'dew' and 'xu'. The second sentence now has one word left, 'glistens', and one code left, 'ge'. So 'glistens' is 'ge'.
In the first sentence, 'heavy' and 'forms' are left with 'cu' and 'qj', and nothing tells you which is which. That is fine as long as the question does not ask about them.
Make a small table
With three sentences the words and codes get crowded, so put them in a table. Say the question gives:
'fine dust floats' is coded as 'bu dh ky', 'dust harms eyes' is coded as 'ky qy vu' and 'eyes feel fine' is coded as 'vu ju bu'.
Write each word once, note which sentences it is in, and find the codes common to those sentences.
| Word | In sentences | Its code |
|---|---|---|
| dust | 1 and 2 | ky, the only code in both |
| eyes | 2 and 3 | vu |
| fine | 1 and 3 | bu |
| floats | 1 only | dh, the code left in sentence 1 |
| harms | 2 only | qy |
| feel | 3 only | ju |
Notice the order of work. Words that sit in two sentences come first, because two sentences pin them down. A word in only one sentence comes last: strike out the codes of the other words in its sentence, and the one code left is its own.
Two quick checks
- Count the words and the codes in each sentence. They must match. A sentence of four words has four codes.
- Short words such as 'is', 'the' and 'a' get codes too. A word that is in every sentence takes the code that is in every code.
A line such as "(All the codes are two-letter codes only.)" just tells you how to split the code string. 'cu qj xu' is three codes, 'cu', 'qj' and 'xu', and none of them is shorter or longer.
Solved Questions
Question 1
In a certain code language, 'dogs hate heat' is coded as 'rk kd pf' and 'heat dries grass' is coded as 'wm pf tb'. What is the code for 'heat' in that language?
(a) rk (b) wm (c) pf (d) tb
Answer. 'heat' is the only word in both sentences. Now look at the codes: 'pf' is the only code in both. So 'heat' is 'pf'. Notice that 'heat' is the last word of the first sentence and the first word of the second, while 'pf' sits in the middle both times. The place of a code tells you nothing. So the answer is (c) pf.
Question 2
In a certain code language, 'hens gobble grubs' is coded as 'bv lq yo', 'grubs fatten hens' is coded as 'yo kc bv' and 'herons frighten hens' is coded as 'ui bv va'. (All the codes are two-letter codes only.) What is the code for 'grubs'?
(a) bv (b) yo (c) kc (d) lq
Answer. The first two sentences share two words, 'hens' and 'grubs', and two codes, 'bv' and 'yo'. So far 'grubs' could be either. The third sentence settles it. It has 'hens' but not 'grubs', and it has 'bv' but not 'yo'. So 'hens' is 'bv'. Strike out 'hens' and 'bv' from the first two sentences, and 'grubs' is left with 'yo'. So the answer is (b) yo.
Question 3
In a certain code language, 'ducks dive deep' is coded as '47 82 15', 'deep forest feeds deer' is coded as '93 15 26 71' and 'deer dive down' is coded as '82 64 26'. How is 'ducks' coded in that language?
(a) 47 (b) 82 (c) 64 (d) 15
Answer. 'ducks' appears only in the first sentence, so find the other two words of that sentence first. 'dive' is in sentences 1 and 3, and the only number in both codes is 82. 'deep' is in sentences 1 and 2, and the only number in both codes is 15. Strike out 82 and 15 from '47 82 15', and 47 is left. So the answer is (a) 47.
Question 4
In a certain code language, 'fresh eggs give energy' is coded as 'kpt, mzr, vlo, chd', 'energy drinks give hope' is coded as 'vlo, bxe, chd, ryi' and 'golden eggs disappear' is coded as 'jfu, mzr, gwy'. What is the code for 'fresh' in that language?
(a) mzr (b) chd (c) bxe (d) kpt
Answer. 'fresh' is only in the first sentence, so clear away its other three words.
- 'eggs' is also in sentence 3, and 'mzr' is the code the two share.
- 'give' and 'energy' are both in sentence 2, and so are 'vlo' and 'chd'. You cannot tell which of them is 'give', but together they take 'vlo' and 'chd'.
Strike out 'mzr', 'vlo' and 'chd' from 'kpt, mzr, vlo, chd'. Only 'kpt' is left, and it must be 'fresh'. You never needed to split 'give' from 'energy'. So the answer is (d) kpt.
When a Code Cannot Be Fixed
Sometimes two words always appear together. Look at this pair:
'humble deeds endure' is coded as 'cl ce sy' and 'deeds endure forever' is coded as 'sy ws cl'.
Both 'deeds' and 'endure' are in both sentences. Both 'cl' and 'sy' are in both codes. The two words share the two codes, but nothing says which way round. So the code for 'deeds' is either 'cl' or 'sy'. Questions of this kind offer an option worded "either 'cl' or 'sy'", and when the sentences really cannot split the pair, that option is the answer.
First use every sentence
Before you settle on "either … or", read every sentence the question gives. A third sentence may hold one of the two words without the other, and then the pair splits. Suppose a third sentence 'deeds dwindle' were coded as 'cl xt'. It has 'deeds' but not 'endure', and it has 'cl' but not 'sy'. Now 'deeds' is 'cl' and 'endure' is 'sy', and the "either" option becomes wrong.
So the rule is simple. If some sentence separates the two words, find the single code. If no sentence does, the answer is "either … or".
Check every wrong option
The options often include more than one "either … or". Test each one:
- Both codes in it must appear in every sentence that contains your word.
- Neither code may already belong to another word. If 'ws' is the code of 'forever', then "either 'cl' or 'ws'" is out.
- A single code from your pair, such as 'sy' alone, is only a guess. It is wrong when the pair cannot be split.
Why a single code is wrong here
When the pair cannot be split, a single code from it is never the right answer, because the sentences do not prove it. Marking it is not a fifty-fifty chance. It is a sure loss of 0.5 marks. So if the sentences leave two codes open, choose the "either … or" option. If they leave only one, do not be pulled in by an "either" option that only looks careful.
[SSC Tip] Write the pair down as soon as you spot two words sharing two codes, then look for a sentence that holds one word without the other. That single check decides between a plain code and an "either … or" answer.
Solved Questions: When the Code Cannot Be Fixed
Question 5
In a certain code language, 'gardeners grow herbs' is coded as 'oj jx ec' and 'herbs grow fast' is coded as 'ec ip oj'. What is the code for 'herbs' in that language?
(a) either 'oj' or 'ip' (b) ec (c) either 'oj' or 'ec' (d) jx
Answer. Two words are common to the sentences, 'herbs' and 'grow'. Two codes are common, 'oj' and 'ec'. Those two words share those two codes, and there is no third sentence to split them. So 'herbs' is either 'oj' or 'ec'. 'ec' on its own is never proved by the sentences, so it cannot be the answer. The option with 'ip' fails because 'ip' is the code left over in the second sentence, so it belongs to 'fast'. So the answer is (c) either 'oj' or 'ec'.
Question 6
In a certain code language, 'eagles grab hares' is coded as 'ub rf xk', 'foxes grab hares' is coded as 'xk lm ub' and 'hares dig hollows' is coded as 'pw xk sc'. What is the code for 'grab' in that language?
(a) either 'ub' or 'xk' (b) xk (c) rf (d) ub
Answer. From the first two sentences alone, 'grab' and 'hares' share 'ub' and 'xk', and it looks like an "either … or" case. Do not stop there. The third sentence has 'hares' but not 'grab', and of the two codes only 'xk' is in it. So 'hares' is 'xk', which leaves 'ub' for 'grab'. So the answer is (d) ub.
Question 7
In a certain code language, 'heroes fight demons' is coded as 'zc hj ow', 'demons fear heroes' is coded as 'hj ow yd' and 'dragons fear daylight' is coded as 'yd am vy'. What is the code for 'demons' in that language?
(a) either 'ow' or 'yd' (b) either 'hj' or 'ow' (c) zc (d) either 'hj' or 'zc'
Answer. 'demons' is in sentences 1 and 2, and the codes common to both are 'hj' and 'ow'. 'heroes' is in the same two sentences, so it shares the same pair. The third sentence has neither word, so it cannot split them.
Now test the options. 'fear' is in sentences 2 and 3, so 'fear' is 'yd', and any option with 'yd' is out. With 'hj' and 'ow' taken by the pair, 'fight' is the code left in sentence 1, 'zc', so any option with 'zc' is out too. Only one option survives. So the answer is (b) either 'hj' or 'ow'.
Several Words at Once, and New Sentences
Some questions ask for the code of two or three words together, or of a sentence that was never coded. The method is the same as before: find each word on its own.
Codes of two or more known words
If the question asks "How will 'dust floats' be coded?", find 'dust' and 'floats' separately, using the table method. With the three sentences used for the table earlier ('fine dust floats' and the other two), 'dust' is 'ky' and 'floats' is 'dh', so the answer is 'ky dh'.
Codes in an option may come in any order. 'ky dh' and 'dh ky' are the same answer, because sentence codes never keep the word order. Check the codes in an option, not their places.
A sentence with a new word
Now suppose the question asks: "Which of the following could be the code for 'fine dust falls'?" You know 'fine' is 'bu' and 'dust' is 'ky'. But 'falls' appears in no sentence, so its code cannot be found. All you know is that it is not any code already used, because every code above belongs to some other word.
So the right option must have:
- the known code of every known word ('bu' and 'ky' here), and
- for each new word, a code that appears nowhere in the given sentences.
'bu ky xy' fits. 'bu ky ju' does not, because 'ju' is 'feel'. 'bu dh xy' does not either, because 'dh' is 'floats', a word that is not in the new sentence.
This is why such questions say "could be". The new code is not known, only its kind.
A pair that cannot be split
You saw that 'deeds' and 'endure' share 'cl' and 'sy' and cannot be split. If a new sentence contains both words, the problem disappears. You still cannot say which code is which, but the sentence must contain both 'cl' and 'sy'. An option with only one of them is wrong.
Order of work
- List the words of the target sentence.
- Mark each one as known, part of an unsplit pair, or new.
- Write the codes you are sure of.
- Go through the options and strike out any that has a code belonging to a word outside the target sentence.
Solved Questions: Several Words and New Sentences
Question 8
In a certain code language, 'hot dry days' is coded as 'qm jy tf', 'dry farms fade' is coded as 'de jy jw' and 'hot ginger fizzes' is coded as 'hv qm dk'. How will 'dry days' be coded in that language?
(a) jy tf (b) jy qm (c) tf jw (d) qm tf
Answer. Find each word on its own. 'dry' is in sentences 1 and 2, and their common code is 'jy'. 'hot' is in sentences 1 and 3, and their common code is 'qm'. 'days' is only in sentence 1, so strike 'jy' and 'qm' out of 'qm jy tf', which leaves 'tf'. So 'dry days' is 'jy tf', in either order. So the answer is (a) jy tf.
Question 9
In a certain code language, 'geese find food' is coded as 'ca ab gy', 'hungry geese honk' is coded as 'li gy cg' and 'good food helps' is coded as 'nw ab hy'. Which of the following could be the code for 'geese find earthworms'?
(a) gy ab ld (b) gy ca ld (c) li ca ld (d) gy ca cg
Answer. First the words you can fix. 'geese' is in sentences 1 and 2, so it is 'gy'. 'food' is in sentences 1 and 3, so it is 'ab'. Strike both out of sentence 1 and 'find' is 'ca'.
'earthworms' is in no sentence, so its code cannot be found. All we know is that it is not a code already used. The right option needs 'gy', 'ca' and one unused code. 'gy ab ld' has 'ab', the code of 'food'. The other two wrong options use 'li' or 'cg', and those belong to 'hungry' and 'honk'. That leaves 'gy ca ld', with 'ld' as the new code. So the answer is (b) gy ca ld.
Question 10
In a certain code language, 'graceful friendly dolphins dazzle' is coded as 'se, wt, pd, wo', 'friendly dolphins frolic' is coded as 'wt, gn, se' and 'graceful dolphins frolic here' is coded as 'gn, ux, wt, wo'. How will 'dolphins dazzle here' be coded in that language?
(a) wt, pd, ux (b) wt, wo, ux (c) se, pd, ux (d) wt, pd, gn
Answer. Note which sentences hold each word.
- 'dolphins' is in all three, and 'wt' is the only code in all three.
- 'friendly' is in sentences 1 and 2: their common codes are 'wt' and 'se', and without 'wt' that leaves 'se'.
- 'graceful' is in sentences 1 and 3: common codes 'wt' and 'wo', so 'wo'.
- 'frolic' is in sentences 2 and 3: common codes 'wt' and 'gn', so 'gn'.
Now the single-sentence words. In sentence 1, strike out 'se', 'wt' and 'wo', and 'dazzle' is 'pd'. In sentence 3, strike out 'gn', 'wt' and 'wo', and 'here' is 'ux'. So 'dolphins dazzle here' is 'wt, pd, ux'. So the answer is (a) wt, pd, ux.
Question 11
In a certain code language, 'happy girls dance' is coded as 'fy nc ua' and 'girls dance freely' is coded as 'ua qd nc'. Which of the following could be the code for 'girls dance gaily'?
(a) nc fy tz (b) ua qd tz (c) nc ua qd (d) nc ua tz
Answer. 'girls' and 'dance' are in both sentences, and so are 'nc' and 'ua'. You cannot say which code is 'girls', but here you do not need to. The new sentence has both words, so it must have both codes. 'gaily' is new, so it needs a code that is in neither example. 'nc fy tz' loses 'ua' and brings in 'fy', which is 'happy'. 'ua qd tz' brings in 'qd', which is 'freely'. 'nc ua qd' gives 'gaily' the code 'qd', but 'qd' already belongs to 'freely'. So the answer is (d) nc ua tz.
Letter-Digit Codes in the Same Order
In these questions each letter has its own digit (or symbol), and a word is coded by writing the digits of its letters. In the simplest kind the digits follow the letters in order:
'DART' is coded as '6142' and 'HARE' is coded as '9145'.
Read it letter by letter: D = 6, A = 1, R = 4, T = 2 from the first word, and H = 9, E = 5 from the second. Then 'HARD' is 9, 1, 4, 6, that is, 9146.
First make sure the order is kept
Do not assume it. Find a letter that is in both words and see whether its digit sits in the same place as the letter. In DART, A is 2nd and the 2nd digit is 1. In HARE, A is also 2nd and the 2nd digit is again 1. R is 3rd in both and is 4 in both. The shared letters agree, so you can read the code in order.
A shared letter that moves is the strongest test. If D is the 1st letter of one word and the 4th of another, then the 1st digit of the first code and the 4th digit of the second must be the same. If they are not, the digits are jumbled, and you need the method in the next section. When the shared letters sit in the same places in both words, as A and R do here, the check can catch a jumbled code but cannot fully prove an ordered one. If nothing clashes and the question asks you to code a whole word, read it in order.
Make a list, then read the target
Once the order is confirmed, write a short list: each letter with its digit. Then read the target letter by letter from the list. Writing the list takes a few seconds and stops you from swapping two digits by mistake.
A letter that appears twice in the target gets the same digit both times. If E = 4, then 'EASE' starts and ends with 4.
Symbols instead of digits
Some questions use symbols such as @, #, % and &. Nothing changes. Each letter still has one symbol, and you read them off in order.
What the wrong options look like
The options are usually the right digits with two of them swapped, or with one digit taken from a neighbouring letter. After you write your answer, read it back against the target once, letter by letter. That catches most slips.
Solved Questions: Letter-Digit Codes in Order
Question 12
In a certain code language, 'HOTEL' is coded as '58143' and 'DEALT' is coded as '74631'. How will 'HOLD' be coded in that language?
(a) 5873 (b) 8537 (c) 5837 (d) 5847
Answer. First check that the code keeps the order. E is the 4th letter of HOTEL and the 4th digit of '58143' is 4. In DEALT, E is 2nd and the 2nd digit of '74631' is also 4. T gives 1 in both words and L gives 3 in both. So each letter has its own digit, written in the same place as the letter. Now read HOLD off: H → 5, O → 8, L → 3, D → 7. So the answer is (c) 5837.
Question 13
In a certain code language, 'HERD' is written as '#%@&' and 'DUTY' is written as '&©★▲'. How will 'HURT' be written in that language?
(a) #©★@ (b) #©@★ (c) ©#@★ (d) #%@★
Answer. Symbols work just like digits. D is the last letter of HERD and the first of DUTY, and both times it is written '&'. So the symbols follow the letters in order. From HERD: H = #, E = %, R = @, D = &. From DUTY: U = ©, T = ★, Y = ▲. Now HURT: H = #, U = ©, R = @, T = ★, which gives #©@★. So the answer is (b) #©@★.
Question 14
In a certain code language, 'GRAND' is coded as '73916' and 'FIELD' is coded as '84256'. How will 'FLARED' be coded in that language?
(a) 859326 (b) 859362 (c) 895326 (d) 859316
Answer. D ends both words, and both codes end in 6. Nothing clashes, and the question wants a whole word, so read the digits in letter order. Make a quick list: G 7, R 3, A 9, N 1, D 6, F 8, I 4, E 2, L 5. Now read FLARED letter by letter:
F → 8, L → 5, A → 9, R → 3, E → 2, D → 6
That is 859326. So the answer is (a) 859326.
Time check: the list takes about ten seconds and keeps you from swapping two digits.
Question 15
In a certain code language, 'DRIFT' is written as '25947' and 'HEIST' is written as '16937'. How will 'FIRST' be written in that language?
(a) 45937 (b) 49357 (c) 49537 (d) 94537
Answer. I is the 3rd letter of both words, and the 3rd digit of both codes is 9. T is last in both, and both codes end in 7. Nothing clashes, so read the code in order. F is 4th in DRIFT, so F = 4. I = 9. R is 2nd in DRIFT, so R = 5. S is 4th in HEIST, so S = 3. T = 7. Put together, FIRST is 49537. So the answer is (c) 49537.
Letter-Digit Codes in Any Order, and the Traps
In the harder kind, each letter still has one digit, but the digits of a word are written in a jumbled order:
'GLEAM' is coded as '48127' and 'GLADE' is coded as '73284'. What is the code for 'D'?
You cannot read across. Instead, use the same idea as in sentence codes:
Letters common to two words take the digits common to their codes.
G, L, E and A are in both words. 2, 4, 7 and 8 are in both codes. So those four digits belong to those four letters, in some order. D is the only other letter of GLADE, and 3 is the only other digit of its code. So D = 3.
The elimination table
With three words, make a table. For the letter you want, ask which words contain it. Take the digits common to those codes, then strike out any digit that also appears in a code of a word without that letter.
| Letter | In words | Common digits | Strike out | Code |
|---|---|---|---|---|
| your letter | words 1 and 2 | digits in both codes | digits in word 3's code, if word 3 lacks the letter | what is left |
Often only one digit survives. If two survive, look for another word that separates them, just as with sentence codes.
Trap 1: assuming the order is kept
In GLADE, D is the 4th letter and the 4th digit of '73284' is 8. It is tempting to say D = 8. But 8 is also in the code of GLEAM, which has no D, so 8 cannot be D. Before you read a digit off by its place, test the order with a shared letter. Here G is 1st in both words, yet the codes start with 4 and 7. The order is not kept, so places mean nothing.
Trap 2: a letter that appears twice
If a word has a letter twice, its code has that letter's digit twice. This is a free clue. In 'HEED' coded as '5383', E appears twice and 3 appears twice, so E = 3.
It also changes the counting. A five-letter word with a repeated letter has only four different letters, so its code has only four different digits. When you compare two codes, count each digit once for each time its letter appears.
A steady routine
- Test the order with a shared letter.
- If the order holds, read letter by letter.
- If not, match common letters with common digits and strike out.
- Use any repeated letter as an extra clue.
Solved Questions: Letter-Digit Codes in Any Order
Question 16
In a certain code language, 'FAINT' is coded as '62837' and 'GIANT' is coded as '28653'. What is the code for 'G' in that language?
(a) 7 (b) 2 (c) 8 (d) 5
Answer. First test the order. A is 2nd in FAINT, where the digit is 2, but A is 3rd in GIANT, where the digit is 6. One letter cannot have two codes, so the digits are jumbled. Use the common letters instead. A, I, N and T are in both words, and 2, 3, 6 and 8 are in both codes. Those four digits belong to those four letters. G is the letter left in GIANT, and 5 is the digit left in '28653'. So the answer is (d) 5.
Question 17
In a certain code language, 'FUEL' is coded as '6149', 'DUEL' is coded as '9316' and 'FLED' is coded as '3641'. What is the code for 'U' in that language?
(a) 9 (b) 1 (c) 6 (d) 3
Answer. U is in FUEL and DUEL but not in FLED. The digits common to '6149' and '9316' are 1, 6 and 9, so U is one of these three, with E and L taking the other two. Now look at FLED. It has E and L but no U, and its code '3641' has 1 and 6 but no 9. 1 and 6 belong to E and L, and U takes 9. So the answer is (a) 9.
Question 18
In a certain code language, 'FIEND' is coded as '57092' and 'HIDE' is coded as '9475'. Which letter is coded as '4' in that language?
(a) I (b) H (c) N (d) D
Answer. I, D and E are in both words, and 5, 7 and 9 are in both codes. The digit 4 is only in the code of HIDE, so it must belong to the letter of HIDE that is not in FIEND. That letter is H. If you read by place, 4 sits 2nd in '9475', which points to I. That fails: I is in FIEND as well, and 4 is not in '57092'. So the answer is (b) H.
Solved Questions: Common Mistakes
Question 19
In a certain code language, 'HALT' is coded as '1836' and 'HALE' is coded as '9186'. What is the code for 'T' in that language?
(a) 6 (b) 8 (c) 3 (d) 9
Answer. T is the last letter of HALT, and the last digit of '1836' is 6, so it is tempting to say T = 6. Test the order first. H is the first letter of both words, but the codes start with 1 and 9. So the digits are not in letter order, and reading by place will mislead you. Use the common letters. H, A and L are in both words, and 1, 6 and 8 are in both codes. T is the letter left in HALT, and 3 is the digit left in '1836'. So the answer is (c) 3.
Question 20
In a certain code language, 'HEDGE' is coded as '31953' and 'EDGY' is coded as '9613'. What is the code for 'H' in that language?
(a) 3 (b) 6 (c) 5 (d) 9
Answer. E, D and G are in both words, and 1, 3 and 9 are in both codes. Strike those out of '31953' and two digits seem to be left, 5 and a second 3. Here is the trap. HEDGE has five letters but only four different ones, because E comes twice. The second 3 is simply E again. The only new letter, H, takes the only new digit, 5. So the answer is (c) 5.