i
Cognizant
Filter interviews by
I approach conflict with open communication, empathy, and a focus on collaborative solutions to foster a positive environment.
Listen actively to understand the other person's perspective.
Use 'I' statements to express my feelings without blaming others, e.g., 'I feel overwhelmed when deadlines are tight.'
Seek common ground by identifying shared goals, such as improving student outcomes.
Encourage open dialogue in te...
SQL query to create a table for storing employee details including ID, name, position, and salary.
Use CREATE TABLE statement to define a new table.
Specify the table name, e.g., 'Employees'.
Define columns with data types, e.g., 'EmployeeID INT PRIMARY KEY'.
Include other fields like 'Name VARCHAR(100)', 'Position VARCHAR(50)', and 'Salary DECIMAL(10, 2)'.
Example query: CREATE TABLE Employees (EmployeeID INT PRIMARY ...
Use Python to check for prime numbers by testing divisibility from 2 to the square root of the number.
A prime number is greater than 1 and has no divisors other than 1 and itself.
Use a loop to check divisibility for numbers from 2 to the square root of the target number.
Example: To check if 7 is prime, test divisibility by 2, 3 (up to sqrt(7)).
Use a function to encapsulate the logic for reusability.
Example functio...
Exceptions are events that disrupt the normal flow of a program's execution, categorized into checked and unchecked types.
Checked Exceptions: Must be handled or declared, e.g., IOException.
Unchecked Exceptions: Runtime issues, e.g., NullPointerException.
Errors: Serious problems, e.g., OutOfMemoryError.
Custom Exceptions: User-defined exceptions for specific scenarios.
What people are saying about Cognizant
A hashmap is a data structure that stores key-value pairs for efficient data retrieval using a hash function.
Hashmaps provide average O(1) time complexity for insertions, deletions, and lookups.
They use a hash function to compute an index into an array of buckets or slots.
Example: In Java, HashMap allows null values and one null key.
Collisions are handled using techniques like chaining or open addressing.
This program generates the Fibonacci series using a collection data structure in Java.
Use an ArrayList to store Fibonacci numbers.
Initialize the first two Fibonacci numbers: 0 and 1.
Iterate to generate the next Fibonacci number by summing the last two.
Add each new number to the ArrayList.
Print the Fibonacci series from the ArrayList.
I will ensure customer satisfaction by actively listening, providing timely solutions, and following up to ensure their needs are met.
Active Listening: I will listen carefully to understand the customer's concerns, ensuring they feel heard and valued.
Timely Solutions: I will provide quick and effective solutions to their problems, like resolving a billing issue within 24 hours.
Empathy: I will show empathy towards ...
I follow a systematic approach to ensure data analysis quality and accuracy through validation, documentation, and continuous improvement.
Data Validation: I check for errors and inconsistencies in the data before analysis. For example, I use scripts to identify outliers.
Documentation: I maintain detailed records of data sources, methodologies, and assumptions to ensure transparency and reproducibility.
Peer Review:...
I faced a challenging bug in a data processing application that caused incorrect results due to a race condition.
Identified the bug during testing when results were inconsistent across runs.
Used logging to trace the execution flow and pinpointed the race condition.
Implemented locking mechanisms to ensure thread safety.
Refactored the code to use synchronized blocks for critical sections.
Conducted thorough testing t...
INNER JOIN returns matching rows from both tables, while LEFT JOIN returns all rows from the left table and matched rows from the right.
INNER JOIN: Only returns rows with matching values in both tables.
Example: SELECT * FROM A INNER JOIN B ON A.id = B.id; // Returns rows where A.id = B.id.
LEFT JOIN: Returns all rows from the left table and matched rows from the right table; unmatched rows from the right will show ...
I applied via Naukri.com and was interviewed before Mar 2021. There were 3 interview rounds.
I appeared for an interview before Jun 2022, where I was asked the following questions.
I appeared for an interview in Jun 2025, where I was asked the following questions.
My career goals include advancing in academia, contributing to research, and mentoring students in statistics and data analysis.
Pursue a PhD in Statistics to deepen my expertise and enhance my teaching capabilities.
Engage in research projects that focus on applied statistics in real-world problems, such as healthcare data analysis.
Develop innovative teaching methods that incorporate technology and real-life data to enh...
I am motivated by the joy of teaching, the pursuit of knowledge, and the impact I can make on students' lives through statistics.
Passion for teaching: I find great joy in explaining complex statistical concepts in an accessible way, like using real-world examples.
Student success: Witnessing students grasp difficult topics and succeed in their studies motivates me to continually improve my teaching methods.
Lifelong lear...
My greatest strengths include effective communication, adaptability, and a passion for teaching statistics to diverse learners.
Effective Communication: I can explain complex statistical concepts in simple terms, making them accessible to students of all backgrounds.
Adaptability: I tailor my teaching methods to suit different learning styles, ensuring that all students can engage with the material.
Passion for Teaching: ...
Experienced statistics lecturer with a strong background in data analysis, research, and teaching at various academic levels.
PhD in Statistics from XYZ University, focusing on Bayesian methods and their applications in real-world scenarios.
5 years of teaching experience at ABC University, where I developed and taught undergraduate and graduate courses in statistics.
Published several research papers in peer-reviewed jou...
I expect a competitive salary that reflects my experience, qualifications, and the responsibilities of the lecturer role.
Based on my research, the average salary for a Statistics Lecturer in this region is between $60,000 and $80,000.
I have over 5 years of teaching experience and a Ph.D. in Statistics, which I believe justifies a salary towards the higher end of that range.
I am also open to discussing additional benefi...
My diverse teaching and research experiences have equipped me with the skills to effectively engage and inspire students in statistics.
I have taught undergraduate statistics courses for over five years, focusing on practical applications and real-world data analysis.
My research in statistical modeling has led to publications in peer-reviewed journals, enhancing my ability to convey complex concepts.
I have developed int...
Faced a challenge in engaging students during a statistics course; implemented interactive methods to enhance learning.
Identified low student engagement in lectures.
Introduced interactive tools like polls and quizzes to encourage participation.
Organized group projects to foster collaboration and real-world application of statistics.
Received positive feedback from students, leading to improved attendance and performance...
I approach conflict with open communication, empathy, and a focus on collaborative solutions to foster a positive environment.
Listen actively to understand the other person's perspective.
Use 'I' statements to express my feelings without blaming others, e.g., 'I feel overwhelmed when deadlines are tight.'
Seek common ground by identifying shared goals, such as improving student outcomes.
Encourage open dialogue in team me...
I am drawn to this institution for its commitment to innovative teaching and research in statistics, fostering student engagement and success.
The university has a strong reputation for excellence in research, particularly in applied statistics, which aligns with my interests.
I admire the collaborative environment here, where faculty and students work together on real-world statistical problems.
The opportunity to teach ...
In five years, I envision myself as a well-respected statistics lecturer, contributing to research and mentoring students effectively.
Developing innovative teaching methods to enhance student engagement, such as incorporating real-world data analysis projects.
Publishing research papers in reputable journals, focusing on applied statistics and its impact on various fields.
Mentoring graduate students and guiding them thr...
Your company is a leading institution in higher education, focusing on innovative teaching and research in statistics.
Established in [Year], the company has a strong reputation for academic excellence.
Offers a diverse range of programs, including undergraduate and postgraduate degrees in statistics.
Engages in cutting-edge research, contributing to advancements in data analysis and statistical methodologies.
Collaborates...
I'm seeking a position that fosters growth, collaboration, and the opportunity to inspire students in statistics.
Opportunities for professional development, such as attending conferences or workshops to stay updated in the field.
A collaborative environment where I can work with colleagues on research projects, like analyzing data trends in education.
The chance to engage with students through innovative teaching methods...
I find administrative tasks can be tedious and take time away from teaching and engaging with students.
Administrative duties often consume a significant portion of my time, limiting my availability for student interaction.
Preparing reports and documentation can feel repetitive and detracts from the creative aspects of teaching.
Balancing research responsibilities with teaching can be challenging, leading to stress and t...
I bring a strong academic background, practical experience, and a passion for teaching statistics to inspire students.
Extensive knowledge in statistical methods and their applications, demonstrated through my research on data analysis techniques.
Experience in teaching diverse groups of students, adapting my teaching style to meet different learning needs, as seen in my previous role at XYZ University.
Proven ability to ...
I appeared for an interview in Feb 2025.
How many questions are there for the aptitude test?
Prepare thoroughly, dress appropriately, and communicate effectively to excel in an interview.
Research the company: Understand its mission, values, and recent developments. For example, know their latest product launch.
Dress professionally: Choose attire that aligns with the company's culture. For instance, a suit for corporate roles or smart casual for startups.
Practice common interview questions: Prepare answers for ...
Selecting candidates requires evaluating skills, experience, cultural fit, and potential for growth.
Relevant Experience: Assess if the candidate has prior experience in accounting roles, such as bookkeeping or financial analysis.
Technical Skills: Evaluate proficiency in accounting software like QuickBooks or Excel, which are essential for the role.
Cultural Fit: Consider how well the candidate aligns with the company's ...
I will complete my assignment and provide the topic.
I will discuss my team and friends.
I am not familiar with coding, but I will undergo training.
The application process for Cognizant involves online application, assessments, interviews, and onboarding.
1. Online Application: Candidates submit their resumes through the Cognizant careers website.
2. Assessments: Applicants may need to complete online tests that evaluate technical skills and aptitude.
3. Interviews: Successful candidates are invited for one or more interviews, which may include HR and technical round...
What are the case studies you can assist me with?
I utilize various methods to search for applications, including online databases, networking, and professional organizations.
Use online job boards like Indeed or LinkedIn to find accounting applications.
Network with professionals in the field to learn about new opportunities.
Attend industry conferences and seminars to discover applications and trends.
Utilize social media platforms to follow companies and job postings.
C...
Azure Data Lake Storage (ADLS) is a scalable data storage service for big data analytics in the cloud.
ADLS is designed for big data analytics, allowing storage of large amounts of unstructured data.
It integrates seamlessly with Azure services like Azure Databricks and Azure HDInsight.
ADLS supports hierarchical namespace, enabling efficient organization of data in directories.
It provides fine-grained access control usin...
An integration pipeline automates the process of integrating code changes into a shared repository, ensuring quality and consistency.
Continuous Integration (CI) is a key component, where developers frequently merge code changes.
Automated tests run on each integration to catch bugs early, e.g., unit tests, integration tests.
Build automation tools like Jenkins or Travis CI are often used to manage the pipeline.
Deployment...
A cluster is a group of interconnected computers that work together to perform tasks as a single system.
Clusters improve performance by distributing workloads across multiple machines.
They provide redundancy; if one node fails, others can take over (e.g., database clusters).
Common types include load-balancing clusters and high-availability clusters.
Examples include Hadoop clusters for big data processing and Kubernetes...
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Custom hooks in React are reusable functions that allow you to extract component logic into separate functions for better code organization and reusability.
Custom hooks are created using the 'use' prefix and can be used to share logic between components.
Use cases for custom hooks include fetching data from an API, handling form state, managing local storage, and more.
Example of a custom hook for API call: const useFetc...
useMemo is used to memoize a value, while useCallback is used to memoize a function.
useMemo is used to memoize a value and recompute it only when its dependencies change.
useCallback is used to memoize a callback function and prevent unnecessary re-renders.
Example: useMemo can be used to memoize the result of a complex computation, while useCallback can be used to memoize an event handler function.
Class-based components use ES6 classes and have lifecycle methods, while functional components are simpler and use functions.
Class-based components use ES6 classes to create components, while functional components are created using functions.
Class-based components have lifecycle methods like componentDidMount and componentDidUpdate, while functional components do not.
Functional components are simpler and more lightweig...
Implementing the lifecycle of a React component in a functional component
Use the useEffect hook to replicate lifecycle methods like componentDidMount, componentDidUpdate, and componentWillUnmount
Pass an empty array as the second argument to useEffect to mimic componentDidMount
Pass a variable or state as the second argument to useEffect to mimic componentDidUpdate
Return a cleanup function inside useEffect to mimic compo...
Various state management techniques in React include Context API, Redux, and local state.
Context API: React's built-in solution for passing data through the component tree without having to pass props down manually at every level.
Redux: A popular state management library for React applications, allowing for a centralized store to manage application state.
Local state: Managing state within individual components using us...
Redux is a predictable state container for JavaScript apps. Middlewares are functions that intercept actions before they reach the reducer.
Redux follows a unidirectional data flow architecture.
Middlewares in Redux are functions that can intercept, modify, or dispatch actions.
Common use cases for middlewares include logging, asynchronous API calls, and handling side effects.
Examples of popular Redux middlewares are Redu...
Event bubbling is the propagation of events from the target element up through its ancestors in the DOM tree.
Events triggered on a child element will 'bubble up' and trigger on parent elements.
Event listeners can be attached to parent elements to handle events from multiple child elements.
Stopping event propagation can be done using event.stopPropagation() or event.stopImmediatePropagation().
Block scope and function scope are two types of scopes in JavaScript that determine the visibility and accessibility of variables.
Block scope refers to the visibility of variables within a block of code enclosed by curly braces. Variables declared with 'let' and 'const' have block scope.
Function scope refers to the visibility of variables within a function. Variables declared with 'var' have function scope.
Variables de...
Yes, I have experience working with semantic tags in HTML.
Used semantic tags like <header>, <nav>, <main>, <section>, <article>, <aside>, <footer> for better structure and SEO.
Understand the importance of using semantic tags for accessibility and search engine optimization.
Semantic tags help in organizing content and making it more readable for developers and browsers.
Various methods for creating an object in JavaScript include object literals, constructor functions, ES6 classes, and Object.create() method.
Object literals: var obj = { key: value };
Constructor functions: function ObjectName() { this.key = value; } var obj = new ObjectName();
ES6 classes: class ClassName { constructor() { this.key = value; } } var obj = new ClassName();
Object.create() method: var obj = Object.create(pr...
Shallow copy only copies the references of nested objects, while deep copy creates new copies of nested objects.
Shallow copy creates a new object but does not create copies of nested objects, only copies their references.
Deep copy creates a new object and also creates new copies of all nested objects.
Shallow copy can be achieved using Object.assign() or spread operator, while deep copy can be achieved using JSON.parse(...
The code will throw an error because 'a' is declared but not initialized.
The code will result in a ReferenceError because 'a' is declared but not assigned a value.
Variables declared with 'const' must be initialized at the time of declaration.
Initializing 'a' with a value before calling test() will prevent the error.
CSS can be used to arrange elements in a row and column layout using flexbox or grid layout properties.
Use display: flex; for a row layout and display: flex; flex-direction: column; for a column layout
Use justify-content and align-items properties to align items in the main axis and cross axis respectively
For grid layout, use display: grid; and grid-template-columns or grid-template-rows to define the layout
Yes, I have utilized CSS preprocessors such as SASS and LESS.
I have experience using SASS to streamline my CSS workflow by utilizing variables, mixins, and nesting.
I have also worked with LESS to improve code organization and maintainability through features like variables and functions.
The color applied will be based on the specificity of the selector, with ID having higher specificity than class.
ID has higher specificity than class in CSS
Color applied will be based on the selector with higher specificity
Example: If ID selector has color red and class selector has color blue, the color applied will be red
I appeared for an interview in Feb 2025.
I am a UiPath Developer with experience in automating various business processes.
Developed automation solutions using UiPath for data entry tasks
Integrated UiPath robots with APIs to automate data retrieval and processing
Worked on projects to automate invoice processing and report generation
Implemented error handling mechanisms and logging in UiPath workflows
ReFramework is a template in UiPath for building robust, scalable, and reusable automation projects.
ReFramework is a template that includes Dispatcher and Performer components for handling transactions.
Dispatcher is responsible for reading input data and adding it to a queue.
Performer processes items from the queue, performs the necessary actions, and updates the status of each transaction.
DataTable transaction approac...
Execute query is used to retrieve data from a database, while execute non-query is used to perform operations that do not return data.
Execute query is used for SELECT statements to retrieve data from a database.
Execute non-query is used for INSERT, UPDATE, DELETE statements that do not return data.
Execute query returns a result set, while execute non-query returns the number of rows affected.
Examples: Execute query - S...
Switch statement is used for multiple conditions, while if-else statement is used for binary conditions.
Switch statement is more efficient when there are multiple conditions to check.
If-else statement is more flexible as it can handle complex conditions.
Switch statement uses 'case' and 'break' keywords, while if-else statement uses 'if', 'else if', and 'else'.
Datatable is used to store and manipulate data in UiPath. Connection string is used to establish a connection to a database.
Datatable is a structured data type used to store information in rows and columns.
You can use activities like 'Build Data Table' to create a new datatable or 'Read Range' to read data from an Excel file into a datatable.
Connection string is a string that contains information about how to connect t...
Project roles and responsibilities define tasks and expectations for team members to ensure project success.
Project Manager: Oversees project planning, execution, and closure. Example: Coordinating team meetings and tracking progress.
Team Members: Execute specific tasks assigned to them. Example: Developers coding features based on requirements.
Stakeholders: Provide input and feedback throughout the project. Example: C...
I appeared for an interview in Feb 2025.
I appeared for an interview in Jun 2025, where I was asked the following questions.
I hold a Bachelor's degree in Human Resources Management and have completed various certifications in HR practices.
Bachelor's degree in Human Resources Management from XYZ University.
Completed a certification in HR Analytics to enhance data-driven decision-making.
Participated in workshops on employee engagement and talent acquisition.
Interned at ABC Company, where I assisted in recruitment and onboarding processes.
HR stands for Human Resources, focusing on managing employee-related functions and organizational culture.
HR is responsible for recruitment and hiring processes, ensuring the right talent is selected.
HR manages employee benefits and compensation, such as health insurance and retirement plans.
HR develops training and development programs to enhance employee skills and career growth.
HR ensures compliance with labor laws ...
HR plays a crucial role in managing an organization's workforce, ensuring effective recruitment, development, and employee relations.
Recruitment and Staffing: HR identifies staffing needs, creates job descriptions, and conducts interviews to find the right candidates.
Employee Training and Development: HR organizes training programs to enhance employee skills and career growth, such as leadership workshops.
Performance M...
I bring a unique blend of skills, experience, and passion for HR that will contribute to your team's success.
Strong organizational skills: I successfully managed multiple recruitment projects simultaneously in my previous role.
Excellent communication: I have experience in conducting interviews and facilitating onboarding processes, ensuring a smooth transition for new hires.
Proficient in HR software: I am familiar with...
I applied via Referral and was interviewed in Dec 2024. There was 1 interview round.
There are multiple ways to call server side code from client side, including AJAX, WebSockets, and REST API calls.
AJAX
WebSockets
REST API calls
To create a new request type in ITSM, follow these steps.
Navigate to the Service Catalog in the ITSM module.
Click on 'Create New' to start creating a new request type.
Fill in the necessary details such as name, description, and category.
Define the workflow for the request type, including approval processes and assignment rules.
Test the new request type to ensure it functions correctly.
Publish the request type for users...
Restrict characters for 'Investment' field in incident table to 500 characters using UI policy.
Create a UI policy on the incident table
Add a condition to check the length of the 'Investment' field
Set the UI policy action to display an error message if the character limit is exceeded
GFST submit is used to submit a GlideFormState object in ServiceNow.
GFST submit is used to save the current state of a form in ServiceNow.
It is commonly used in client-side scripts to save form data without refreshing the page.
GFST submit can be used to trigger business rules and workflows upon form submission.
Yes, 'IT Service Manager' role description and short description should be visible.
Role description should clearly outline the responsibilities and requirements of the IT Service Manager position
Short description should provide a brief overview of the role to attract potential candidates
Both descriptions should be easily accessible on the job posting or company website
Client script runs before UI Policy due to the order of execution in ServiceNow.
Client script runs before UI Policy because it is executed on the client side before the form is submitted.
UI Policy runs after Client script as it is applied after the form is submitted.
Client script is used for field-level validation and manipulation, while UI Policy is used for controlling field visibility and mandatory fields.
Business rules in ServiceNow can be categorized as before, after, async, and synchronous. After business rules run after a record is inserted or updated, while async business rules run in the background.
Types of business rules in ServiceNow: before, after, async, synchronous
After business rules run after a record is inserted or updated
Async business rules run in the background without blocking the user interface
Differe...
Yes, the order of Business rules can be changed.
Yes, the order of Business rules can be changed by adjusting the order in which they are executed in the Business rule list.
This can be done by changing the 'Order' field value in the Business rule record.
Business rules with lower 'Order' values will be executed before those with higher 'Order' values.
Changing the order of Business rules can impact the overall behavior an...
Email notifications in ServiceNow can be customized using scripts for dynamic content and conditions.
Use 'Email Notification' module to create notifications based on specific conditions.
Scripts can be added to the 'Condition' field to determine when to send an email.
Example: Use 'current.state.changes()' to trigger an email when the state changes.
Utilize 'Email Template' for consistent formatting and dynamic content in...
The isolate checkbox is used to prevent a script from running in the global scope.
Prevents variables and functions from being accessed globally
Helps in avoiding conflicts with other scripts
Useful when developing complex applications with multiple scripts
xml() and xml() wait are both used in ServiceNow to parse XML data, but xml() wait is used for asynchronous parsing.
xml() is used for synchronous parsing of XML data in ServiceNow
xml.wait() is used for asynchronous parsing of XML data in ServiceNow
xml() is blocking, while xml.wait() allows other operations to continue while parsing XML data
To achieve UI actions in ServiceNow, use client scripts for client-side and business rules for server-side execution.
Use Client Scripts for UI actions that need to run on the user's browser.
Use Business Rules for server-side logic that should execute on record changes.
Example: A Client Script can validate a form before submission, while a Business Rule can update a field based on that submission.
You can call server-sid...
Update 'Investment' field in incident table from Standard to SMA for all records
Create a script to update the 'Investment' field in incident table for all records
Use a loop to iterate through each record and update the 'Investment' field value from Standard to SMA
Yes, we can use 'previous' in Business rule to access the previous value of a field.
Use 'previous' keyword in a Business rule to access the previous value of a field
Can be helpful in comparing current and previous values for triggering actions
Example: gs.info('Previous value: ' + current.previous.value)
get reference is used to retrieve a reference to a record in another table
Used to establish relationships between records in different tables
Allows for easy access to related information
Can be used in scripts to retrieve data from related records
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.7k interview experiences
Difficulty level
Duration
based on 55.4k reviews
Rating in categories
Associate
71k
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.4k
salaries
| ₹9.9 L/yr - ₹23.5 L/yr |
Senior Processing Executive
30k
salaries
| ₹2.2 L/yr - ₹6.5 L/yr |
Technical Lead
18.5k
salaries
| ₹6 L/yr - ₹21.2 L/yr |
TCS
Infosys
Wipro
Accenture