Add office photos
Engaged Employer

Vanenburg

4.4
based on 24 Reviews
Filter interviews by

MRR Soft Interview Questions and Answers

Updated 1 May 2024

Q1. What is the spring boot and java version used in your project?

Ans.

We are using Spring Boot 2.5.3 and Java 11 in our project.

  • Spring Boot version: 2.5.3

  • Java version: 11

Add your answer

Q2. What is factory design patterns and give one example for it

Ans.

Factory design pattern is a creational pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.

  • Factory design pattern is used to create objects without specifying the exact class of object that will be created.

  • It provides a way to delegate the instantiation logic to child classes.

  • One example is the Factory Method pattern, where a superclass provides an interface for creating objects, but ...read more

Add your answer

Q3. What is the use of transactional annotation?

Ans.

Transactional annotation is used in Spring framework to manage transactions in a declarative way.

  • Transactional annotation is used to define the scope of a single database transaction.

  • It ensures that if any operation within the transaction fails, the entire transaction is rolled back.

  • It simplifies the code by handling transaction management automatically.

  • It can be applied at class level or method level in Spring applications.

Add your answer

Q4. Find the frequency of given character in the given string?

Ans.

Use a loop to iterate through the string and count the occurrences of the given character.

  • Iterate through the string using a loop

  • Check each character if it matches the given character

  • Increment a counter if a match is found

  • Return the counter as the frequency of the given character

Add your answer
Discover MRR Soft interview dos and don'ts from real experiences

Q5. Find the second largest number in an given array?

Ans.

Iterate through the array to find the second largest number.

  • Iterate through the array and keep track of the largest and second largest numbers.

  • Compare each element with the largest and second largest numbers to update them accordingly.

  • Return the second largest number once the iteration is complete.

Add your answer

Q6. Design employee database schema

Ans.

Design a database schema for an employee database

  • Create a table for employees with fields like employee_id, name, department, position, etc.

  • Consider adding tables for departments, positions, and any other related entities

  • Include relationships between tables using foreign keys

  • Ensure data integrity with constraints like unique keys and not null constraints

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Solution Architect Interview Questions from Similar Companies

3.6
 • 15 Interview Questions
3.7
 • 10 Interview Questions
View all
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
Get AmbitionBox app

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