Question
Find the greatest value of (a + b) such that an 8-digit
number 4523a60b is divisible by 15.Solution
Factors of 15 = (3 × 5) and the divisibility rule of 15 says that sum of digits be divided by 3 and the last number will be 5. Possible values of b are 0 and 5 Now, 4 + 5 + 2 + 3 + a + 6 + 0 + 0 = 20 + a Here a can be 1, 4, 7 For greatest we need to take 7 So, a + b = 7 + 0 = 7 which is not present in the option Again, 4 + 5 + 2 + 3 + a + 6 + 0 + 5 = 25 + a Here a can be 2, 5, 8 For greatest we need to take 8 So, a + b = 8 + 5 = 13 which is present in the option ∴ Required answer is 13
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