Add office photos
Employer?
Claim Account for FREE

Virtusa Consulting Services

3.8
based on 4.7k Reviews
Filter interviews by

Recipharm Pharmaservices Interview Questions and Answers

Updated 19 Nov 2024
Popular Designations

Q1. Can you write code for printing a star in java

Ans.

Yes, I can write code for printing a star in Java.

  • Create an array of strings to represent the star

  • Use a loop to iterate through each row of the array

  • Use another loop to iterate through each column of the array

  • Print the value at each row and column position

  • Example: String[] star = {" * ", " *** ", "*****", " *** ", " * "};

  • Example: for (String row : star) { System.out.println(row); }

Add your answer

Q2. When to use GET, POST, PUT, DELETE (Rest methods)

Ans.

GET for retrieving data, POST for creating data, PUT for updating data, DELETE for deleting data

  • GET: Used to retrieve data from a server

  • POST: Used to create new data on a server

  • PUT: Used to update existing data on a server

  • DELETE: Used to delete data on a server

  • Example: GET request to fetch user information, POST request to create a new user, PUT request to update user details, DELETE request to delete a user

Add your answer

Q3. Write SQL query to join 2 tables (inner join)

Ans.

SQL query to perform inner join on 2 tables

  • Use the JOIN keyword to combine rows from two tables based on a related column

  • Specify the columns to select from each table

  • Use the ON keyword to specify the join condition

Add your answer

Q4. Write SQL query to get second highest salary

Ans.

SQL query to retrieve the second highest salary from a table

  • Use the ORDER BY clause to sort the salaries in descending order

  • Use the LIMIT clause to retrieve the second row

Add your answer
Discover Recipharm Pharmaservices interview dos and don'ts from real experiences

Q5. Differentiate between Sessions and Cookies

Ans.

Sessions store data on the server side while cookies store data on the client side.

  • Sessions store data on the server side, while cookies store data on the client side

  • Sessions are more secure as the data is stored on the server and not visible to the client

  • Cookies are stored on the client's browser and can be accessed and modified by the client

  • Sessions are typically used to store sensitive information like user credentials, while cookies are used for tracking user behavior or ...read more

Add your answer

Q6. Lifecycle hook of angular

Ans.

Lifecycle hooks in Angular are methods that allow you to tap into the lifecycle of a component or directive.

  • Lifecycle hooks include ngOnInit, ngOnChanges, ngDoCheck, ngOnDestroy, etc.

  • ngOnInit is used for initialization logic, ngOnChanges is used for reacting to input changes, ngOnDestroy is used for cleanup tasks, etc.

  • Example: ngOnInit() { console.log('Component initialized'); }

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

Interview Process at Recipharm Pharmaservices

based on 12 interviews
3 Interview rounds
Resume Shortlist Round
Technical Round
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Associate Consultant Interview Questions from Similar Companies

3.7
 • 143 Interview Questions
3.5
 • 29 Interview Questions
3.7
 • 22 Interview Questions
3.5
 • 13 Interview Questions
3.9
 • 11 Interview Questions
3.8
 • 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

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