Software Associate Interview Questions | Glassdoor

# Software Associate Interview Questions

630

Software associate interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Associate Software Engineer at Workday was asked...

Nov 22, 2011
 How would you reverse a the words in a string? (Be able to defend answer)4 AnswersString reverse(String s){ length = s.length()-1; s1 = ""; while(length >=0){ s1 += s[length]; length--; } return s1; } //wrote the code in 1 minute, did not test it or walk through it, use at your own riskI got the other idea of not using a buffer (a better solution) String reverseWithoutBuffer(String s){ if (s.length() == 0 || s.length() == 1){return s;} length = s.length()-1; i = 0; while (i != length){ String s1 = s[i]; s[i] = s[length]; s[length] = s1; i--; length--; } return s; } //did not test it or walk through it, use at your own riskI mean i++ (not i--), sorryShow More ResponsesSorry for another error, it should be while (i < length)

Jul 15, 2010
 How to use concurrency to make matrix multiply computation faster? what is the complexity?3 Answersmake each row of left matrix and each column of right matrix to be an independent thread. complexity is O(n^3).If it's a 4x4 matrix & you're running on modern processing hardware then don't use threads at all... Use a single SIMD matrix multiply instruction...check Foxes and Cannon's algorithmes. With the case of Fox algorithm the matrix is divided by sqrt(p), where p - is number of processes. Then, for each submatrix, with separate process computes subresult element C (Cij+=Aik* Bkj ). The rows of matrix A are being shifted right (i+j mod p positions), and columns of matrix B being shifted upwards. Repeat, until i

### Associate Software Engineer at Symantec was asked...

Dec 14, 2011
 Division method without using divide operator4 Answersint divide(int a,int b){ //should return a/b if (b == 0){ throw new DivisionByZeroException(xxxx);} // or do whatever... if (b == 1){return a;} int i = 1; int temp = b; while (tempi++ should be before temp=b*i, sorry for errorThe other way is to use bitwise operation (>> or >), you are doing division of 2. For example, 01000 represents 8 00100 represents 4 00010 represents 2 00001 represents 1 Hopefully you can understand this.... However, you need to take care of when the denominator is odd- which is very difficult to do. I would recommend my first solution listed above. It is more understandable or less error-prone.Show More ResponsesUse >> to shift both until divisor is 1, the final dividend value is the answer

### Entry Level Staff Associate - Software at P2 Energy Solutions was asked...

Mar 23, 2011
 None of the questions were very difficult in and of themselves. They were mostly behavioral, and the hardest part was trying to remember a situation from the past to use as an example.2 AnswersNone of the questions were very difficult in and of themselves. They were mostly behavioral, and the hardest part was trying to remember a situation from the past to use as an example.waste of time for a crappy salary, that's the bottom line. oh, sorry if u didn't know that you might wanna expect 16-18\$/hr for this position.

### Associate Software Engineer at Accenture was asked...

Jul 3, 2012
 The interviewer had asked me a time when it was best not to use OOP after spending several minutes praising OOP.2 AnswersThey will sometimes ask questions to see how you react and if you will fake and answer or be honest.When you need space with low level coding

Oct 11, 2012
 How is allocated memory free'd in C++? 3 AnswersThe answer is using a destructor and the 'delete' keyword.Yes. The destructor is automatically called when the object is about to go out of scope. For explicitly freeing memory we use delete, delete[]. Nevertheless, the delete keyword only requests the Operating system to free the allocated memory. The actual cleanup is done only by OS.Using free() is still valid c++ code

### Associate Software Engineer at Allscripts was asked...

Mar 14, 2014
 in an auditorium with various filled or empty seats [a boolean array], create a function that returns the best open seat. The best open seat being the one with the most empty seats around it. He said I could email him the answer the next day but if they say that that means you failed pretty much.1 AnswerI eventually solved this using 3 for loops and a 2D array. One main loop for iterating through all the seats and 2 other loops to rank the seats by counting the empty seats to the left and right of the current index. Sorting multidimensional arrays was the hard part.

### Software Associate at Accruent was asked...

Mar 8, 2013
 What is the difference between an object and a class.1 AnswerObject is an instantiation of a class.

### Associate Software Engineer at Accenture was asked...

Apr 3, 2013
 Technical questions were very basic. If you don't know fundamentals then you're screwed before you even get interviewed. HR questions were all name a specific situation where you had xyz problem and steps to resolve. i.e. Name a time when you had to make a group decision and what was the outcome. How did you reach the outcome as a group and how did you contribute individually.1 AnswerIf a candidate did not know the fundamentals of programming, then why would they apply for a Software Engineering position? Your logic makes no sense whatsoever, and I am surprised that you were offered a position at all. Also, how dare you say incriminating things about the group that you were with assuming that they all went to "University of Phoenix." You are a pompous bigot and deserve not a penny more of salary then what they were offering you!

### Associate Software Developer at Calypso Technology was asked...

Jan 29, 2012
 If you have a linked list and it has circle in it then how will you detect 1 AnswerYou can put two pointers and one will move faster than other. If you keep them moving for a while then at some point of time, they will point to the same node for an instance.
110 of 630 Interview Questions