Interview questions

Software Development Engineer interview questions

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

  1. puzzle-There are 1000 wine bottles. One of the bottles contains poisoned wine. A rat dies after one hour of drinking the poisoned wine. How many minimum rats are needed to figure out which bottle contains poison in hour. link-http://quiz.geeksforgeeks.org/puzzle-19-poison-and-rat/

  2. Deadlock in operating system

  3. Launch Mode of Activity in Android

  4. Given a String, write a function, which will return a boolean. The function will tell you whether one permutation of the string is Palindrome or not

  5. Given an array, which consist of natural numbers only. The elements are in random order, tell the first missing natural number in the array. e.g 4,6,3,1,6,8 o.p - 2 1,2,3 O/P - 4

  6. Given two words, find the similarity between them. You have to develop your own sense of similarity here. Normalize length of LCS by the total length of the string.

  7. Given a binary tree, return doubly linked list of all the nodes at each level.

  8. Implement the "People you may know" feature of facebook with code. Use BFS and counter (for mutual friends).

  9. Longest increasing subsequence

  10. It was more about array and 2-D matrix

  11. Define a class template?

  12. How can we catch all kind of exceptions in a single catch block?

  13. Explain a static variable?

  14. What is the meaning of base address of the array?

  15. Explain command line arguments?

  16. What is the purpose of external storage specifier?

  17. Define the scope resolution operator?

  18. What is keyword auto for?

  19. What do you mean by the block scope variable in C++?

  20. Describe a namespace?

  21. Can you give an example of Stored Procedure?

  22. Define Re-factoring in Software?

  23. Tell the Difference between synchronized and synchronized block?

  24. What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

  25. Differentiate between Static Synchronization vs. Instance Synchronization?

  26. What is the use of Join method?

  27. What is the use of volatile in Java?

  28. What do you mean by Hash Code collision?

  29. How static variable work in java?

  30. What is Annotation in Java?

Companies that ask Software Development Engineer questions