TCS Company Numerical Ability Algebra

What is the minimum value of abs(187m – 396n – 526) as m, n take all integer values? Here abs is the absolute value function (that is, if x > 0, then abs(x) = x and if x < 0, then abs(x) = – x).
a. 0
b. 9
c. 2
d. 1

Read Solution (Total 3)

TCS Other Question

Two decks of cards are there. Each deck contains 20 cards, with numbers from 1 to 20 written on them. A card is drawn of random from each deck, getting the numbers x and y What is the probability that log x + log y is a positive integer. Logs are taken to the base 10.
options:
a. 3/200
b. 29/200
c. 7/400
d. 1/50
What is the remainder of f(x^7) when divided by f(x)?
f(x) =1+x+x^2+x^3+...+x^7