Coditas Technologies
10+ Soho House Mumbai Interview Questions and Answers
Q1. 2. You have two gallons of capacity 12 liters and 5 liters. How can you pour exactly 9liters of water into 12 liters gallon.
To pour exactly 9 liters of water into a 12-liter gallon using 5 and 3-liter gallons.
Fill the 5-liter gallon and pour it into the 12-liter gallon.
Fill the 5-liter gallon again and pour it into the 12-liter gallon until it is full, leaving 1 liter in the 5-liter gallon.
Empty the 12-liter gallon and pour the remaining 1 liter from the 5-liter gallon into it.
Fill the 5-liter gallon again and pour it into the 12-liter gallon to get exactly 9 liters.
Q2. 1. In how many ways you can measure a 3 storeyed building.
There are multiple ways to measure a 3 storeyed building, including using a measuring tape, laser distance meter, or counting the number of steps.
Using a measuring tape to measure the height of each storey and adding them up.
Using a laser distance meter to calculate the total height of the building.
Counting the number of steps from the ground floor to the top floor and multiplying by the height of each step.
Estimating the height based on the standard height of a storey in the...read more
Q3. 2 programs on arrays and list, two find the occurrence of a letter in a string
Two programs to find the occurrence of a letter in a string using arrays and lists.
For array program, iterate through the string and count the occurrence of the given letter.
For list program, convert the string to a list and use the count() method to find the occurrence of the given letter.
Handle edge cases like empty string and invalid input.
Q4. there was alphanumeric characters and we have to output only the number from that string Input - "wih562idjedk42ndej56" Output - 5624256
Extract numbers from a string of alphanumeric characters.
Iterate through each character in the string and check if it is a number.
Build a new string with only the numbers found in the original string.
Return the final string containing only the numbers.
Q5. Exceptional handling. What does finally block do?
Finally block is used to execute code after try-catch block, regardless of whether an exception is thrown or not.
Finally block is optional and follows the catch block.
It is used to clean up resources like closing files, database connections, etc.
Finally block is executed even if an exception is not caught.
It is used to ensure that a certain piece of code is always executed.
Example: try { //code } catch (Exception e) { //exception handling } finally { //cleanup code }
Q6. Difference between sets and list in java
Sets are unordered collections of unique elements while lists are ordered collections of elements.
Sets do not allow duplicate elements while lists do.
Sets do not maintain the insertion order while lists do.
Sets have faster lookup time for specific elements while lists have faster iteration time.
Examples of sets in Java include HashSet and TreeSet while examples of lists include ArrayList and LinkedList.
Q7. Final year project explanation (based on software)
Developed a web-based project management tool for small businesses
Used PHP and MySQL for backend development
Implemented a responsive UI using HTML, CSS, and JavaScript
Included features such as task assignment, progress tracking, and file sharing
Conducted user testing and incorporated feedback for improvements
Q8. Four pillars of OOPS with real world examples
Encapsulation, Inheritance, Polymorphism, Abstraction are the four pillars of OOPS
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: Class Car with properties like make, model, and methods like start(), stop().
Inheritance: Ability of a class to inherit properties and behavior from another class. Example: Class SUV inheriting from Class Car.
Polymorphism: Ability to present the same interface for different data types. Example: Method ...read more
Q9. How python differs from other languages
Python is a high-level, interpreted programming language known for its simplicity and readability.
Python uses indentation to define code blocks, making it easier to read and understand.
Python has a large standard library with built-in functions and modules for various tasks.
Python supports multiple programming paradigms, including procedural, object-oriented, and functional programming.
Python is dynamically typed, meaning variable types are determined at runtime.
Python is pop...read more
Q10. Write a code to get unique elements of an array
Code to get unique elements of an array of strings
Create a Set to store unique elements
Iterate through the array and add elements to the Set
Convert the Set back to an array to get unique elements
Interview Process at Soho House Mumbai
Top Associate Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month