Add office photos
Employer?
Claim Account for FREE

Capita

3.6
based on 2.3k Reviews
Filter interviews by

30+ Kanak Hospital & Medical Research Centre Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations
Q1. Check If The String Is A Palindrome

You are given a string 'S'. Your task is to check whether the string is palindrome or not. For checking palindrome, consider alphabets and numbers only and ignore the symbols ...read more

View 3 more answers
Q2. Reverse Stack Using Recursion

Reverse a given stack of integers using recursion.

Note:

You are not allowed to use any extra space other than the internal stack space used due to recursion. You are not allowed to...read more
View 2 more answers
Q3. Spring Boot Question

What are the @RequestMapping and @RestController annotation in Spring Boot used for?

Add your answer
Q4. Java Question

How many types of memory areas are allocated by JVM?

Add your answer
Discover Kanak Hospital & Medical Research Centre interview dos and don'ts from real experiences
Q5. Java Question

How would you differentiate between a String, StringBuffer, and a StringBuilder?

Add your answer

Q6. How to display values fetch from a table with alternate value

Ans.

Display values from a table with alternate value

  • Use a loop to iterate through the table values

  • Use an if-else statement to check for alternate values

  • Display the alternate values using a different formatting or color

  • Consider using CSS or JavaScript to enhance the display

Add your answer
Are these interview questions helpful?
Q7. DB2 Question

How to find the number of rows and eliminate duplicate values in a DB2 table?

Add your answer
Q8. Spring Boot Question

What are the major differences between RequestMapping and GetMapping?

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. Java Question

What are some standard Java pre-defined functional interfaces?

Add your answer
Q10. Java Question

What are the advantages of using the Optional class?

Add your answer
Q11. Java Question

What is the difference between JDK, JRE, and JVM?

Add your answer
Q12. Java Question

What are the features of a lambda expression?

Add your answer
Q13. Hibernate Question

What are the concurrency strategies available in hibernate?

Add your answer

Q14. Where did u implemented oops concepts in your project? Stream api, Map in Collections

Ans.

Yes

  • Implemented OOPs concepts in the project using Stream API

  • Utilized Map in Collections to implement OOPs principles

  • Used Stream API to apply functional programming concepts in the project

Add your answer

Q15. How to remove low values while fetching data from table in DB2

Ans.

Use SQL query with WHERE clause to filter out low values while fetching data from DB2 table

  • Use SELECT statement to fetch data from table

  • Add WHERE clause with condition to filter out low values

  • Example: SELECT * FROM table_name WHERE column_name > 10

  • Use ORDER BY clause to sort the data in ascending or descending order

Add your answer

Q16. Write controller to serve POST request for a rest call in spring

Ans.

A controller to handle POST requests in a Spring REST API.

  • Create a new class annotated with @RestController

  • Define a method in the class annotated with @PostMapping

  • Use @RequestBody annotation to bind the request body to a parameter

  • Implement the logic to handle the POST request

  • Return the response using ResponseEntity

Add your answer
Q17. Spring Boot Question

What is the use of @Transactional annotation in spring JPA ?

Add your answer
Q18. OOPS Question

When can you use super keyword?

Add your answer
Q19. DBMS Question

What is meant by normalization and denormalization?

Add your answer
Q20. DBMS Question

What is Correlated Subquery in DBMS?

Add your answer
Q21. Spring Boot Question

How does Spring Boot works?

Add your answer
Q22. SQL Question

Write a query that joins two tables A and B having common attribute ID and selects records(ID_NAME) that have
matching ID values in both tables .

Add your answer
Q23. Spring Boot Question

How MVC works in Spring?

Add your answer
Q24. DB2 Question

Mention the way of highlighting as well as putting a CURSOR to use in a COBOL program.

Add your answer
Q25. Hibernate Question

Can you tell the difference between setMaxResults() and setFetchSize() of Query?

Add your answer
Q26. Hibernate Question

Explain brief about Session interface used in hibernate?

Add your answer

Q27. Annotations used in web services, pagination, exception handling in spring

Ans.

Annotations used in web services, pagination, exception handling in Spring

  • Web services in Spring can be annotated with @RestController or @Controller

  • Pagination can be achieved using @PageableDefault and @PageableParam

  • Exception handling can be done using @ExceptionHandler and @ControllerAdvice

Add your answer
Q28. Spring Boot Question

What is Spring Batch?

Add your answer
Q29. Spring Boot Question

Mention a few features of Spring Boot.

Add your answer
Q30. Spring Boot Question

Explain Spring Actuator and its advantages.

Add your answer

Q31. Usage of @Transactional annotation in spring JPA

Ans.

The @Transactional annotation is used in Spring JPA to manage transactions in database operations.

  • The @Transactional annotation is used to mark a method or class as transactional.

  • It ensures that all database operations within the annotated method or class are executed within a single transaction.

  • If an exception occurs, the transaction is rolled back, and changes made within the transaction are not persisted.

  • The @Transactional annotation can be used with different propagation ...read more

Add your answer
Q32. OOPS Question

Difference between Abstract class and Interface.

Add your answer

Q33. Sort using JCL and COBOL

Ans.

Sorting using JCL and COBOL

  • JCL can be used to submit a COBOL program for sorting

  • COBOL program can use SORT verb to sort data

  • Sorting can be done based on specific fields or criteria

  • COBOL program can use SORT-RETURN to check the status of the sort operation

View 1 answer
Q34. SQL Question

Combine Two Tables

Add your answer

Q35. Cursor in DB2

Ans.

Cursor is a database object used to manipulate data in a result set.

  • Cursor is used to fetch a set of rows from a result set.

  • It allows the application to move forward and backward through the result set.

  • Cursor can be declared and opened in SQL.

  • It can be used to update or delete rows in a result set.

  • Cursor can be closed explicitly or implicitly.

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 Software Consultant Interview Questions from Similar Companies

4.1
 • 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