code-in-interview

Programming 'projects' for interviews?

Doing the interview round at present, and one place had a 'small test' for candidates. We were asked to write a requirements doc, specs, design doc, test plan, as well as code and build a small web app with database backend, document the tests, and be required to demo it at a future interview. I did some estimates and figured a week if...

Simple Form Sample for Interview?

Help me out, please... After a 9 month dry spell, I've finally gotten an interview for a C# Win forms position. Better yet, the job actually sounds exciting -- as opposed to, "I'll take anything to have a job again." Now, the recruiter sent someone over before me. During that candidate's interview, the questioner asked him to create a...

Interview test for applied scientific computing job

Do you know a good and objective question/test to examine applicants for a scientific computing job? (In fact, this test comes after the candidate passed an interview.) 1st) They need to be intelligent. (Edit, thanks for the words from Trent) 2nd) They would have to deal mostly with programming (C++ and Python, using scientific librar...

How to partition bits in a bit array with less than linear time

This is an interview question I faced recently. Given an array of 1 and 0, find a way to partition the bits in place so that 0's are grouped together, and 1's are grouped together. It does not matter whether 1's are ahead of 0's or 0's are ahead of 1's. An example input is 101010101, and output is either 111110000 or 000011111. Solv...

How to prepare to the interview question "How would you test this function?"

Hi folks! Big companies like Microsoft often ask you to write some function (for example reverse all words in the statement) and then write test cases for it. What is the best way to prepare for writing such test cases? ...

Clarifying questions in testing interview

Hi, Should I ask questions to interviewer to fully understand the functional and non-funtional requirements of a product if interviewer asks me to test that product and does not specify any other detail? For example, if interviwer asks me to test a Search Button – should I ask the following questions: How fast the user should be able ...