In a certain code language, ‘FEATURE’ is coded as 1001010 and ‘CANDID’ is coded as 101101. How will ‘HOLIDAY‘ be coded in the same language?
Show answer & explanation
Correct answer: A
Explanation
The correct answer is option 1 i.e. 1010101.
Logic: Vowel → Coded as (0); Consonants → Coded as (1)
‘FEATURE’ is coded as 1001010
| F | E | A | T | U | R | E |
| 1 | 0 | 0 | 1 | 0 | 1 | 0 |
‘CANDID’ is coded as 101101
| C | A | N | D | I | D |
| 1 | 0 | 1 | 1 | 0 | 1 |
Similarly, ‘HOLIDAY‘ will be coded:
| H | O | L | I | D | A | Y |
| 1 | 0 | 1 | 0 | 1 | 0 | 1 |