Programmer Interview Questions

Programmers are responsible for developing code to build products. In an interview context, expect to be quizzed on your technical skills through different kinds of computing problems or brainteasers. The specific questions you are asked will depend on what type of programming position you are looking for. Try researching a specific discipline such as web development, application development, or system development.

Programmer Interview Questions

Programmer Interview Questions

Programmers are responsible for developing code to build products. In an interview context, expect to be quizzed on your technical skills through different kinds of computing problems or brainteasers. The specific questions you are asked will depend on what type of programming position you are looking for. Try researching a specific discipline such as web development, application development, or system development.

19,022 Programmer interview questions shared by candidates

Top Interview Questions

Sort: Relevance|Popular|Date
Pathway Genomics
Programmer-Analyst was asked...September 20, 2011

How many tries would it take to successfully choose a randomly-picked number from between 1 and 1000?

2 Answers

log2(1000) = log 1000 / log 2 ~= 10

I didn't know, but I vainly tried to get it. Just keep picking a median number (500, 250, 125, etc.) until you get it right. Less

National Instruments

Tell me about an experience where you were forced to handle a conflict, and what was the outcome

2 Answers

I gave an example of a conflict I had with a team member who was not carrying his weight in a group project. In these kinds of questions make sure to focus on your communication skills in being able to diffuse the issue and coming to a positive or neutral solution. For me, I had an honest conversation with the team member and gave him a chance to explain his situation (didn't want to jump to conclusions). Then we worked together to form a plan to ensure he met deadlines. Less

I mentioned a conflict with a teacher, and was truthful about the outcome, regardless of it's neutral (not positive or negative) tone Less

Denver Public Schools

What is the most used Java class?

1 Answers

The Object class, as it is the base class of all other Java classes. Not really difficult or tricky, if given a little thought. Less

Goldman Sachs

How many square feet of pizza is eaten in the US each year?

26 Answers

A pizza is roughly 1 sqft. If the average american eats 1/3 of a pizza and eats pizza 3 times a month, that would mean 12sqft a year. Times 200M americans that gives you 2.4 billion sqft. Less

Sorry, i must be stupid. I didn´t know pizza were made of feet.

All of them.

Show More Responses
Dollar General

Why did I want to work for the company.

25 Answers

And I like to helping people

Because I have heard positive things about this company and would like to contribute to it. Less

Because I have bills

Show More Responses
Ubisoft

If a couple has two children, what is the probability that one is a girl and one is a boy?

12 Answers

It's a 1/2. The first child can be either a boy or a girl, for the second child to be the opposite gender the probability is 1/2. Or another way Boy Boy 1/4 Boy Girl ] 1/4 + Girl Boy ] 1/4 =1/2 Girl Girl 1/4 Less

1/2

Actually there are only 3 possibilities, doesn't matter the order. If the question was, what's the probability for the first to be a boy and the second to be a girl, than it would be 1/4. As such, the answer is 1/3 Less

Show More Responses
Tata Consultancy Services

My strengths and weaknesses

9 Answers

My strength is Positive attitude and my weakness is i feel uncomfortable until finish my work Less

My strength is my confidence and my weakness is feel uncomfortable until finish my work Less

My strength is positive attitude and thinking and weakness is when I feel lonleyness Less

Show More Responses
Standard Bank Group

What are the implications of covid-19

8 Answers

Basically the questions were to describe yourself, speak about COVID implications and winning the lottery. Just those 3 questions. Less

You were not required to code?

Was there a code challenge?

Show More Responses
Ubisoft

How to check if a number is divisible by 16 without using operator / or % ?

8 Answers

Bit wise right shift four times, if integer then divisible.

If a number is divisible by 2^n, do bitwise right shift n times and then bitwise left shift n times to get back the same number. Less

should do using bit-wise operators

Show More Responses
IESA

I got to the third and final interview stage with the company for which I had to prepare a presentaion talking about myself, how I would fit into the company and what I know about them. Previously I had a successful skype interview and a face to face interview where I impressed and was told to keep doing what i'm doing. So at this final interview stage I had prepared a presentaion about the company and I conducted additional research (as any normal person would), only to be told after a brief chat with an executive before I was supposed to do my presentation, that they wouldn't be taking my application further. Bare in mind this is just before I was supposed to do my presentation that I had prepared and had rehearsed for a considerable amount of time. I'm not angry/annoyed that I didn't get on to the graduate programme, because if i'd have been given the opportunity and they didn't think i'd be suited to it then I would say 'ok fair enough', i'm fuming at the fact that they wouldn't even let me conduct my presentation that they ask all graduates to make as part of the interview process to get onto the LIFT programme. When he was telling me why I hadn't got any further he almost seemed to take pleasure in telling me he'd done the same to over half the other graduates at this stage and didn't allow them to present either. As a whole this tells me the company is completely unprofessional, that their interview process is ridiculously flawed and that the executive who gave me my final interview is a horrible little man who takes pleasure in other people's failure due to his own lack of knowledge around how an interview should work.

7 Answers

You had a lucky escape my friend

Best thing ever is you got out of working for this bunch of amateurs. I still have the scars..... Less

Why is everyone who posts anonymous?

Show More Responses
Viewing 1 - 10 of 19,022 Interview Questions

See Interview Questions for Similar Jobs