I see many people asking questions about programming interview experience. I thought I should share mine. I hope students who recently graduated from varsity will find this helpful. Though I share my experience as applying for Bangladeshi companies, I think people anywhere around the world can relate to this.
I will talk about written exam and coding test in my blog. At first the applicants have to sit for a written exam. Only those who were selected due to their performance in written exam, can sit for the coding test. The written exam is divided into 4 parts:
Mathematics:There were 4 questions from mathematics.
- Mathematics
- Writing codes
- Detecting errors
- UI improvement
Mathematics:There were 4 questions from mathematics.
- Given a picture of rectangular box/cuboid along with the size of its sides, you have to determine the length of the diagonal.
Cuboid __________ √ H2+ B2+L2
can also be given. Most remember these formulas after learning them in high school or college.
- Jane's age multiplied by 5 is equal to Beth's age multiplied by 8. The difference between their ages is 5. Determine their ages.
Solution:
Let, Jane's age = x and Beth's age = y
So, 5x = 8y
From this equation we see, Jane is older than Beth. So, we can write: x-y = 5.
If we solve these 2 equations, we get our answers.
Jane is nearly 13 years old and Beth is nearly 8 years old. - In one day a frog travels 3 feet upward of a slimy wall and slides 2 feet down due to slime. How many days will it take to traverse a 30 feet wall?
Solution:
In one day the frog's upward is speed is (3-2)=1 feet/day. So it'll take 27 takes to traverse 27 feet of the wall. However on the 28th day, the frog at first leaps 3 feet and reaches the top( it completes traversing the 30 feet wall). Thus the answer is 28 days. - The rent of a building is fixed. If 36 people have to pay, each person pays 12 dollars more than the case where there are 40 people in the building. What's the cost per person when there are 36 people in the building ?
Solution:
Let, cost per person (in the case of 40 persons) = x
and the cost per person(in the case of 36 persons) = x+12
Since the cost is fixed, 40x = 36(x+12)
The value of x is 108. So our answer is 108+12 = 120 dollars.
These 4 questions were given in the mathematics section. As you can see, they are quite easy. You can answer them using intuition and what you learned when you were in school. It requires simple knowledge on geometry and algebra. I don't think you'd need any prior preparation answering these questions. In the next part I will discuss the questions about writing codes.
Part 2 is HERE!!
Part 2 is HERE!!
I think there's a simple mistake in the solution of the 3rd problem. It will take 27 days to reach height 27 feet. And then the next day, he will reach the top and sliding after that doesn't matter. So it will take 28 days.
ReplyDeleteOops, thanks for pointing that out. O.O
Delete