I'm getting married to Heleena on 24th. All are welcome. Wedding Invitation
Since I have been asked to interview experienced PHP programmers, I was preparing few interview questions. I came to know, most of the people ask questions found in the Internet; most of them are like "What is the function used to connect MySQL DB in PHP". Personally, I don't like these types of questions; I'd thought the person must apply ideas what he was taught in colleges--finally I came out with one question:
A product vendor has Quantity Vs. Price data like
1 -> Rs. 50
2 -> Rs. 95
3 -> Rs. 140
.... like upto 1 million data. He wants a system, which gives the price when the quantity is provided. For example, if you provide the quantity value as 2, then it should provide Rs. 95. How this system can be designed?
As expected, all the people said about using database tables and quering on quantity. I have asked them to find out a system which doesn't use databases--provided the accuracy of the system may not be 100%--it may give at least 90% ac...
Comments
Thanks for your wish. And I wish you a very happy and prosperous married life.
All the best.
Sundar
Belated congratulations and best wishes for you and your new wife.
---
Steve
Many thanks for your kind wishes. It's really nice receiving wish from you. Thanks again.
Thanks for your kind words; the photos are emailed to you right now.