Function Question

3 replies [Last post]
praveen_84's picture
User offline. Last seen 3 years 33 weeks ago. Offline
Joined: 2007-07-27
Points: 677
Groups: None

Two functions Diff(N) and Sum(N) are defined as follows

Diff(N) takes a non-negative integer N as a parameter and returns the difference of N and the number obtained by reversing the digit/digits of N.

Sum(N) takes a non-negative integer N as a parameter and returns the sum of N and the number obtained by reversing the digit/digits of N.

For a two digit natural number Y with distinct digits, a set of five non-negative integers {A, B, C, D, E} is defined such that

A = Diff(Y);      B = Diff(A);

C = Diff(B);      D = Diff(C);

E = Diff(D);      F = Diff(E);

Q1. If E is not equal to zero, what is Y?
a. 86                   b. 76                 c. 90                        d. Cannot be determined

Q2. If Y is greater than 50, what is F?
a. 0                    b. 9                        c. 27                      d. None of these

Q3. If Sum(A) = Sum (B) = Sum(C) = K and K > Sum (D) , what could be the value of A?
a. 18                   b. 27                    c. 36                     d. 58

__________________

n/a

__________________

n/a

NILAY's picture
User offline. Last seen 4 years 15 weeks ago. Offline
Joined: 2007-08-13
Points: 578
Groups: None
SOLUTION

follwing are the answer

Q1. If E is not equal to zero, what is Y?
a. 86 b. 76 c. 90 d. Cannot be determined

answer : = d. Cannot be determined

Q2. If Y is greater than 50, what is F?
a. 0 b. 9 c. 27 d. None of these

answer : = a. 0

Q3. If Sum(A) = Sum (B) = Sum(C) = K and K > Sum (D) , what could be the value of A?
a. 18 b. 27 c. 36 d. 58

answer : b. 27

plz verify this answer .............

atul duggal's picture
User offline. Last seen 4 years 15 weeks ago. Offline
Joined: 2007-08-21
Points: 384
Groups: None
@nilay

hey nilay yaar please explain ur answers....

searchin-life's picture
User offline. Last seen 5 years 10 weeks ago. Offline
Joined: 2007-03-03
Points: 440
Groups: None
Answer to Q2. is a. zeroBut
Answer to Q2. is a. zero
But I don’t understand what ‘ll happen if the number is negative

Post new comment

Sponsered Links

All Rights Reserved. Copyright 2006-10 CAT4MBA.com.