i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Walk-in and was interviewed in Nov 2024. There were 2 interview rounds.
Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow you to treat functionality as a method argument.
Functional interfaces have a single abstract method and can be used with lambda expressions.
Streams provide a way to work with sequences of elements and perform operations on them.
Default methods allow interfaces to have method ...
We faced challenges with communication and conflicting priorities, resolved through regular team meetings and clear task delegation.
Lack of clear communication among team members
Conflicting priorities leading to delays in project timeline
Resolved by scheduling regular team meetings to discuss progress and issues
Clear task delegation to ensure everyone knows their responsibilities
OOPS stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.
OOPS focuses on creating objects that contain data and methods to manipulate that data.
Encapsulation, inheritance, and polymorphism are key principles of OOPS.
Examples of OOPS languages include Java, C++, and Python.
Functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids changing state and mutable data.
Focuses on pure functions that do not have side effects
Emphasizes immutability and avoids changing state
Uses higher-order functions and function composition
Commonly used languages include Haskell, Scala, and Clojure
OOPS focuses on objects and classes, while functional programming focuses on functions and immutability.
OOPS is based on the concept of objects and classes, allowing for encapsulation, inheritance, and polymorphism.
Functional programming emphasizes on functions as first-class citizens, immutability, and avoiding side effects.
OOPS is more suitable for complex, real-world applications with changing state, while functiona...
I have worked with the Spring framework in Java.
Utilized Spring MVC for web development
Implemented dependency injection with Spring IoC container
Integrated Spring Security for authentication and authorization
Some common annotations used in Spring Boot are @RestController, @Autowired, @RequestMapping, @Service, @Component, @Repository.
@RestController - Used to define a controller class in Spring MVC.
@Autowired - Used for automatic dependency injection.
@RequestMapping - Used to map web requests to specific handler methods.
@Service - Indicates that a class is a service.
@Component - Indicates that a class is a Spring component...
I am a dedicated professional with a strong educational background and diverse work experience.
I have a Bachelor's degree in Business Administration from XYZ University.
I have worked in various roles in marketing, sales, and customer service.
I am proficient in Microsoft Office Suite and have excellent communication skills.
I am a quick learner and thrive in fast-paced environments.
I am passionate about continuous learni
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Absolute Xpath starts from the root element, while relative Xpath starts from any node in the DOM structure.
Absolute Xpath starts with a single forward slash (/) and starts selection from the root node.
Relative Xpath starts with a double forward slash (//) and starts selection from the current node or any node in the DOM structure.
Absolute Xpath is more brittle and prone to breaking if the structure of the page changes...
The return would be the number of tabs open in the browser.
The return value would be an integer representing the count of open tabs.
For example, if there are 5 tabs open, the return value would be 5.
Types of waits in Selenium include Implicit Wait, Explicit Wait, and Fluent Wait.
Implicit Wait: Waits for a certain amount of time before throwing a NoSuchElementException.
Explicit Wait: Waits for a certain condition to occur before proceeding further in the code.
Fluent Wait: Waits for a condition to be true with a defined polling frequency.
Example: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
Exceptions in Selenium are errors that occur during test execution, disrupting the flow of the test script.
Exceptions are thrown when there is an unexpected behavior in the application under test or in the test script itself.
Common exceptions in Selenium include NoSuchElementException, ElementNotVisibleException, TimeoutException, and StaleElementReferenceException.
Handling exceptions in Selenium can be done using try-...
Feature files contain high-level description of the functionality to be tested, while step definitions are the implementation of the steps in the feature file using code.
Feature files are written in Gherkin syntax and describe the behavior of the application in plain text.
Step definitions are written in programming languages like Java, Ruby, etc., and map the steps in the feature file to automation code.
Feature files a...
Data can be input in Cucumber using feature files and step definitions.
Data can be input in feature files using scenarios and scenario outlines
Step definitions can be used to define the actions to be taken with the input data
Data tables can be used in feature files to input structured data
Examples keyword can be used in scenario outlines to provide multiple sets of input data
Test case is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements. Test plan is a document outlining the scope, approach, resources, and schedule of testing activities. Test scenarios are detailed descriptions of possible interactions with the system.
Test case: specific conditions to be tested, expected results, steps to execute
Test plan: overall strate...
Hooks in Java are methods that allow subclasses to override or extend the behavior of a superclass.
Hooks are commonly used in frameworks like JUnit and TestNG for test automation.
They are often used for setup and teardown operations before and after test methods.
Examples include @Before, @After, @BeforeClass, and @AfterClass annotations in JUnit.
I applied via Walk-in and was interviewed in Nov 2024. There were 5 interview rounds.
Aptitude is one of best round, to improve our skills knowledge technology.
GD is one of best round, because I love this round, sharing my knowledge ideas thinking views, to others for company growth organization growth, this round shows how much skills r there in person can be easily identified .
I have 5 years of experience working as a Software Engineer in various tech companies.
Worked on developing web applications using technologies like JavaScript, HTML, CSS, and React
Experience with backend development using Node.js and MongoDB
Familiar with Agile methodologies and version control systems like Git
Collaborated with cross-functional teams to deliver high-quality software solutions
Participated in code reviews
I have recently acquired skills in machine learning and data analysis.
Completed online courses in machine learning algorithms
Practiced data analysis techniques using Python and R
Attended workshops on deep learning models
Yes, I have experience acting as a team lead in previous projects.
Yes, I have acted as a team lead in previous projects where I was responsible for coordinating tasks and ensuring project deadlines were met.
I have experience delegating tasks to team members based on their strengths and expertise.
I have also facilitated team meetings to discuss progress, address any issues, and brainstorm solutions.
In one project, I led...
The duration of working on a single project varies depending on the project complexity and requirements.
The duration of working on a single project can range from a few days to several months or even years.
Factors such as project scope, team size, resources, and deadlines influence the duration of the project.
For example, a small project with a clear scope may take a few days to complete, while a large-scale project ma
What people are saying about Cognizant
I applied via campus placement at Institute of Aeronautical Engineering, Hyderabad and was interviewed in Nov 2024. There were 3 interview rounds.
Easy-medium questions were asked in this
The coding questions are mostly easy-moderate level difficulty and they ask questions based on specific clusters selected ( java, python, c# )
Cognizant interview questions for popular designations
I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.
Use Streams to remove duplicates and retain only even numbers from an array.
Convert the array to a stream using Arrays.stream()
Use distinct() to remove duplicates
Filter out odd numbers using filter()
Collect the result using collect(Collectors.toList())
Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.
Static methods belong to the class itself, not to any specific instance
Final keyword ensures that the method cannot be overridden in subclasses
Static methods are commonly used for utility methods that do not require access to instance variables
Example: Math class in Java has static methods like Ma
The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.
RestController is a specialized version of Controller used for RESTful web services
RestController eliminates the need for @ResponseBody annotation
Controller is used for traditional MVC controller functionality
RestController returns data directly without needing to go through a view resolve...
Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.
Microservices allow for easier scalability and maintenance of complex applications.
Each service in a microservices architecture can be developed, deployed, and scaled independently.
Microservices promote flexibility and agility in software development.
Examples of companies us...
Get interview-ready with Top Cognizant Interview Questions
I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.
I applied via Campus Placement and was interviewed in Nov 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve complex problems.
Encapsulation: Objects can encapsulate data and behavior within a single unit.
Inheritance: Objects can inherit attributes and methods from other objects.
Polymorphism: Objects can take on diff...
The final keyword in Java is used to restrict the user from changing the value of a variable, prevent method overriding, and make a class immutable.
Final variables cannot be reassigned once initialized.
Final methods cannot be overridden in subclasses.
Final classes cannot be extended by other classes.
Final keyword is often used to create constants in Java.
Static classes are classes that cannot be instantiated and are used to group related methods and properties.
Static classes are declared with the 'static' keyword in languages like C# and Java.
They cannot be instantiated and are accessed using the class name itself.
Static classes are commonly used for utility classes that contain helper methods.
Example: Math class in Java with static methods like Math.max() and Math.min
An example of compile-time polymorphism is function overloading in C++.
Compile-time polymorphism is achieved through method overloading or operator overloading.
In C++, function overloading allows multiple functions with the same name but different parameters.
The compiler determines which function to call based on the number and types of arguments passed.
Example: void print(int x) and void print(double y) are two overlo
The 'this' keyword in Java refers to the current instance of a class and is used to refer to the current object.
Used to differentiate between instance variables and local variables with the same name.
Can be used to invoke current class constructor.
Helps in passing the current object as a parameter to other methods.
Can be used to return the current instance of the class.
The program retrieves all mobile costs from Flipkart and displays the maximum cost.
Use web scraping to extract mobile costs from Flipkart website
Store the costs in a list or array
Find the maximum cost from the list
Display the maximum cost
Dynamic XPath in Selenium is a way to locate web elements based on changing attributes or positions on a webpage.
Dynamic XPath is used when the attributes of an element are not static and change frequently.
It allows testers to create XPath expressions that can adapt to these changes.
Examples of dynamic XPath include using contains(), starts-with(), or ends-with() functions to locate elements.
Using dynamic XPath helps i
I applied via Campus Placement and was interviewed in Dec 2024. There were 3 interview rounds.
The first round was the Aptitude Round, during which most candidates were eliminated.
Three coding questions, one SQL task, and one development-related task.
Some of the top questions asked at the Cognizant interview -
The duration of Cognizant interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 4.2k interviews
Interview experience
based on 49.9k reviews
Rating in categories
Hyderabad / Secunderabad,
Chennai
+14-9 Yrs
Not Disclosed
Hyderabad / Secunderabad,
Chennai
+14-9 Yrs
Not Disclosed
Hyderabad / Secunderabad,
Chennai
+14-9 Yrs
Not Disclosed
Associate
72.2k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
Programmer Analyst
55.5k
salaries
| ₹2.4 L/yr - ₹9.5 L/yr |
Senior Associate
48.6k
salaries
| ₹9 L/yr - ₹27.3 L/yr |
Senior Processing Executive
28.9k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹24.7 L/yr |
TCS
Infosys
Wipro
Accenture