i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Campus Placement and was interviewed in Nov 2024. There was 1 interview round.
I applied via Campus Placement and was interviewed in Sep 2021. There were 3 interview rounds.
Round duration - 180 minutes
Round difficulty - null
This Round consisted of 30 MCQs from various topics like OOPS,JAVA,HTML,CSS,PL/SQL, Operating Systems, DBMS.
After MCQs, there were 4 coding questions and 2 SQL questions.
The difficulty of the first 2 questions was easy and that of 3rd and 4rth was medium.
These questions were from various programming topics such as greedy, dynamic programming, graphs etc.
The entire test duration was 3 hours.
Dynamic programming, greedy algorithm, and graph-based questions.
Dynamic programming: Optimal substructure and overlapping subproblems.
Greedy algorithm: Make locally optimal choices to achieve global optimal solution.
Graph-based: BFS, DFS, shortest path, minimum spanning tree, etc.
Examples: Knapsack problem, Dijkstra's algorithm, Kruskal's algorithm.
They asked me coding questions and questions about my project. Since most of my projects were based on Machine Learning, they asked a few ML based question as well.
Program to perform Binary search on an array of N numbers.
Sort the array in ascending order
Set low and high variables to the first and last index of the array respectively
Calculate the mid index as (low+high)/2
If the element at mid index is equal to the search element, return mid
If the element at mid index is less than the search element, set low to mid+1
If the element at mid index is greater than the search element, s...
Program to perform Merge sort on an array of N numbers.
Divide the array into two halves recursively
Sort the two halves using merge sort
Merge the two sorted halves
Repeat until the entire array is sorted
Time complexity: O(nlogn)
Creating a machine learning model involves data preparation, model selection, training, evaluation, and deployment.
Data preparation involves cleaning, transforming, and splitting the data into training and testing sets.
Model selection involves choosing the appropriate algorithm and hyperparameters for the problem.
Training the model involves feeding the training data to the algorithm and adjusting the parameters to mini...
Regularization techniques are used to prevent overfitting in machine learning models.
L1 regularization (Lasso)
L2 regularization (Ridge)
Elastic Net regularization
Dropout regularization
Early stopping
Data augmentation
Batch normalization
Poison distribution refers to the spread of toxic substances through various means.
Poison distribution can occur through intentional or accidental means.
Examples include the distribution of poison through food or water, or the release of toxic chemicals into the environment.
Poison distribution can have serious health consequences and may require immediate medical attention.
Prevention measures such as proper storage and...
Gradient descent is an optimization algorithm used to minimize the cost function of a machine learning model.
Start with an initial guess for the model parameters
Calculate the gradient of the cost function with respect to each parameter
Update the parameters in the opposite direction of the gradient
Repeat until convergence or a maximum number of iterations is reached
Clustering algorithm groups similar data points together based on their characteristics.
Clustering is an unsupervised learning technique.
It can be used for customer segmentation, image segmentation, etc.
K-means, hierarchical clustering, and DBSCAN are popular clustering algorithms.
The choice of algorithm depends on the data and the problem at hand.
PCA stands for Principal Component Analysis. It is a statistical technique used for dimensionality reduction.
PCA is used to identify patterns in data and reduce the number of variables in a dataset.
It works by transforming the original variables into a new set of variables called principal components.
These principal components are ordered by the amount of variance they explain in the data.
PCA is commonly used in fields...
Virtual DOM is a lightweight copy of the actual DOM used for efficient updates.
Virtual DOM is a concept where a lightweight copy of the actual DOM is created.
ReactJS uses it to efficiently update the UI without re-rendering the entire page.
Virtual DOM compares the previous and current states and updates only the necessary changes.
This results in faster rendering and better performance.
Example: When a user types in a se...
Bounding methods in React are used to limit the scope of a component's updates.
Bounding methods include shouldComponentUpdate, getSnapshotBeforeUpdate, and componentDidUpdate.
shouldComponentUpdate allows a component to decide if it should update based on changes in props or state.
getSnapshotBeforeUpdate allows a component to capture information before a change is made to the DOM.
componentDidUpdate is called after a com...
This was more of a document verification round.
I enjoy reading, hiking, and playing board games.
Reading: I love getting lost in a good book, especially mysteries and thrillers.
Hiking: I enjoy exploring new trails and being out in nature.
Board games: I like playing strategy games with friends and family, like Settlers of Catan and Ticket to Ride.
I struggled to win my first hackathon due to lack of experience and technical skills.
I had limited knowledge of coding and programming languages.
I struggled to come up with a unique and innovative idea.
I had difficulty working in a team and communicating my ideas effectively.
I lacked confidence in my abilities and felt intimidated by the competition.
However, I learned from my mistakes and used the experience to improve...
My favorite technology is artificial intelligence.
AI has the potential to revolutionize various industries
It can automate repetitive tasks and improve efficiency
AI can also help in making better decisions by analyzing large amounts of data
Examples include chatbots, image recognition, and predictive analytics
I applied via Campus Placement and was interviewed in Jul 2021. There were 4 interview rounds.
Our project uses technologies such as Python, Django, React, and PostgreSQL. I have also worked with Java and AngularJS.
Python is used for backend development
Django is used as a web framework
React is used for frontend development
PostgreSQL is used as the database management system
I have worked with Java for Android app development
I have worked with AngularJS for frontend development
What people are saying about Cognizant
I applied via Campus Placement and was interviewed in Sep 2021. There were 3 interview rounds.
Cognizant interview questions for designations
I appeared for an interview in Dec 2020.
Round duration - 120 Minutes
Round difficulty - Medium
We have aptitude, reasoning and verbal.
Given an array consisting of 'N' positive integers where each integer is either 0, 1, or 2, your task is to sort the given array in non-decreasing order.
Each input st...
Sort an array of positive integers (0, 1, 2) in non-decreasing order.
Iterate through the array and count the occurrences of 0, 1, and 2.
Update the array with the counts of each element in non-decreasing order.
Print the sorted array for each test case.
Round duration - 60 minutes
Round difficulty - Easy
Advanced Coding round
Given a square chessboard of size 'N x N', determine the minimum number of moves a Knight requires to reach a specified target position from its initial position...
Calculate minimum steps for a Knight to reach target position on a chessboard.
Use BFS algorithm to find shortest path from Knight's starting position to target position.
Consider all possible moves of the Knight on the chessboard.
Keep track of visited positions to avoid revisiting them.
Return the minimum number of moves required for the Knight to reach the target position.
Round duration - 60 Minutes
Round difficulty - Medium
I got the link a day before and my interview was scheduled at 6Pm.
Given an infinite supply of coins of varying denominations, determine the total number of ways to make change for a specified value using these coins. If it's not possible to make...
The task is to find the total number of ways to make change for a specified value using given denominations.
Create a dynamic programming table to store the number of ways to make change for each value up to the target value.
Iterate through each denomination and update the table accordingly.
The final answer will be the value in the table at the target value.
Consider edge cases like when the target value is 0 or when the...
Tip 1 : confidence is most important.
Tip 2 : explaining projects plays a key role.
Tip 1 : you should be very clear what you have written in your resume.
Tip 2 : projects should be very clear
Get interview-ready with Top Cognizant Interview Questions
I applied via Campus Placement and was interviewed before Mar 2020. There was 1 interview round.
Triggers are database objects that automatically execute in response to certain events or changes in data.
Triggers are used to enforce business rules or data integrity.
They can be used to audit changes to data.
Triggers can be set to execute before or after an event, such as an insert, update, or delete operation.
They can be defined on tables, views, or schemas.
Examples of triggers include sending an email notification ...
I appeared for an interview in Sep 2021.
I applied via Recruitment Consultant and was interviewed in Dec 2020. There were 4 interview rounds.
Some of the top questions asked at the Cognizant GenC Next interview for freshers -
based on 1 interview
Interview experience
Associate
72.3k
salaries
| ₹5.2 L/yr - ₹16 L/yr |
Programmer Analyst
55.6k
salaries
| ₹2.4 L/yr - ₹9.3 L/yr |
Senior Associate
50.3k
salaries
| ₹9 L/yr - ₹28.6 L/yr |
Senior Processing Executive
29.1k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.7k
salaries
| ₹6 L/yr - ₹25 L/yr |
TCS
Infosys
Wipro
Accenture