Interview questions

Software Developer interview questions – page 2

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

  1. You have to write a function for dice which will return number from 1-6 with equal probability. constraints : you can not use random function, you can use only toss function

  2. Write a query to fetch duplicate email from table?

  3. Implement queue with the help of two stacks

  4. How can you improve the performance of a site.(Only frontend)

  5. Difference between .on('click',function() and .click(function())

  6. Write a function to check if two strings are anagram or not

  7. Given an array of integers which can be in one of four order – i.Increasing 2.Decreasing 3.decreasing then increasing 4.increasing then decreasing .Write a function to find the type of array

  8. Write sql to retrieve all unread messages when user sign in

  9. How is the Employee hierarchy in your current organization.Whom do you report to

  10. How much is the web traffic on your site etc

  11. Array of first n numbers.One number is missing.Find missing number?

  12. What is memcache. Some discussion around it

  13. Design a database schema for a chat application where user can send message to an individual or in group

  14. Difference between include_once and require_once?

  15. Constructor and destrutor?

  16. sessions vs cookie. Detailed discussion

  17. Can constructor be declared as private?

  18. Indexing in mysql?

  19. Overriding and Overloading?

  20. Static class and static variable?

  21. Singleton pattern and factory pattern?

  22. Memcache?

  23. Myisam and Innnodb?

  24. Triggers in mysql?

  25. Cookie in php? Size of the cookie, expiry etc?

  26. Design a traffic light system?

  27. What is the difference between get and post?

  28. What is session in php?

  29. What is lazy loading? Advantages and disadvantages of the same?

  30. How ajax works? Difference between angular js and jquery?

Companies that ask Software Developer questions