Question
How is the word “Cleaning” coded in the given
language? Study the following information carefully and answer the given questions. In a certain code language,“Enjoy yours happiness large” is coded as “R6E D7F R11J X20S”,“Keep daily laughing enough” is coded as “L5D F3B X21T M5D”,“Grows more plant everyday” is coded as “N8G F20S R12K S4C”,“Never scold anyone please metre” is coded as “C15N Q4C Q11J B4C D8G”.Solution
Following rules have been applied for obtaining codes of different words-
For the first alphabet in the code:
If number of letters in the word is even, letter succeeding the first letter of the word in the alphabetical series.
If number of letters in the word is odd, letter preceding the last letter of the word in the alphabetical series.
For the number in the code: Difference between alphabetical position numbers of the first and last letters in the word.
For the last alphabet in the code: Letter which precedes the letter appearing at the above obtained number position in the alphabetical series.
For example: METRE
Since it is a 5 letter word, E - 1 = D
13 (M) – 5 (E) = 8
8 - 1 = 7 (G)
So, the code for METRE is D8G.
Thus, the code for “Cleaning” is “D4C”.
What is a key advantage of the Go programming language in terms of concurrency?
What is the main disadvantage of RAID 10 (RAID 1+0) in a DBMS?
Which type of circuit allows current to flow in only one direction?
B-trees and B+ trees are commonly used for indexing in databases to improve the efficiency of:
Arrange the following memory components in the memory hierarchy from the fastest to the slowest: Cache memory, Main memory (RAM), Hard disk.
In a three-phase system, each phase has a voltage of 400V. Calculate the line voltage (phase-to-phase voltage) in the system.
Count to infinity problem occur in
What is false about linked list?
Which of the following is NOT a common use of PHP?
What is the primary responsibility of the "Controller" in the MVC architecture?