Answer

Answer: 

Answer
The mule was carrying 5 sacks and the donkey was carrying 7 sacks.

Question

3i Infotech placement papers

A mule and a donkey were carrying full sacks on their backs.The mule started complaining that his load was too heavy. The donkey said to him "Why are you complaining? If you gave me one of your sacks I'd have double what you have and if I give you one of my sacks we'd have an even amount."How many sacks were each of them carrying? Give the minimal possible answer.

Question

3i Infotech Placement Papers

Triplet who usually wear same kind and size of shoes, namely, Annie, Danny, Fanny. Once one of them broke a glass in kitchen and their shoe prints were there on floor of kitchen. When their mother asked who broke Annie said, “I didn’t do it”; Fanny said “Danny did it”; Danny said “Fanny is lieing”; here two of them are lieing, one is speaking truth. Can you find out who broke it ?

Question

3i Infotech Placement Papers

Sita goes to Gita's house during vacation. they play a game of chess everyday and the loser has to give a chocolate to the winner for every game . Sita gave 8 chocolates to Gita at the end of the vacation, although she had won 12 games. How long did she stay there?

Question

3i Infotech Placement Papers

There is a merry-go-round race going on. One person says,"1/3 of those in front of me and 3/4 of those behind me, give the total number of children in the race". Then the number of children took part in the race?

Question

3i Infotech Placement Papers

There are two dice painted on their sides.A and B are playing with those dice.A will win if the colour on the two faces of dice is same and b wins if color is different.First die is painted 5faces with red and 1 with blue.how is second die painted, if their chances of winning the game is even.

Question

3i Infotech Placement Papers

main()
{
int i=10;
i=!i>14;
Printf ("i=%d",i);
}
Find the Output:

Question

3i Infotech Placement Papers

Find the output of the following program
int *p,*q;
p=(int *)1000;
q=(int *)2000;
printf("%d",(q-p));

Question

3i Infotech Placement Papers

The redirection operators > and >>
a) do the same function
b) differ : > overwrites, while >> appends
c) differ : > is used for input while >> is used for output
d) differ : > write to any file while >> write only to standard output
e) None of these

Question

3i Infotech Placement Papers

Which of the following plots would be a straight line ?
(a) Logarithm of decay rate against logarithm of time
(b) Logarithm of decay rate against logarithm of number of decaying nuclei
(c) Decay rate against time
(d) Number of decaying nuclei against time


Footer Links