Software engineer Interview Questions in Cincinnati, OH | Glassdoor.co.in

# Software engineer Interview Questions in Cincinnati, OH, US

261

software engineer interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Java Developer at Kroger was asked...

21 Jul 2017
 Explain what functional programming was, its benefits, downsides and why I thought it was useful or not.3 AnswersQuestion came up due to my mention of being a Scala developer as my main language. Started with the basics of FP being immutability and evaluating things as pieces to a larger algorithm just like math. Continued on with pros, use cases, personal opinion and some cons.What all programming questions did you get in that HackerRank test?You didn't ask what kind, but what all, therefore its seems like you're asking specifics. And if you have to ask specifics then you probably need to re-evaluate things

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

17 Aug 2016
 You work in a factory that manufactures balls. One day one of the balls manufactured in a group of eight is slightly heavier than the rest. You have a standard scale with which you can weigh the balls. How would you go about finding the defective ball in the least amount of weighing attempts possible (maximum of 2 attempts).3 AnswersThe solution is fairly simple. Divide the balls into three groups (3,3,2). Weigh the two groups of three first to see if the ball is in one of those groups. If it is then weigh two of the balls from the group it was in, which will tell you which ball was the heavier ball. If it's not in the groups of three then the ball is one of the remaining two. Weigh them to determine which one it is. The interviewer will likely ask how you would do this for a larger group of balls, say 80. The solution doesn't change, still divide the balls into three groups and go from there.wrong - you used the scales at least four times . Use binary search as follows: Step 1: Divide into two groups of 4 balls, A and B. Weigh set A. If set A is correct weight, then set B is the "heavy set", else set A is the heavy set. Step 2: Divide the heavy set into two sets of 2 balls. Weigh one set of two balls. If correct weight, then the other two balls are the "heavy set" Step 3: Weigh one of the two balls. If heavy, then done. If not heavy, then the other ball is the heavy one. This is 3 uses of the scale, minimum possible attempts is "n" where 2 to the n is first power of 2 larger than or equal to the number of balls. For 80 balls, the answer is 7.The question states a maximum of 2 attempts to weigh. The correct solution doesn't involve a binary search, but rather something closer to a ternary search approach as follows: Divide the 8 balls into 3 groups: A=3 B=3 C=2 Then next step is to weigh group A and B. If A is heavier than B, then A contains the heavy ball and we can eliminate groups B and C. This is weight attempt #1. So, take 2 of the balls from group A (A1 and A2) and weigh them (weight attempt #2). Obviously, if A1 or A2 is heavier, then you've found the heaviest ball. If they both weigh the same, then the ball not weighed (A3) is the heaviest. The same logic as above applies to find the heavy ball if group B was heavier than A since there are also only 3 balls in the B group. If A weighs the same as B, then group C must contain the heavy ball. Of course, since there are only 2 balls in C, you only need to weigh both to find the heavy ball. .

### NX Developer at Siemens PLM Software was asked...

12 Nov 2010
 Difference between Heap and Stack3 AnswersI had no clueall objects get stored in heap while all value type get stored in stack..heap automatically maage memory using garbage collection..while in stack explicitly memory is managed using destructors..in heap,CLR is responsile for memory management.Heap : When you try to allocate memory by using "new " keyword .The memory will be stored in heap memory. Stack : The memory will be allocated automatically and free automatically once variable out of the scope

### Software Developer at Epic was asked...

23 Mar 2018
 Find the seed of a number. Eg : 1716 = 143*1*4*3 =1716 so 143 is the seed of 1716. find all possible seed for a given number.2 AnswersHave to write your own program.You have actually wasted your time tracing through the code. True, it helps to have a compiler to test your code, but you won't get this opportunity in any onsite tech interview, so practice accordingly. Usually minor syntax errors are always overlooked. A brutforce approach to the problem is sufficient. Epic interviews don't look for algorithmic efficiency.

### Developer at PL Marketing Inc. was asked...

28 Dec 2011
 What is your favorite excel function?1 AnswerVlookup

### PHP Web Developer at Convergys was asked...

26 Apr 2016
 Basic PHP questions, Jquery howto's1 AnswerExplained as best as possible and referred to W3Cschools/php.net when I needed to look something up

### Software Developer at Kinetic Vision was asked...

26 Jun 2017
 What is your preferred working environment?1 AnswerI said that I work best when in a small team, where the other members have varying levels of experience.

### Front End Developer at Clubessential was asked...

3 Jun 2015
 What's the latest and greatest thing you've done.1 AnswerPortfolio work shown and explained.

### Instructional Systems Developer at Ascendum Solutions was asked...

16 Sep 2011
 Describe the largest ISD project that you had to work on.1 AnswerDescribed it in detail

### Instructional Systems Developer at Ascendum Solutions was asked...

16 Sep 2011
 3) I asked the interviewer: "What will be the first important task that you would need the person you are planning on hiring to accomplish?" 4) I asked the interviewer: how do you see this role supporting you in this project.1 Answer3) She explained it the best she could (it's a big project) 4) She said that she needed 2 ISD people to help fill in the gaps between her 2 employees she brought from Reynolds & Reynolds (each had worked with her for more than 10 years each up until now).
110 of 261 Interview Questions