This is one of my first article in the series of How to's in magento. But before you actually start any development on magento you must follow these guidelines. Step 1: First create a magento module xml file ( … [Continue reading]
Confusing one!
Q1. Which is the first question where c) is the correct answer a) Q3 b) Q4 c) Q1 d) Q2 Q2. Which is the first question where a) is the correct answer a) Q4 b) Q2 c) Q3 d) Q1 Q3. Which is the first question where d) is the … [Continue reading]
River crossing – the harder one
A dysfunctional family has to cross the river. On one side of the river are a mom and 2 daughters, dad and 2 sons, the maid and the dog. There is a boat only big enough to hold 2 people (counting the dog as 1 person). Only the adults are capable of … [Continue reading]
Defective coins
We have 10 bags of 1 Rupee coins. One bag contains all the defective coins, the weight of each coin in that bag is 1 gram lesser than the weight of a normal 1 Rupee coin. You have a spring balance, which tells the exact weight. After how many minimum … [Continue reading]
Hats and IIT students
Nine IITians were sitting in a classroom. Their prof wanted to test them. One day he told all of his 9 students that he has 9 hats, colored either in red or black. He also added that he has at least one hat with red color and the no. of black hats is … [Continue reading]
Heavier ball
You have 8 balls all look identical (in shape, color etc.). All of them have same weight except one defective ball which is heavier than others. You can use a two sided balance system (not the electronic one). Find the minimum no. of measures … [Continue reading]
Defective ball
You have 12 balls all look identical (in shape, color etc.). All of them have same weight except one defective ball. You don't know that the defective one is heavier or lighter than other balls. You can use a two sided balance system (not the … [Continue reading]
River crossing
Three cannibals and three anthropologists have to cross a river. The boat they have is only big enough for two people. If at any point in time there are more cannibals on one side of the river than anthropologists, the cannibals will eat them. What … [Continue reading]
King and wine bottles
A bad king has a cellar of 1000 bottles of delightful and very expensive wine. A neighboring queen plots to kill the bad king and sends a servant to poison the wine. Fortunately (or say unfortunately) the bad king's guards catch the servant after he … [Continue reading]
Wires on fire
A guy has two wires of varying thickness, which each burns in 60 minutes. He actually wants to measure 45 mins. How can he measure 45 mins using only these two wires. (he can't cut the one wire in half because the wires are non-homogeneous and he … [Continue reading]