i
Cognizant
Filter interviews by
Static variables retain their value between function calls, while dynamic variables are allocated at runtime and can change during execution.
Static variables are declared using the 'static' keyword in languages like C and C++.
Example of static variable: 'static int count = 0;' retains its value across function calls.
Dynamic variables are created using memory allocation functions like 'malloc' in C or 'new' in C++.
...
Entity Framework is an ORM framework for .NET applications.
It allows developers to work with databases using .NET objects.
It supports various database providers such as SQL Server, MySQL, Oracle, etc.
It provides features like LINQ to Entities, automatic change tracking, and database migrations.
It reduces the amount of boilerplate code needed for database operations.
Example: DbContext class is used to interact with...
Sorted procedure sorts data in place while sorted function returns a new sorted list.
Sorted procedure modifies the original list while sorted function returns a new sorted list.
Sorted procedure is faster for large lists as it doesn't create a new list.
Sorted function is useful when original list needs to be preserved.
Example of sorted procedure: list.sort()
Example of sorted function: sorted(list)
IOC is a design pattern where objects define their dependencies. Dependency Injection is a way to implement IOC. @Autowired is a DI annotation in Spring.
IOC - Inversion of Control is a design pattern where objects define their dependencies instead of creating them.
Dependency Injection is a way to implement IOC where dependencies are injected into an object at runtime.
Spring Framework provides @Autowired annotation...
What people are saying about Cognizant
Annotations used in Spring and explanation of Spring MVC.
Annotations used in Spring: @Autowired, @Component, @Controller, @Service, @Repository, @RequestMapping, @PathVariable, @RequestParam, @ResponseBody, @ExceptionHandler
Spring MVC is a framework for building web applications using the Model-View-Controller architecture.
It provides components like DispatcherServlet, HandlerMapping, ViewResolver, and others to h...
Java 8 introduced significant features like lambdas, streams, and new date/time APIs, enhancing productivity and code readability.
Lambda Expressions: Enable concise representation of functional interfaces. Example: (a, b) -> a + b.
Streams API: Facilitates functional-style operations on collections. Example: list.stream().filter(x -> x > 10).collect(Collectors.toList()).
Default Methods: Allow interfaces to...
Client side scripting runs on the user's browser, while server side scripting runs on the server.
Client side scripting is executed on the user's browser, allowing for dynamic interactions without reloading the page (e.g. JavaScript).
Server side scripting is executed on the server, generating dynamic content before sending it to the user's browser (e.g. PHP, Python).
I appeared for an interview in May 2025, where I was asked the following questions.
I appeared for an interview in Apr 2025, where I was asked the following questions.
I appeared for an interview before Sep 2021.
Effective backups are crucial for data integrity and recovery in software engineering.
Regularly schedule backups to prevent data loss, e.g., daily incremental backups.
Use versioning to keep multiple copies of files, allowing recovery from different points in time.
Implement offsite backups to protect against physical disasters, such as using cloud storage.
Test backup restoration processes periodically to ensure data can...
I applied via Naukri.com and was interviewed in Jun 2024. There were 2 interview rounds.
I appeared for an interview in Dec 2024.
Data structures questions and aptitude
I applied via Company Website and was interviewed in Dec 2023. There were 2 interview rounds.
Basic coding question
BR in ServiceNow stands for Business Rule.
BR is a type of automation that executes when a record is inserted, updated, deleted, displayed, or queried.
BRs are used to enforce business logic, data integrity, and automate processes.
Examples of BRs include sending email notifications when a record is updated, enforcing data validation rules, and triggering workflows.
Client side scripting runs on the user's browser, while server side scripting runs on the server.
Client side scripting is executed on the user's browser, allowing for dynamic interactions without reloading the page (e.g. JavaScript).
Server side scripting is executed on the server, generating dynamic content before sending it to the user's browser (e.g. PHP, Python).
I appeared for an interview in Sep 2024, where I was asked the following questions.
An aptitude test is easy with normal questions
Normal hacker rank questions for solving
The duration of Cognizant Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 26 interview experiences
Difficulty level
Duration
based on 1.2k reviews
Rating in categories
Associate
72.9k
salaries
| ₹5.3 L/yr - ₹12.5 L/yr |
Programmer Analyst
56.1k
salaries
| ₹3.5 L/yr - ₹7.3 L/yr |
Senior Associate
55.2k
salaries
| ₹10.2 L/yr - ₹23.5 L/yr |
Senior Processing Executive
29.9k
salaries
| ₹2.3 L/yr - ₹6.5 L/yr |
Technical Lead
18.5k
salaries
| ₹6 L/yr - ₹21.2 L/yr |
TCS
Infosys
Wipro
Accenture