Category Archives: Interview Questions

Trulia Phone Interview

PHP 1) Difference between interface and abstract class. Write code to show example of each. Can a class derive from abstract class and implement an interface as well? (Yes) 2) Write a function to test a palindrome. Javascript : 1) … Continue reading

Posted in Interview Questions | Leave a comment

Yahoo Phone Interview

1) Write a function to accept seconds and print time in format hh:mm:ss 2) If the same function is to be used multiple times how would we optimize the code so that we don’t have to calculate it each time. … Continue reading

Posted in Interview Questions | Leave a comment

Qualys Phone Interview

1) Difference between interface and abstract class 2) How would you provide security to a web application? 3) Diff between call by value and call by reference 4) Multiple inheritance in PHP 5) Does PHP pass objects by reference or … Continue reading

Posted in Interview Questions | Leave a comment

Ten-X Interview

1) Write a javascript function to print an array slowly (e.g each element in intervals of 500 ms). Example of array : 1,5,6,’cool’,8. Once done then print “all done”. Method-1 function foo(i) { var arr = [1,5,6,”cool”,8]; console.log(“i:” + i … Continue reading

Posted in Interview Questions | Leave a comment

E-Lance Interview Questions

1) Model an Elevator in Object Oriented Design 2) Sort Files

Posted in Interview Questions | Leave a comment

Interview questions from Pinank

here are the questions: 1. Given a library of Stack with 2 functions (push(x), pop()), implement a queue library (i.e. enqueue(x), dequeue()) Use 2 stacks: enqueue() : keep push(x)ing in Stack1 only dequeue() : keep pop()ing from Stack2 only. (Incase … Continue reading

Posted in Interview Questions | Leave a comment

Must Know Algorithms

As per Cracking the Coding Interview: Data Structures Linked Lists Binary Trees Tries Stacks Queues Vectors/ArrayLists Hash Tables Algorithms Breadth First Search Depth First Search Binary Search Merge Sort Quick Sort Tree Insert/Find/etc Concepts Bit Manipulation Singleton Design Pattern Factory … Continue reading

Posted in Interview Questions | Leave a comment

Software Architect Interview Questions

What do you understand from the word Architecture? What is meant by software Architecture? What kind of Software Architecture have you designed till now? Can you explain with the help of commands and patterns? Which kind of design patterns have … Continue reading

Posted in Interview Questions | Leave a comment

Interview Questions for Software Architects

Eleven Interview Questions for Software Architects http://news.dice.com/2011/01/07/eleven-interview-questions-for-software-architects/

Posted in Interview Questions | Leave a comment