Question
In a certain code language, ' SERVICES’ is coded as
'92' and ' DEMAND' is coded as '35'. How will ' ECONOMY' be coded in that language?Solution
The logic followed here is as follows: The word is coded as the difference between the sum of the place value of all the letters (as per the English Alphabetical series) and the number of letters in the word. SERVICES = (19 + 5 + 18 + 22 + 9 + 3 + 5 + 19) – 8 = 100 – 8 = 92. DEMAND = (4 + 5 + 13 + 1 + 14 + 4) – 6 = 41 – 6 = 35. ECONOMY = (5 + 3 + 15 + 14 + 15 + 13 + 25) – 7 = 90 – 7 = 83.
Which company originally developed the Go programming language?
Which type of tree structure is optimized for sequential access and range queries?
Which error detection technique involves appending redundant bits to the data to be transmitted?
The configuration, in which no difference between memory and I/O devices is seen by the CPU, is referred to as ___.
Below code will give what result for f(3)
f(int x)
{
If(x
Return;
f(x-1);
printf(“%d”, x);
f(n-1);
}
In dynamic routing, how do routers exchange information about network topology?
The result evaluating the postfix expression 10 5 + 60 6/ * 8 – is
What is the primary strategy of a divide-and-conquer algorithm?
Which of these interpolation methods uses unequal intervals?
- In a _________each element has a priority value associated with it