Add office photos
Employer?
Claim Account for FREE

Capita

3.6
based on 2.3k Reviews
Video summary
Filter interviews by

30+ Diam Display India Private Limited Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Palindrome String Validation

Determine if a given string 'S' is a palindrome, considering only alphanumeric characters and ignoring spaces and symbols.

Note:
The string 'S' should be evaluated in a case-insensi...read more
Add your answer

Q2. Reverse Stack with Recursion

Reverse a given stack of integers using recursion. You must accomplish this without utilizing extra space beyond the internal stack space used by recursion. Additionally, you must r...read more

Add your answer
Q3. What are the @RequestMapping and @RestController annotations used for in Spring Boot?
Add your answer
Q4. How many types of memory areas are allocated by the JVM?
Add your answer
Discover Diam Display India Private Limited interview dos and don'ts from real experiences

Q5. 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
Q6. What are the advantages of using the Optional class in Java?
Add your answer
Are these interview questions helpful?
Q7. How can you find the number of rows and eliminate duplicate values in a DB2 table?
Add your answer
Q8. What are the major differences between @RequestMapping and @GetMapping in Spring Boot?
Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. What are some standard Java pre-defined functional interfaces?
Add your answer
Q10. What are the features of a lambda expression?
Add your answer
Q11. What are the concurrency strategies available in Hibernate?
Add your answer

Q12. 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

Q13. 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
Q14. What is the use of the @Transactional annotation in Spring JPA?
Add your answer

Q15. 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
Q16. When can you use the super keyword?
Add your answer
Q17. What is meant by normalization and denormalization?
Add your answer
Q18. What is a correlated subquery in DBMS?
Add your answer
Q19. How does Spring Boot work?
Add your answer
Q20. How does MVC work in Spring?
Add your answer
Q21. How can you highlight and use a CURSOR in a COBOL program?
Add your answer
Q22. Can you explain the difference between setMaxResults() and setFetchSize() in a Query?
Add your answer
Q23. Can you explain briefly about the Session interface used in Hibernate?
Add your answer

Q24. 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
Q25. What is Spring Batch?
Add your answer
Q26. Can you explain Spring Actuator and its advantages?
Add your answer
Q27. What are a few features of Spring Boot?
Add your answer

Q28. 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
Q29. What is the difference between an abstract class and an interface in OOP?
Add your answer

Q30. 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
Q31. How do you combine two tables in SQL?
Add your answer

Q32. 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 Process at Diam Display India Private Limited

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

Top Software Consultant Interview Questions from Similar Companies

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