3. A no. of cats got together and decided to kill between them 99919 mice. every cat kills equal no. of mice. write a program to find no. of cats?

No. of Cats: 163, 613, or 99919

-- Local variables here
i integer;
-- Test statements here
for i in 1..99919 loop
if mod(99919,i) = 0 then
dbms_output.put_line (i);
end if;
end loop;

4. Cube has colors blue, red ,yellow each on two opposite sides. cube is divided into "32 small cubes and 4 large cubes". question: how many cubes (on 36 cubes) have blue at least one side. how many cubes have colors on two sides?

If you paint the cube such that:

Blue and Blue are on opposite sides
Red and Red are on opposite side
Yellow and Yellow are on opposite side

And, since the question didnt state where the 32 smaller could be, Im placing the 32 smaller cubes on the sides with Blue paint. Thus:

32 cubes have Blue on at least one side.
20 cubes have have colors on two sides.

8. A, B and C starts from a point on a circle. A and B goes clockwise and C anticlockwise. A meets C after 88s B meets C after 110s. After how many seconds A meets B?

Ans: 440s

Let velocity of A,B and C be a,b,c resp.
2(pi)r/88 = a+c
2(pi)r/110 = b+c
we have to find 2(pi)r/a-b
Ans: 440

9. What is the probability of getting 2 prime nos. from 1 to 20?

Given that there are 8 Prime Numbers under 20, and if the limit is only random numbers under 20 then there is a 40% chance of getting a prime number.