3. Given 1000 bottles of juice, one of them contains poison and tastes bitter. Spot the spoiled bottle in minimum sips?
10 24768There are 8 billiard balls, and one of them is slightly heavier, but the only way to tell was by putting it on a weighing scale against another. What's the fewest number of times you'd have to use the scale to find the heavier ball?
5 7503Tarun invited 750 persons to a party. Every person that came to the party, came by a car such that exactly six persons came in each of the three different cars and exactly seven persons came in each of the remaining cars. At the party, when every person including Tarun was seated in a group of eleven, one group fell short by four persons. If maximum possible number of persons came to the party, then out of the persons who were invited by Tarun, how many persons did not come to the party?
4 9035A character set has 1 and 2 byte characters. One byte characters have 0 as the first bit. You just keep accumulating the characters in a buffer. Suppose at some point the user types a backspace, how can you remove the character efficiently. (Note: You cant store the last character typed because the user can type in arbitrarily many backspaces)
2 4787i want to know ,If a five-digit number is input through the keyboard, write a program to calculate the sum of its digits.
1694One train leaves Los Angeles at 15mph heading for New York. Another train leaves from New York at 20mph heading for Los Angeles on the same track. If a bird, flying at 25mph, leaves from Los Angeles at the same time as the train and flies back and forth between the two trains until they collide, how far will the bird have traveled?
1 3769You have 5 jars of pills. Each pill weighs 10 gram, except for contaminated pills contained in one jar, where each pill weighs 9 gm. Given a scale, how could you tell which jar had the contaminated pills in just one measurement?
3 6342find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
1834Post New Microsoft Interview Questions
What are the types of data used in cloud computing?
Wht is bill of return? wht is the implications of creating this on another modules like MM FICO etc in integrated way? expalian steps with transaction code to verify this implications in modules like MMand fico Wht is make to orders? wht is the implications of creating this on another modules like MM FICO etc in integrated way? expalian steps with transaction code to verify this implications in modules like MMand fico Wht is consignment? wht is the implications of creating this on another modules like MM FICO etc in integrated way? expalian steps with transaction code to verify this implications in modules like MMand fico
what is mppt (maximum power point tracking ) and how they used in solar power generation ??? what are the main components used in mppt?????
what is colour port? what is the use with it?
what is mean by T and E cosept
How to include helpers in controller ?
how to check cakephp version in ubuntu?
What is the benefit of foreign key?
What is the command that is used in node.js to import external libraries?
How to delete cookies in jquery?
what changes did you develop at your most recent employer?
Print the length of each line in the file ‘file.txt’ not including any whitespaces at the end of the lines?
What are the differences between a connected lookup and unconnected lookup?
What is child theme? Why we used it?
Which layer is used to route packets