Get vs Post Describe the basic differences between http methods post and get Answer POST Method: By default no proxy server or web browser is caching this data. You will always get the real data from your web server. The length of data you can send to the web server is only restricted by the
Question I was asked this question in an interview. How do you implement one-to-one, one-to-many, and many-to-many relationships while designing tables Answer one-one relationship is most likely forced by business rules but it does not flow naturally from the data. One can combine both tables into one table without breaking normalization rules. To implement this
Question I was asked this question during an interview. Say that your product has 10 features but you only have time to test 5 of them. How do you decide which ones to test. Answer There is no single correct answer for this question. I would calculate a score for each feature and start testing
Question I was asked this question during an interview: I want you to prepare for testing a project. How do you do that. Answer There is no single correct answer for this question. This is a general question, my answer might be of a general nature as well Testing never begin unless the following conditions
Question I was asked this question in an interview: How would you define good or excellent code? Answer Here is what I came with. I guess everyone can answer it using his own words. Excellent code is working code. I mean it is the code that implements a software requirement specification which eventually makes the
Problem A developer has written a stack designed to hold a maximum of five variables and he has asked you to test it. How would you test that stack? Solution Here are the general guidelines to test the stack. Note that they can be applied to testing software components in general: A. If white box
Problem You are trying to access a website but you get an error message that says the website is not reachable. What actions you should do to isolate the problem Solution There are several ways to troubleshoot connection to a website. The following is a list of suggested steps to isolate the problem: The ping
Problem Given the path to a directory. Write a Perl script to print the average time to open and read all files in that directory. The files should be read in blocks of 64 KB Solution This is straightforward problem but we need to pay attention to the fact that files can grow in size
Problem Given a log file similar to Linux syslog format as in the following example: Write a Perl script to print the top 5 most repeated error messages. Solution Read the file line by line then split each line using “:” as separator then use the error message token as the key in a hash
Introduction I am currently working at Yahoo one of the top Internet companies in the world. I also had the chance to work at PayPal the dominant company in online payments. When I lost my job in 2008 I had more than 30 phone interviews and several onsite interviews. Just to mention few names, I