interview-questions

Interview question's answer relevance

I recently conducted a technical interview in which I cleared the candidate but in the second round (someone else conducted this part) he was disqualified. I had very good vibes about this person and I was surprised of him not getting selected. Out of curiosity I went digging around and found out that he didn't answer the question in an ...

C++ interview - testing potential candidates.

I have to interview some C++ candidates over the next few weeks and as the most senior programmer in the company I'm expected to try and figure out whether these people know what they are doing. So has anybody got any suggestions? Personally I hate being left in a room to fill out some C++ questions so I'd rather do a more complex test...

How to implement a "private/restricted" function in C?

I was asked a very interesting question during a C interview: How can you implement a function f() in such a way that it can only be called from a particular g() function. If a function other than g() tries to call f() it would result in a compiler error. At first, I though this could be done with function pointers and I could get close...

Websphere interview questions

My boss told me to help in a phone interview with a candidate which is mainly a DB2 admin but claims to have Websphere administration skills. I told my boss I don't know so much about Websphere but he said it doesn't matter, they just wanna be sure the candidate isn't lying in his resume. What would be a couple of good and basic-interme...

Online Developer Testing for Pre-Screening Candidates

Are there are any good online developer testing sites for pre-screening candidates? I know the freelance site ELance has a "certification" system where candidates can take tests on various technologies. It won't be 100% accurate, but it at least might expose the less experienced candidates. ...

Interview question: In php, is 123==0123?

I have answered it is false. then he asked why? i couldn't answer. Can anyone make the answer? I am very interested to learn it. ...

Why Create Mock Objects?

During a recent interview I was asked why one would want to create mock objects. My answer went something like, "Take a database--if you're writing test code, you may not want that test hooked up live to the production database where actual operations will be performed." Judging by response, my answer clearly was not what the interview...

Interviews: to code or not to code

Is asking a person to solve a problem by whiteboarding code a good practice for conducting interviews? Is this a good method for determining the qualifications of a candidate? What does this accomplish? Assuming the candidate has shown to sufficiently know the language in question, is whiteboarding code necessary? Might some developers ...

Efficiency of Sort Algorithms

I am studying up for a pretty important interview tomorrow and there is one thing that I have a great deal of trouble with: Sorting algorithms and BigO efficiencies. What number is important to know? The best, worst, or average efficiency? ...

Microsoft ASM interview question?

I was looking online through samples of interview questions asked in the past by Microsoft and came across this one: The following asm block performs a common math function, what is it? cwd xor ax, dx sub ax, dx Can somebody please answer this and explain the answer to me? Thanks!! Update : okay, so its computes the absolute ...

How do I hire a really good build / install engineer ?

I'm a big fan of giving candidates practical tests during the interview process. It's relatively straightforward to give a developer candidate a programming test or a tester candidate a sample app to see how they would test it, but I'm not so sure what to do with a build engineer. Added to this difficulty is the fact that I've come acr...

How should I interview a candidate with domain experience in a different field?

I have to interview a candidate for a developer position that will involve working mainly on a trading system written in C++ in a Wall Street company. The candidate's most recent experience (3 years) is writing and maintaining components of a payment processing system for an ecommerce company. Some of this experience could be relevant...

How much can you infer about the programmers at a company based on the test/interview?

I did an interview which was preceded by a test. The test was written with approximately 20 questions. A significant number of questions in the test were poor in that some of them had no correct answer, others asked things that couldn't be answered, and some were just pointless. For example, one question asked how to post an aspx page t...

Transactions - How to avoid deadlocks?

I was asked this question in a .net/C# interview: If we have two threads T1 and T2. T1 acquires a lock on obj1 and then does some processing and acquires a lock on obj2. T2 acquires a lock on obj2 and then does some processing and acquires a lock on obj1. So, we can have a deadlock. What is common technique that we use ...

How to Recruit Great Developers?

A question for all you interviewers/recruiters out there. How do you evaluate candidates at job interviews? How do you differentiate the good from the bad? (please, no "FizzBuzz" answers...) Which kind of questions do you feel that have the best results? Personally, I find that asking about all kind of .Net internals subjects usually pro...

Questions every good Delphi developer should be able to answer?

Following the spirit of these questions: How to Recruit Great Developers? Questions every good .NET developer should be able to answer? ...it would be interesting to know recommendations or advice for hiring a good Delphi developer. Some time ago Steve Trefethen published a series of great articles: Delphi IDE Wisdom Delphi RTL a...

How to find all brotherhood strings?

I have a string, and another text file which contains a list of strings. We call 2 strings "brotherhood strings" when they're exactly the same after sorting alphabetically. For example, "abc" and "cba" will be sorted into "abc" and "abc", so the original two are brotherhood. But "abc" and "aaa" are not. So, is there an efficient way t...

Need simple system design problems for interviews

Hi All - I am interviewing senior developer candidates and would like to have them think through a design problem as part of the interview. I would like something that involves front end, middle, and database. It should have some a data modeling challenge and more. What do you think? ...

What kind of topics/area in XML, XSD, WSDL, and SOAP technologies should be covered from Interview Point of View ?

Hi, I have an interview for Software Engineering in QA Position role and wanted some pointer's from preparation point of view and also job description include technologies like XML, XSD, WSDL, and SOAP technologies and so what all topics should I put more stress during preparation process. I would really appreciate if someone can prov...

What is best efficient algorithm for "Given an unsorted array of positive integers and an integer N, return N if N existed in the array or the first number that is smaller than N." Problem ?

I had this question: Given an unsorted array of positive integers and an integer N, return N if N existed in the array or the first number that is smaller than N. in an interview and wanted to know what would be the best efficient algorithm to solve it? I had given two approaches using hash and sorting array but it was not correct...