Last month i went through couple of interview process and decided to post the questions that i was asked during my interview. These questions are combination from all the interview i went through. This questions are not suited for advanced developers, its only suited for recent graduates or junior developers.
- Tell us something about yourself.
- Other than study and programming, what you like to do during your free time.
- What is the hardest project you have done while you were at university.
- What is difference between overwriting and overloading in OOP.
- Tell us about your experience while working in team.
- How do you manage conflicts in a group assignments.
- Write a sql query to join two tables in database.
- Imagine you have two array a = [1,2,3,4,5] and b =[3,2,9,3,7], write a program to find out common elements in both array.
- ( Related to question no 8.) Can you write this without using for loop?
- ( Related to question no 8.) If i sort those arrays will it make any difference in your code? Can you write better code if arrays are sorted?
- What is different between ArrayList and Set.
- What is music? ( i was surprised when one company asked me this question ).
- Write sql query to find out total number of item sold for certain product and list them in descending order. ( need to use aggregate function )
- What would you like to learn from us? ( i was impressed by this question, there was only one company who asked me this question. This means that they were willing to teach new developers)
- When you move from one technology to another technology, how do you prepare/learn for it?
- Draw UML diagram for vending machine. ( This question was not for face to face interview, it was emailed to me )
- What is your favourite programming language? ( Be very careful while answering this question, programmer are attached to their favourite language, so dont hurt their feelings while answering this question )
- Other than programming units, what units have you studied? Do you like units related to business management?
- Can you email us some of your work that you have done? ( i was asked this question in almost every job interview )
- What is use of index in database? Give us example of columns that should be indexed.
- What is use of foreign key in database?
- Why you decided to study software development?
- What is you motivation in life?
- What is you goal for next 5 year? What do you want to become in future?
- What is MVC pattern?
- Have you heard of any design patter? Please name and explain couple of them.
- I have a bug that needs to be fixed: The receipt printer is printing in French. I am told to write a test to validate that is broken even before I look at where its’ going wrong. Isn’t that a bit silly? It’s broken, that’s why I’m fixing it, why don’t i write a test After i fixed it?
- What is the point of a final field?
- In what way are immutable objects useful?
- I call setsize(new Dimension(640,480)) on JFrame and it comes up as 640,480.I then set JPanel to its ContentPane and call setSize(320,240) on the panel, but for some reason, the panel takes up the whole JFrame. What could be the problem? ( Java question )
- What i a Heavyweight vs Lightweight component?Can you name instant of both. ( Java question )
- A query to a table in my database is slow, so i decided to speed it up by adding an index to every column on that table. Why is this not such a good idea?
- What is your dream job? It’s a dream job so it don’t need to be real job. Just anything imaginary.
- Do you have any question? ( don’t say that you don’t have any question. Try to ask something because it shows that you are interested in them)
Almost every company asked me to show projects that I have done. Make sure you have some projects ready and available in github. Also at the end of interview every company will ask you ” Do you any question? “. Don’t say NO. Prepare list of questions in advance. Below are few questions that i asked to person who was interviewing me:
- What IDE do you use?
- What version control system do you use?
- Will someone mentor me during my initial learning phase?
- What is next process after this interview?
- When will i be notified about my interview result?
- If i get selected what will be main area that i will be working on?
- Do you work on weekends? ( I asked this question to get rough idea of how many hours i will be working in a week. I need lots of hour 🙂 )
Once interview is finished, dont forget to say THANK YOU. Even your interview did not go as expected, always thanks to person who interviewed you. Attending lots of interview is important because it will prepare you for next interview.
After interview i was selected by couple of different companies, in my next blog i will write how i decided which company i will be working for.
I would also suggest to ready few of interview books to prepare for your interview. Below are few books that I recommend reading for your interview.