# EMC Placement Paper February 2012

1. What is Ann's relation with her husband's mother's only daughter-in-law's sister's husband?

Ans: Brother-in-law

2. Some guy holding a glass of wine in his hand looking around in the room says, "This is same as it was four years ago, how old are your two kids now?" Other guy says "Three now, Pam had one more in the meanwhile." Pam says, "If you multiply their ages, answer is 96 and if you add the ages of first two kids, addition is same as our house number." The first guy says, "You are very smart but that doesn't tell me their ages." Pam says, "It's very simple, just think." What are the ages of three kids?

Ans: 8, 6, 2

3. A motor cyclist participant of a race says "We drove with the speed of 10 miles an hour one way, but while returning because of less traffic we drove on the same route with 15 miles per hour." What was their average speed in the whole journey?

Ans: 12 miles per hour

4. Given following sequence, find the next term in the series:

(i) 0, 2, 4, 6, 8, 12, 12, 20, 16, ____

Ans: 12

(ii) 3, 6, 13, 26, 33, 66, ___

Ans: 53

5. Three customers want haircut and a shave. In a saloon, two barbers operate at same speed. They take quarter of an hour for the haircut and 5 mins for the shave. How quickly can they finish the haircut and shave of these three customers?

Ans: 30 minutes

6. A shopkeeper likes to arrange and rearrange his collection of stamps. He arranges them sometimes in pair, sometimes in bundle of three, sometimes in bundle of fours, occasionally in bundle of fives and sixes. Every time he's left with one stamp in hand after arrangement in bundles. But if he arranges in the bundle of seven, he's not left with any stamp. How many stamps does a shopkeeper have?

Ans: 301

7. Three different types of objects in a bucket. How many times does one need to select object from the bucket to get atleast 3 objects of the same type?

Ans: 7

8.

main()
{
char *a = "Hello ";
char *b = "World";
clrscr();
printf("%s", strcat(a,b));
}

a. Hello
b. Hello World
c. HelloWorld
d. None of the above

Ans: (B)

9.

main()
{
char *a = "Hello ";
char *b = "World";
clrscr();
printf("%s", strcpy(a,b));
}

a. “Hello”
b. “Hello World”
c. “HelloWorld”
d. None of the above

Ans: (D) World, copies World on a, overwrites Hello in a.

10. Find the output for the following C program

int i =10
main()
{int i =20,n;
for(n=0;n<=i;)
{int i=10;
i++;
}
printf("%d", i);

Ans. i=20