Question
In a certain code language, the letters of the English
alphabet are coded as per their alphabetical order (A as 1 and Z as 26). However, if a consonant is immediately followed as well as preceded by a vowel, its code would be '77'. What will be the code for 'WHITEN' in this language?Solution
To code the word 'WHITEN' as per the given rules: 1. Code the letters as per their alphabetical order, with A=1, B=2, ..., Z=26. 2. Replace the code of any consonant that is both preceded and followed by a vowel with '77'. Let's break down 'WHITEN': β’ W = 23 β’ H = 8 β’ I = 9 β’ T = 20 β’ E = 5 β’ N = 14 Now, applying the special rule for consonants surrounded by vowels: β’ W is not surrounded by vowels. β’ H is followed by I (a vowel) but is preceded by W (not a vowel), so it stays 8. β’ I is a vowel. β’ T is surrounded by I and E (both vowels), so its code becomes '77'. β’ E is a vowel. β’ N is not surrounded by vowels. Thus, the code for 'WHITEN' becomes 238977514. The correct answer is option 4.
- Pipe D can fill a pool in 6 hours and pipe E in 12 hours. If both the pipes are opened in an empty pool, how much time will they take to fill it?
Pipe A and Pipe B together can fill the tank in 15 hours. The capacity of the pipe A is 30% of the capacity of the pipe B. How much time will pipe B alo...
Three pipe P1, P2 and P3 fill the tank in 15 hours, 10 hours and 20 hours respectively. If all the three pipes opened together and pipe P2 & P1 are clo...
Together, the three intake pipes, "P," "Q," and "R," can fill a water tank in eight hours. While the three pipes are opened simultaneously, pipe "Q" clo...
Pipe βAβ fills a tank in 16 hours. Pipe βBβ empties the same in 32 hours. If both are opened together, how much time will it take to fill 50% o...
A tank has two inlet pipes, A and B, which can fill the tank in 6 hours and 8 hours, respectively, and an outlet pipe C, which can empty the tank in 12 ...
Inlet pipes 'A' and 'B' can fill a tank in 24 minutes and 40 minutes, respectively. Both the pipes are opened together to fill the tank. When the tank i...
Pipe L can empty the tank which is 45% filled in 9 hours. The time taken by pipe K and J together to fill an empty tank completely in 7.5 hours. Pipe J ...
Pipe βAβ takes 30 hours to fill a tank. Pipe βBβ takes 90 hours to empty the same tank. If they are opened together, then 60% of the tank will b...
Pipe A can fill a tank in 8 hours, while pipe B can empty the full tank in 12 hours. Both pipes are opened together. After how many hours should pipe B ...