Interview questions

Software Developer interview questions – page 18

945 questions. Tap “Show answer” to check yourself.

  1. Test cases for an installation software like check if sufficient memory available,check for a previous version,check to undo all the changes made to the system while quitting the installation. 5.2 puzzles

  2. Merge two sorted linked lists using recursion

  3. Explain insertion sort,quicksort

  4. There was one more puzzle.. I donÂ't remember it. but I do remember that we started discussing ways of generating large prime numbers

  5. We also talked a bit about my phone browser project

  6. There is a clock at the bottom of the hill and a clock at the top of the hill. The clock at the bottom of the hill works fine but the clock at the top doesnÂ't. How will you synchronize the two clocks. Obviously, you canÂ't carry either of the clocks up or down the hill! And you have a horse to help you transport yourself. And, the time required for going up the hill is not equal to the time required to go down the hill

  7. Given a set of words one after another, give me a data structure so that youÂ'll know whether a word has appeared already or not

  8. He then asked me some DB fundas. Transaction. Serializability, Consistent state, etc

  9. Which are the four storage classes in C

  10. Given a program: int i; int main() { int j; int *k = (int *) malloc (sizeof(int)); Â… } Where are each of these variables stored?

  11. Given a polygon (could be regular, irregular, convex, concave), find out whether a particular point lies inside it or outside it

  12. He asked me to explain CannyÂ's algorithm to him. (this was because my DIP project was related to this)

  13. Then, he gave me a practical problem to solve: Suppose you are given an image which contains some text and some photos. How do you find the location of the image?

  14. He then looked at my grades. He commented that my lowest grade – B- was in Digital Image Processing. I just looked at him like a doofus thinking of what to say. But he quickly added, 'don't worry, it happens.'

  15. Why not further studies? (He had noted that I was third in my batch. He appeared impressed by that

  16. He asked me to tell him about my favorite project

  17. You have 8 balls which are identical(completely). You are given a weighing scale. How many times would you measure to get the odd ball out?

  18. Three friends rent a room for Rs.30 by paying Rs.10 each. The owner decides to give them a discount Rs.5 and gives it to the broker. The broker who a cunning man takes Rs.2. and returns one rupee to each of them. So the sum paid by each person would be Rs.9 which adds upto Rs.27 and the broker took Rs.2 ,so the total is Rs.29 where did that Re.1 go?

  19. He asked me my specialization?

  20. How many queues will you use to implement a priority queue?

  21. Which datastructure would you use to implement an heteregenous array?

  22. You are given a match-box and two candles of equal size, which can burn 1 hour each. You have to measure 90 minutes with these candles. (There is no scale or clock). How do you do?

  23. What is the difference between C and C++?

  24. What is the difference between for and while loop?

  25. Write a program to add two numbers without using + operator

  26. How to you reverse a string without using any looping and inbuilt functions?

  27. What are you proud of apart from your website DalalStreet and a few more

  28. What is Counter Strike. ( I mentioned winning a couple of gaming events in my Resume)

  29. What is Trading/Stocks/Exchange. (I had shown my interest in these things by mentioning the development of DalalStreet website by me)

  30. If I am ready to accept a project in Java, if Sapient had trained you in DotNet earlier

Companies that ask Software Developer questions