i
Cognizant
Filter interviews by
Clear (1)
Advanced iOS interview questions, Design pattens.
I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.
Use the toString() method to convert an int to a String in Java.
Use the toString() method of the Integer class to convert an int to a String.
Example: int num = 10; String str = Integer.toString(num);
Alternatively, you can also use String.valueOf() method to convert int to String.
Store and remove values in a hashmap based on keys
Create a hashmap to store key-value pairs
Use the put() method to store values in the hashmap
Use the remove() method to remove a particular value based on the key
What people are saying about Cognizant
Cognizant interview questions for designations
I applied via Naukri.com and was interviewed in May 2024. There were 2 interview rounds.
A Spring Boot app starts by initializing the Spring ApplicationContext and then launching the embedded Tomcat server.
Spring Boot app starts by scanning for components annotated with @ComponentScan in the specified package and sub-packages.
The application context is then created by loading the beans defined in the configuration classes annotated with @Configuration.
Once the application context is initialized, the embedd...
Spring Boot uses Bean Life cycle methods to manage the creation and destruction of beans in the application context.
Spring container instantiates the bean by calling the default constructor or a static factory method.
Spring sets the bean properties and dependencies using setters or constructor injection.
If the bean implements InitializingBean interface, the afterPropertiesSet() method is called.
If the bean has init-met...
Get interview-ready with Top Cognizant Interview Questions
Coding question in the hackerrank regarding string and collections including streams
Js coding question and react coding wuestion first round
I applied via Walk-in
Interface defines a contract for classes to implement, while abstract class can have both abstract and concrete methods.
Interface can only have abstract methods and constants, while abstract class can have both abstract and concrete methods.
A class can implement multiple interfaces but can only inherit from one abstract class.
Interfaces are used to achieve multiple inheritance in Java, while abstract classes are used t...
I applied via Job Portal and was interviewed in Mar 2024. There was 1 interview round.
Performance tuning techniques involve optimizing code, database queries, and server configurations to improve system efficiency.
Identify and eliminate bottlenecks in the code by profiling and analyzing performance metrics
Optimize database queries by using indexes, avoiding unnecessary joins, and limiting the amount of data retrieved
Fine-tune server configurations such as memory allocation, caching mechanisms, and threa...
Some of the top questions asked at the Cognizant Senior Associate interview -
The duration of Cognizant Senior Associate interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 208 interviews
5 Interview rounds
based on 3k reviews
Rating in categories
Associate
71.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Programmer Analyst
55.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate
48.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Processing Executive
28.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
17.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
Accenture