Add office photos
Engaged Employer

Capgemini

3.8
based on 39.3k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

Rajagiri Hospital Interview Questions and Answers

Updated 27 Jul 2024
Popular Designations

Q1. Write a java program to remove the character which repeats in a string

Ans.

Java program to remove repeating characters in a string

  • Create a new string to store the result

  • Iterate through each character in the input string

  • Check if the character is already present in the result string before adding it

  • Return the final result string

Add your answer

Q2. Difference between scenario and scenario outline

Ans.

Scenario is a single test case while scenario outline is a template for multiple test cases with different inputs

  • Scenario is a single test case with specific inputs and expected outcomes

  • Scenario outline is a template for multiple test cases with placeholders for different inputs

  • Scenario outline uses Examples keyword to provide different sets of inputs for each test case

Add your answer

Q3. How to pass authorisation dynamically

Ans.

Passing authorization dynamically involves generating and sending tokens or credentials at runtime.

  • Use token-based authentication to generate and pass tokens dynamically

  • Implement OAuth for secure authorization handling

  • Utilize JWT (JSON Web Tokens) for passing authorization dynamically

Add your answer

Q4. What is an array

Ans.

An array is a data structure that stores a collection of elements of the same type in a contiguous block of memory.

  • Arrays have a fixed size determined at the time of declaration.

  • Elements in an array are accessed using an index starting from 0.

  • Example: ['apple', 'banana', 'orange']

Add your answer
Discover Rajagiri Hospital interview dos and don'ts from real experiences

Q5. Xpath for dynamic elements

Ans.

Xpath is used to locate elements in XML/HTML documents. For dynamic elements, use functions like contains, starts-with, or position.

  • Use contains() function to locate elements with partial attribute values

  • Use starts-with() function to locate elements with attribute values starting with a specific string

  • Use position() function to locate elements based on their position in the document

Add your answer

Q6. Reverse a integer

Ans.

To reverse an integer, convert it to a string, reverse the string, and convert it back to an integer.

  • Convert the integer to a string

  • Reverse the string

  • Convert the reversed string back to an integer

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

Interview Process at Rajagiri Hospital

based on 4 interviews in the last 1 year
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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