In a certain coding language: a. ‘MANGO’ is coded as 4 b. ‘BANANA’ is coded as…
2023
In a certain coding language:
a. ‘MANGO’ is coded as 4
b. ‘BANANA’ is coded as 5
c. ‘PEAR’ is coded as 3
How shall ‘MUSKMELON’ be coded in that language?
Answer: B. 8 — ConceptIn a consistent word-to-number code, derive a rule that fits every supplied example before applying it to a new word. Compare each word’s letter count…
- A.
9
- B.
8
- C.
7
- D.
6
Attempted by 1 students.
Show answer & explanation
Correct answer: B
Concept
In a consistent word-to-number code, derive a rule that fits every supplied example before applying it to a new word.
Compare each word’s letter count with its code; the same numerical offset must explain all examples.
Application
MANGO has 5 letters, and 5 − 1 = 4.
BANANA has 6 letters, and 6 − 1 = 5.
PEAR has 4 letters, and 4 − 1 = 3.
The common rule is: code = number of letters − 1.
MUSKMELON has 9 letters: M, U, S, K, M, E, L, O, N.
Applying the rule gives 9 − 1 = 8.
Cross-check
Substitution reproduces every given pair: 5 letters give 4, 6 letters give 5, and 4 letters give 3.
Result
Therefore, MUSKMELON is coded as 8.