Placement Papers - ADP

Automatic Data Processing
ADP Placement Pattern - Kolkata
Posted by :
Sunny
(49)
1. Solve a puzzle.

You can add but can not delete.
8_8_8_8_8_8_8_8_=1000

Ans:
We know 2^10 = 1024.
8*8*8*8^(1/3) = 1024.
8+8+8*8^0 = 24.
So,
8*8*8*8^(1/3)-8-8-8*8^0 = 1000.

2. Write a C program to store pure water into a tank ...water source is not fully pure.
You can use only one water purifier but it can purify 90%of input water.

Ans:

water store (water src)
{
container L1,L2;
while(src)
   {
    L1=src;
    empty(src);
    L2=purifier(L1);
    empty(L1);
    if(L2 is 99% pure)
        return L2;
    else
         {
          src=L2;
          empty(L2);
         }
   }
}

3. Anomalies.
4. Polymorphism.
5. SQL.
etc..