Add office photos
Engaged Employer

Iris Software

4.1
based on 1.4k Reviews
Filter interviews by

ATS Share Brokers Interview Questions and Answers

Updated 29 Feb 2024
Popular Designations

Q1. Print greater number using lambda function

Ans.

Use lambda function to print greater number

  • Define a lambda function that takes two parameters

  • Use the max() function inside the lambda to compare the two numbers

  • Call the lambda function with two numbers to print the greater one

View 1 answer

Q2. Print 1-10 using 2 threads, in correct order

Ans.

Use two threads to print numbers 1-10 in correct order

  • Create two threads, one for printing odd numbers and one for printing even numbers

  • Use synchronization mechanisms like mutex or semaphore to ensure correct order

  • Example: Thread 1 prints 1, 3, 5, 7, 9 and Thread 2 prints 2, 4, 6, 8, 10

View 1 answer

Q3. Code for Fibonacci series -- both iterative and recursive

Ans.

Fibonacci series code in iterative and recursive methods

  • Iterative method: Use a loop to calculate Fibonacci numbers

  • Recursive method: Define a function that calls itself to calculate Fibonacci numbers

  • Example for iterative method: int fib(int n) { int a = 0, b = 1, c; for(int i = 2; i <= n; i++) { c = a + b; a = b; b = c; } return b; }

  • Example for recursive method: int fib(int n) { if(n <= 1) return n; return fib(n-1) + fib(n-2); }

Add your answer

Q4. What is call stack and event loop in JavaScript?

Ans.

Call stack is a data structure that stores function calls in JavaScript, while event loop manages asynchronous operations.

  • Call stack is a mechanism for managing function invocation in JavaScript.

  • Functions are added to the call stack when they are invoked and removed when they are completed.

  • Event loop is responsible for handling asynchronous operations in JavaScript.

  • Event loop continuously checks the call stack and the callback queue to determine if there are any tasks to be e...read more

Add your answer
Discover ATS Share Brokers interview dos and don'ts from real experiences

Q5. How Transaction propagation works in Hibernate?

Ans.

Transaction propagation in Hibernate allows the management of multiple database operations within a single transaction.

  • Hibernate supports different transaction propagation modes such as REQUIRED, REQUIRES_NEW, SUPPORTS, MANDATORY, NOT_SUPPORTED, and NEVER.

  • The propagation mode determines how the transaction should be handled when a method is called within an existing transaction.

  • REQUIRED is the default propagation mode, where if a transaction exists, the method will join it, o...read more

Add your answer

Q6. Explain OOPs concepts

Ans.

OOPs concepts refer to Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.

  • Inheritance: Allows a class to inherit properties and behavior from another class.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Polymorphism: Ability to present the same interface for different data types.

  • Abstraction: Hiding the complex implementation details and showing only the necessary features.

View 1 answer

Q7. How to do Unit testing in C++

Ans.

Unit testing in C++ involves writing test cases for individual units of code to ensure they work as expected.

  • Use a unit testing framework like Google Test or Catch2 to write and run test cases

  • Create separate test files for each unit of code being tested

  • Use assertions to check the expected behavior of the code under test

  • Mock dependencies or use dependency injection to isolate units for testing

  • Run tests regularly to catch regressions and ensure code quality

Add your answer

Q8. Difference between promise vs observables?

Ans.

Promises are used for a single async operation while observables are used for multiple async operations and can be cancelled.

  • Promises are eager, meaning they start immediately upon creation.

  • Observables are lazy, meaning they only start when subscribed to.

  • Promises can only handle a single value or error, while observables can handle multiple values over time.

  • Observables can be cancelled, while promises cannot.

  • Promises are part of ES6, while observables are part of RxJS library...read more

Add your answer

Q9. Describe Spring MVC.

Ans.

Spring MVC is a framework for building web applications in Java.

  • Spring MVC is a part of the Spring Framework, which provides a model-view-controller architecture for developing web applications.

  • It follows the MVC design pattern, where the model represents the data, the view represents the user interface, and the controller handles the requests and manages the flow of data.

  • It provides features like request mapping, data binding, validation, and view resolution.

  • Example: In a Sp...read more

Add your answer

More about working at Iris Software

#3 Best IT/ITES Company - 2022
HQ - Edison, New Jersey, United States (USA)
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at ATS Share Brokers

based on 4 interviews in the last 1 year
2 Interview rounds
Coding Test Round
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Technical Lead Interview Questions from Similar Companies

3.6
 • 86 Interview Questions
3.7
 • 75 Interview Questions
3.6
 • 40 Interview Questions
3.4
 • 23 Interview Questions
3.9
 • 17 Interview Questions
4.2
 • 11 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