Add office photos
Employer?
Claim Account for FREE

Siemens Industry Software (India)

4.3
based on 118 Reviews
Filter interviews by

10+ Maharshi Udhyog Interview Questions and Answers

Updated 5 Jan 2025

Q1. What is a stack ? Write it implementation

Ans.

A stack is a data structure that follows the Last In First Out (LIFO) principle.

  • Stack is a collection of elements with two main operations: push (adds element) and pop (removes top element)

  • Common implementations include using arrays or linked lists

  • Example: Undo feature in text editors uses a stack to store previous states

Add your answer

Q2. What is the merge sort algorithm and what is its time complexity?

Ans.

Merge sort is a divide and conquer algorithm that divides the input array into two halves, sorts them recursively, and then merges them back together.

  • Divide the input array into two halves

  • Recursively sort each half

  • Merge the sorted halves back together

  • Time complexity is O(n log n)

Add your answer

Q3. How could we optimize a stack optimization

Ans.

Optimizing a stack involves reducing unnecessary operations and improving memory usage.

  • Implementing tail call optimization to reduce stack space usage

  • Using iterative algorithms instead of recursive ones to avoid stack overflow

  • Minimizing the number of local variables stored on the stack

  • Using dynamic memory allocation instead of fixed-size arrays to optimize memory usage

Add your answer

Q4. Database query from 2 table without a common column

Ans.

Use a JOIN statement to combine data from two tables without a common column.

  • Use a JOIN statement to combine data from two tables based on a different column

  • Specify the columns to select from each table in the query

  • Use aliases to differentiate between columns with the same name in different tables

Add your answer
Discover Maharshi Udhyog interview dos and don'ts from real experiences

Q5. sql for deleting dulicates and keeping one

Ans.

Use SQL query with ROW_NUMBER() function to delete duplicates and keep one.

  • Use ROW_NUMBER() function to assign a unique number to each row partitioned by the duplicate column(s)

  • Delete rows where the row number is greater than 1

Add your answer

Q6. java stream for sorting emp object

Ans.

Use Java Stream API to sort a list of employee objects based on a specific field.

  • Use the sorted() method of Stream to sort the employee objects based on a Comparator.

  • Define a Comparator based on the field you want to sort by.

  • Example: List sortedList = employeeList.stream().sorted(Comparator.comparing(Employee::getSalary)).collect(Collectors.toList());

Add your answer
Are these interview questions helpful?

Q7. What is the Quick Sort algorithm?

Ans.

Quick Sort is a popular sorting algorithm that uses a divide-and-conquer approach to sort elements in an array.

  • Divides the array into two sub-arrays based on a pivot element

  • Recursively sorts the sub-arrays

  • Combines the sorted sub-arrays to produce the final sorted array

  • Example: [3, 6, 8, 10, 1, 2, 1] -> [1, 1, 2, 3, 6, 8, 10]

Add your answer

Q8. sql for getting the max salary

Ans.

Use SQL query with MAX function to get the maximum salary from a table.

  • Use SELECT MAX(salary) FROM employees;

  • Make sure to replace 'employees' with the actual table name where salary information is stored.

  • Ensure that the column name for salary is correct in the query.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Design considerations for a front end web application

Ans.

Design considerations for front end web applications include user experience, performance, scalability, accessibility, and security.

  • Consider user experience by designing intuitive interfaces and smooth interactions.

  • Optimize performance by minimizing loading times and reducing unnecessary requests.

  • Ensure scalability by designing modular and flexible components.

  • Prioritize accessibility by following web content accessibility guidelines (WCAG).

  • Implement security measures such as ...read more

Add your answer

Q10. Detail OOP concept with real life examples?

Ans.

OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.

  • OOP focuses on creating objects that interact with each other to solve problems

  • Encapsulation: Objects can hide their internal state and require interaction through defined interfaces

  • Inheritance: Objects can inherit attributes and methods from parent classes

  • Polymorphism: Objects can take on different forms or have different behaviors

  • Exa...read more

Add your answer

Q11. What is your expected CTC

Ans.

My expected CTC is based on my experience, skills, and the market rate for Softwaretest Engineers.

  • My expected CTC is in line with industry standards for Softwaretest Engineers.

  • I have taken into consideration my years of experience and expertise in software testing.

  • I am open to negotiation based on the overall compensation package offered by the company.

Add your answer

Q12. Design a Flight booking system

Ans.

Design a flight booking system with user authentication, flight search, booking, seat selection, and payment handling.

  • Implement user authentication for secure access.

  • Create a database of flights with availability and pricing.

  • Allow users to search for flights based on criteria like date, destination, and number of passengers.

  • Provide seat selection options for users during booking.

  • Include a payment gateway for secure transactions.

  • Implement cancellation policies for users to man...read more

Add your answer

Q13. Managing cultural differences

Ans.

Managing cultural differences is essential for effective team collaboration and communication.

  • Promote open communication and encourage team members to share their perspectives and ideas.

  • Respect and value diversity within the team to foster a positive and inclusive work environment.

  • Provide cultural sensitivity training to help team members understand and appreciate different cultural norms and practices.

  • Encourage team bonding activities to build trust and camaraderie among tea...read more

Add your answer

Q14. Whay you decided to change Job

Ans.

Seeking new challenges and opportunities for growth in a different environment.

  • Desire for career advancement

  • Interest in working with new technologies

  • Seeking better work-life balance

  • Company restructuring or downsizing

  • Relocation to a new city

Add your answer

Q15. SQL query to find highest salary.

Ans.

Use SQL query with MAX function to find highest salary.

  • Use SELECT statement with MAX function to retrieve highest salary from salary column.

  • Example: SELECT MAX(salary) FROM employees;

  • Make sure to replace 'employees' with the actual table name where salary data is stored.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Maharshi Udhyog

based on 17 interviews
Interview experience
4.2
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.3
 • 189 Interview Questions
4.2
 • 173 Interview Questions
3.9
 • 151 Interview Questions
4.0
 • 138 Interview Questions
View all
Top Siemens Industry Software (India) Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter