Posts

Interview with JDA

Interview with JDA Q1. Write a program for demonstrating polymorphism in Java. Q2. How can you make a object's clone? Q3. Write a program to find the loop in linked list. Q4. what are differences between linked list and array list in java. Q5. write a program for demonstrating dijkastra algorithm. Q6. Describe equals and hashcode relationship in java. Q7. Write a program for finding the factorial by iterative and recursive methods. Q8. Write program for adapter pattern. Q9. Write a program for Observer Pattern. Q10. Write a program for singleton Pattern. Q11. How the web-services works in java and in general. Q12. What's JMS, can you create one connection string for this ? Q13. Difference between HashMap and TreeMap. Q14. How can improve the Query and DB Performance? Q15. Write a program for searching number from a array of 100 elements. Q16. How TreeMap works in the perspective of comparison ...

Interview with EKA Software

Question Paper 1 Programming Questions Q 1. You have given two sorted arrays, where you required to find out the smallest number in the union of these two arrays. Q 2. You have given an array with randomly distributed 1 and 0 now you have set all 0 in beginning of array and 1 after that . Ex. [1, 0, 1, 0, 0, 0, 0, 0, 1, 1 ] [0, 0, 0, 0, 0, 0, 1, 1, 1, 1] Q 3. Your program is getting one input stream now you have to find duplicate number in this input stream as soon as it received. Q 4. Reverse a String. Q 5. Implement a queue from a singly link-list. Q 6. How can you search a word in a dictionary ? Design Questions Q1.  Design a schema for Car rental service. Q2.  Implement LRU . Analytical and Brain Treasures Q1. you have to move digits to correct following equation. 62 - 63 = 1. Q2. There is a 18 wheelers truck which is crossing a bridge and this bridge can hol...

Interview with MORGAN STANELY

Interview with MORGAN STANELY 1. Stringbuffer and Stringbuilder 2. String Manipulation String s1 = "Sandesh"; String s2 = "Sandesh"; String s3 = new String("Sandesh"); String s4 = new String("Sandesh"); output: s1 = s2 s2 = s3 s3 = s4 3. equals and == 4. equals and hashcode 5. list and sets 6. hashmap 7. join() 8. wait() and notifyall() 9. cycles of thread 10. You are getting a big stream of big numbers. Now you have to design a DS, so that you can store only the unique values. 11. Now whatever system you have desinged, now check your system is compatible with following conditions. a. If numbers are ranging from 1 to 1000 and repeating a millions time. b. If numbers are ranging from 1 million to 10 million and repeating thousand times. 12. You are getting a big stream of numbers, now you have to design a DS which will store Latest Occurred number and 5 latest numbers. 13. checked and unch...

Interview with Pegasystems

PegaSystems Pega Systems ask questions mainly on Java, for me following questions were asked during interview. 1.  Operator overloading presents in Java or not . Explain more about this. 2.  Overriding, how do you achieve polymorphism in java? 3.  String and Stringbuffer. 4.  Inner class and outer class concepts. 5.  Inheritance in Java: Given a programming problem by deriving class from  B to A . 6. Abstract class and interface: relate them and give a real time scenario.

Interview with Oracle Corp.

1.  Define ref procedure and why we use. 2. Scrollable cursor. 3. How will you create a cursor. 4. How can you create file pointer. 5. Exception handling in procedure. 6. Declaring cursor in pro*c

Interview with Browerstack

1. Which javascript framework do you use. 2. Difference between hashmap and treemap. 3. What are the ways to create threads. 4. What's the use of join(). 5. If two threads are sharing one resources then how will you achieve this. 6. Prototyping in javascript. 7. How can you achieve cross browsing on activex controls.

Interview with MOONRAFT TECHNOLOGIES

1. What's the jdk and jvm. 2. Why string is immutable. 3. What are the optimizations techniques in sql query. 4. What is the oracle objects.