0% found this document useful (0 votes)
6 views6 pages

Interview Questions

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views6 pages

Interview Questions

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

TCS interview questions

=======================================================
1. could you please introduce yourself
2. can you please describe your projects
3. can you explain how Java achieves platform Independence
4. what's the difference between a hashset and treeset in Java
5. can you explain bubble sort algorthm
6. what are the main difference between get and post method in HTTP
7. can you explain how cookies work in web browsers
8. can you explain what REST
9. what is the difference between a stack and Queue
10. can you give an example of where a linked list is more efficient than a
array(playlist)
11. can you tell me what a graph data structure
12. please explain the concept of polymorphism with an example(shape )
13. what is encapsulations and why is it it important
14. can you explain inheritance in brief
15. can you explain what a deadlock is in operating system
16. what is the difference between a process and a thread
17. what are the difference between SQL and non-sql database
18. can you explain what data normalization
19. what is the OSI model in networking
20. could you explain what DHCP is and why it is used in network
21. can you describe a challenging situation you faced in a project
22. can you give an example of how you work effectively in a team
23. have you ever had a disagreement with a team member in a project
=================================================================================
Accenture 3.3 years experience
================================================================================
1. can you describe the most recent project you worked
2. what are the key advantages of using spring boot over traditional spring
applications
3. can you explain the concept of dependency injection in Spring
4. what is the role of @SpringBootApplication annotation in a spring boot
application
5. how does spring boot achieve Auto configuration
6. can you provide an example of that where Auto configuration simplifies
development
7. what are the steps to override a specific Auto configuration steps to override
8. what annotations are typically used to create restful services in Spring
9. what platform you testing your API
10. how would you handle exceptions in springboot
11. what approach do you take for securing rest end points
12. describe a spring boot project where you significantly improve performance
because performance matters a lot nowadays you know and what techniques I would
also emphasize that what techniques do you use
13. what is the meaning of asynchronous here how does asynchronous
14. if you had us to scale a springboard application to handle high traffic so what
strategy would you use
15. how would you modify an existing sprin boot application to convert it into a
serverless architecture
16. how would you like have you heard about circular dependencies
17. how would you address the issue of circular dependencies
18. have heard about call back function
===============================================================================
Paytm Interveiw Questions
===============================================================================
1. can you tell me what are conditional annotation in Spring
2. have you used any conditional annotations before
3. what are the purposes of using these conditional annotations what do we achieve
with them
4. explain the role of enable autoc configuration annotation in a springboard
application and how does a springboard achieve Auto configuration internally
5. how does a springboard achieve this Auto configuration internally
6. can you tell me what is this class path
7. have you uh worked or aware about the actuator end points
8. what is the dependency for this actuator
9. can we secure these actuator end points
10. can you tell me so what Strate strategies would you use to optimize the
performance of spring board application
11. what is this web flux
12. do you know uh any example
13. can you tell me what is aspect oriented programming in Spring framework
14. can you give an example of an advanced use case of aop
15. can you explain how spring boot profile work
16. which file do you uh use either yml or properties in your current project
17. do we have any benefits using yml over properties file
18. how would you modify an existing springboard application to convert it into a
service serverless architecture
19. can you explain what is spring cloud
20. suppose you need to ensure zero downtime deployment for springboard e-commerce
web applications okay okay uh what approach would you take
21. do you know about uh Canary deployment strategy
22. can you explain what is component scan and how would you pre prevent a specific
package from being scanned for components
23. can you explain what is the default embedded server providing by the spring
board
24. how would you design zato backend uh from scratch
25. you mentioned delivery partner uh can you design the schema for delivery
partner
26. can you now design the schema for food delivery partner
27. can you please uh name the data structure which you are using like in your
current
project
28. can you tell me the time complexity for common operation like insertion
deletion retrieval in a hashmap
29. what is the complexity for tree map
30. what is the difference between a weak reference and a soft reference and how
can they be useful in managing uh collection of objects weak reference and soft
reference
31. can you uh tell me or explain me what is the advanced use case of Ling list and
hashmap
32. can you tell me whether Java is 100% object oriented or not
33. explain what is the entry point in Java
34. can we create a server in Java application without uh using spring framework
==================================================================================
EPAM
=====================================================================
1. what is this Saga pattern
2. which Java version do you use uh in your current project
3. can you tell me uh some new features of java 11 which are not there in Aller
version
4. can you tell me about singl t classes
5. how can we create this Singleton classes
6. are these threads safe
7. how will you create a thread save single ton in Java using double check locking
8. why the main method is public and static
9. can we override this Min method
10. do you know about serialized data
11. why shouldn't we serialize data into a text file
12. what happen if your serializable class contain a member that is not
serializable and how will you fix it
13. what is this transient
14. how does garbage collection work in Java
15. do finalized keyword has any role here in garbage collection
16. can you tell me uh what algorithm jvm use for garbage collection
17. how can we uh memory leaks occur in Java even we have automatic garbage
collection
18. can you tell me uh the difference between Young Generation and old generation
memory
spaces
19. how do you ensure the quality and maint maintainability of your code in your
project
20. You observe that a springboard application performs slower in the production
ironment compared to the development setup what step would you take to address this
issue
21. uh can you tell me how do you integrate a relational database just like a MySQL
uh with a springboard application
22. how would you modify uh an existing springboard application to convert into a
server serverless architecture
23. how does a spring board make the decision on which ser to use
24. how would you handle a exceptions in a springboard rest application
25. how can we handle multiple beans of the same type
26. what is the aspect oriented programming
=============================================================================
HCL
=============================================================================
1. what did you use for handling concurent
2. can you please tell me the annotations of a synchronous functionality
3. how can you synchronize two Java process
4. describe the key component of java virtual machine architecture
5. can you tell me how the Heap and stack memory areas differ
6. how does the Java enhance the performance of execution engine
7. how does the Java Implement polymorphism
8. can changing exis modifier affect polymorphic behavior in overridden method
9. how does the super keyword play a role in polymorphism especially in the context
of method over
10. can you explain how Java handle access visibility in sub classes
11. how does polymorphism benefits a Java collection framework
12. can you describe how hash code and equals work together in the collection
13. can you uh explain how does Java it stream API enhance collection process
14. can you describe a complex problem you solve using a Java collection
15. can we create a server in Java application with without using a spring
framework
16. how would you deploy a web application using a serate container like Apache
tomat or JY without the spring
17. can you provide a example where Auto configuration simplifies development
18. can you discuss a scenario where you have to override the default Auto
configuration
provided by springboard
19. imagine you notice that a springboard application you are working on is
significantly slower in production than in development environment
20. have you hear about circular dependency
=============================================================================
IBM
==============================================================================
1. please tell me uh about string and string buffer
2. there are different ways to create object in Java okay so uh can you just please
give some ways
3. can you just give uh some methods that threads use to communicate with each
other
4. what is the starter dependency in springbot application
5. how do you connect a database to a springboard application
6. can you explain some changes in internal working of hashmap in Java
7. can you just give uh about the changes were done in Java it for garbage
collection
8. hy was default method introduced in jav
9. can you just tell me that why optional was introduced in jav
10. can you just tell me that what is the latest version of a springboard and how
the latest one is different from springboard 2
11. how many types of Scopes are there in Spring
12. ave you ever used any design pattern in your project
13. can you explain the solid principle
================================================================================
TCS
================================================================================
1. difference between the stack and Heap memory
2. how does the garbage collection work in Java
3. how does the Java achieve polymorphism
4. can you explain can you provide a real life example where polymorphism
5. what are Java streams
6. how would you use streams to filter and map a collection of objects
7. can you explain the concept of synchronized keyword in Java
8. can you please describe a scenario where not using synchronized
9. can you explain the difference between checked and unchecked exceptions
10. can you describe how would you implement a single T pattern in Java
11. what is the reflection in Java and when would you use it
12. is there any disadvantages of using reflection
13. explain the dependency injections principle in Springs
14. how does spring board simplify the management of application dependencies
15. what are the spring board startup and how do they help in application
development
spring boot
16. can you name a few common starter and their use cases common starter
17. can you describe the role of rest controller and uh request mapping annotation
in Spring MVC
18. how do you design a simple restful service for managing user profiles
19. how does the Spring Security handle authentication and authorization
20. what are some common security pitfalls in web applications
21. can you explain the concept of spring data GPA
22. how do you handle complex queries using spring data jpa
23. can you explain the role of actuator in springboard
24. how would you use actuator in microservice architecture for monitoring
25. what is aspect oriented programming and how is it implemented in Spring
26. can you provide a example use case for aop in logging or security
========================================================================
Tech Mahindra
======================================================================
1. how is the final keyword used in Java
2. can you give an example of a final class and its applications
3. how does a final method differ from a static method
4. can you just tell me that what effect does the final keyword have been used with
variables
5. how does the garbage collector work in job
6. can you man manually trigger garbage connection
7. how does garbage collection from memory links
8. can you explain the different types of reference in Java and how will they
affect garbage collection
9. can you explain class holder and its types class loader
10. can you explain the delegation model for class learnings delegation
11. can you explain the difference between synchronized collection and concr
collection
12. can you explain the concept of Java memory model and how does it ensure thread
safety
13. what are the volatile variables and how do they work within the Java memory
model
14. can you explain synchronization in Java and its impact in concrete processing
15. can you explain how can we handle deadlocks in Java
16. have you encountered any challenges when M creting Cod to a newer version of Ja
migrating to new version
17. can you walk through the step to set up a rest controller to handle file
uploads
18. how would you handle exceptions if a file upload fails
19. can you explain how you externalize configuration in a spring application for
fferent environments
20. what method can you use to inject configuration properties into your spin
application
=================================================================================
java fresher interview
=============================================================================
1. why do we use oops in our project
2. can you tell me why do we use getter Setters
3. can a top level class be private or producted in Java
4. can you tell me the concept of classes and objects
5. okay can you give me some real life example uh to denote uh the class and
objects
6. you tell me what are the ways to create
an object
7. can a class in Java be without any methods or Fields
8. have you have you heard about Singleton class
9. can you tell me what Constructor is
10. can we use a private Constructor
11. can a class extends on its own
================================================================================
1. can you describe how they increase the efficiency of microservice architecture
2. can you explain how inheritance and compositions are
3. can you tell me the purpose of exchanger class in Java
4. can you describe the Java memory model and how does it supported multi-threaded
application
5. do you know what our design pattern
6. can you tell me the user case of the S pattern
7. what about the Saga pattern
8. how do secure spring boot application
9. how does spring board simplify dependency injection
10. what testing strategy do you recommend for spring boot application
11. can you tell me how do you ingate a non- relational database
12. how we can integrate a non-relational database with a spring boot application
13. how would you implement catching in a springboard application
14. can you describe a scenario uh where we can Implement a synchronous messaging
in a springboard application
15. you need to migrate an existing application to use a new database scheme any
spring mod without down time how would you plant and execute this migration
16. what is the spring cloud and how it is useful for building microservice
17. is it possible to change the default server
==============================================================================
Wipro 3 year experience
============================================================================
1. can you uh tell me about your recent project
2. how did you structure your application and what were the main components
3. what you have done for your uh data validation
4. can you please tell me the difference between jvm uh J and jdk
5. can a Java application be run without installing the Jvm
6. is it possible to have the jdk installed without having the J
7. can you please tell me uh what tools included in jdk
8. can you explain how Java virtual machine contributes to the Java platform
Independence
9. can you tell me that what are the memory storage that are available with
10. can you tell me that how does the jvm optimize memory management
11. can you please tell me the difference between iterator and list iterator
12. can we start a thread twice
13. how do you secure a rest API in Spring
14. an you tell me about the spring boot Dev tools
15. can you tell me about the actuator and micrometer

You might also like