Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Cognizant Team. If you also belong to the team, you can get access from here

Cognizant Verified Tick

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Cognizant Interview Questions, Process, and Tips

Updated 6 Mar 2025

Top Cognizant Interview Questions and Answers

View all 3k questions

Cognizant Interview Experiences

Popular Designations

5.6k interviews found

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Oct 2023. There were 2 interview rounds.

Round 1 - Aptitude Test 

Simple questions, easy to clear

Round 2 - One-on-one 

(2 Questions)

  • Q1. Related to domain
  • Q2. Simple questions related to projects

Software Engineer Level 1 Interview Questions asked at other Companies

Q1. Input a file. Select first 3 lines of the file. Select the longest line and count the number of words in that line. It was easy. I used Java methods to solve the problem. I explained the logic and he accepted it.
View answer (1)

Accountant Interview Questions & Answers

user image Anonymous

posted on 6 Mar 2025

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Feb 2025.

Round 1 - Aptitude Test 

How many questions are there for the aptitude test?

Round 2 - HR 

(2 Questions)

  • Q1. What are the best practices for attending an interview?
  • Q2. What factors should be considered when selecting candidates during an interview?
Round 3 - Assignment 

I will complete my assignment and provide the topic.

Round 4 - Group Discussion 

I will discuss my team and friends.

Round 5 - Coding Test 

I am not familiar with coding, but I will undergo training.

Round 6 - Technical 

(1 Question)

  • Q1. What is the application process for Cognizant?
Round 7 - Case Study 

What are the case studies you can assist me with?

Round 8 - One-on-one 

(1 Question)

  • Q1. How many one-on-one interview rounds are conducted?
Round 9 - Application Form 

(2 Questions)

  • Q1. How do you search for applications?
  • Q2. How many days in interview results

Interview Preparation Tips

Interview preparation tips for other job seekers - How can I apply for this job, and is there any application form available?

Accountant Interview Questions asked at other Companies

Q1. What journal is made when purchase requisition is created
View answer (25)
Cognizant Interview Questions and Answers for Freshers
illustration image
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I was interviewed in Feb 2025.

Round 1 - Technical 

(5 Questions)

  • Q1. Can you provide information about yourself and the projects you have worked on?
  • Ans. 

    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

  • Answered by AI
  • Q2. What is the Re-Framework, and how do the Dispatcher, Performer, and DataTable transaction approaches function in UiPath?
  • Ans. 

    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...

  • Answered by AI
  • Q3. What is the difference between an execute query and an execute non-query?
  • Ans. 

    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...

  • Answered by AI
  • Q4. What is the difference between a switch statement and an if-else statement?
  • Ans. 

    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'.

  • Answered by AI
  • Q5. Datatable how to use it in Uipath, what is a connection string and how we can create that?
  • Ans. 

    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...

  • Answered by AI

Top Cognizant Uipath Developer Interview Questions and Answers

Q1. What is the Re-Framework, and how do the Dispatcher, Performer, and DataTable transaction approaches function in UiPath?
View answer (1)

Uipath Developer Interview Questions asked at other Companies

Q1. What is the Re-Framework, and how do the Dispatcher, Performer, and DataTable transaction approaches function in UiPath?
View answer (1)
Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Selected Selected

I was interviewed in Feb 2025.

Round 1 - Technical 

(2 Questions)

  • Q1. Related to Palo Alto firewall and Prisma Access. Global Protect, App- ID, Routing, Security Policies.
  • Q2. Packet flow of firewall, Device Group, template, template stack etc.
Round 2 - Technical 

(2 Questions)

  • Q1. Global Protect troubleshooting.
  • Q2. Panorama Management and firewall congratulations.
Round 3 - HR 

(2 Questions)

  • Q1. Salary discussion and skills
  • Q2. Company policies.

Top Cognizant Senior Associate Interview Questions and Answers

Q1. Application of Row_Number, Rank, and Dense Rank? Different stages of defects/Bugs? What are Schema objects? Different types of loads in ETL Testing? What is Junk Dimension? SQL to remove duplicates from a table? Nth highest salary finding f... read more
View answer (2)

Senior Associate Interview Questions asked at other Companies

Q1. On an average, how many invoices can you process in a day?
View answer (10)

Cognizant interview questions for popular designations

 Programmer Analyst

 (542)

 Programmer Analyst Trainee

 (399)

 Associate

 (311)

 Senior Associate

 (256)

 Processing Executive

 (212)

 Software Engineer

 (205)

 Senior Processing Executive

 (135)

 Software Developer

 (123)

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected
Round 1 - Technical 

(5 Questions)

  • Q1. What is Adls?how is it works
  • Q2. What is integration pipeline?how is it work?
  • Q3. Copy data from one on premise sql server to Adls and Adls to Azure SQL?
  • Q4. What is Azuredata bricks?
  • Q5. What is cluster? How is it work?

Interview Preparation Tips

Interview preparation tips for other job seekers - I am not advice the tips

Top Cognizant Software Engineer Interview Questions and Answers

Q1. 2.What programming language are you proficient with..?
View answer (15)

Software Engineer Interview Questions asked at other Companies

Q1. Bridge and torch problem : Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge. Person... read more
View answer (196)

Get interview-ready with Top Cognizant Interview Questions

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected
Round 1 - Technical 

(3 Questions)

  • Q1. Star based questions
  • Q2. Testing methodology
  • Q3. Bug life cycle
Round 2 - Technical 

(3 Questions)

  • Q1. Testing principles
  • Q2. Smoke and sanity test
  • Q3. Project roles and responsibilities
Round 3 - HR 

(1 Question)

  • Q1. Salary discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well easily you can crack it

Top Cognizant Project Associate Interview Questions and Answers

Q1. What is an API? Why APIs are so popular these days? What is API Management? Why we need an API Management tool such as Apigee Edge? What is REST? What is the difference between SOAP & REST API ? What is API Proxy? What are the different... read more
View answer (1)

Project Associate Interview Questions asked at other Companies

Q1. What is an API? Why APIs are so popular these days? What is API Management? Why we need an API Management tool such as Apigee Edge? What is REST? What is the difference between SOAP & REST API ? What is API Proxy? What are the different... read more
View answer (1)

Jobs at Cognizant

View all
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(16 Questions)

  • Q1. What are custom hooks in React, and what are their use cases? Additionally, can you provide an example of a custom hook that performs an API call and utilizes the retrieved data?
  • Ans. 

    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...

  • Answered by AI
  • Q2. What is the difference between useMemo and useCallback in React?
  • Ans. 

    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.

  • Answered by AI
  • Q3. What is the difference between class-based components and functional components in React?
  • Ans. 

    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...

  • Answered by AI
  • Q4. How can you implement the lifecycle of a React component in a functional component?
  • Ans. 

    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

  • Answered by AI
  • Q5. What are the various state management techniques available in React?
  • Ans. 

    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

  • Answered by AI
  • Q6. What is the architecture of Redux, and what purposes do middlewares serve within it?
  • Ans. 

    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...

  • Answered by AI
  • Q7. What is hoisting in JavaScript?
  • Ans. 

    Hoisting in JavaScript is the behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.

    • Variable declarations are hoisted to the top of their scope, but not their initializations.

    • Function declarations are fully hoisted, meaning they can be called before they are declared.

    • Hoisting can lead to unexpected behavior if not understood properly.

  • Answered by AI
  • Q8. What is event bubbling in JavaScript?
  • Ans. 

    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().

  • Answered by AI
  • Q9. What are block scope and function scope in JavaScript?
  • Ans. 

    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...

  • Answered by AI
  • Q10. Have you had experience working with semantic tags in HTML?
  • Ans. 

    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.

  • Answered by AI
  • Q11. What are the various methods for creating an object in JavaScript?
  • Ans. 

    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

  • Answered by AI
  • Q12. What are the differences between shallow copy and deep copy in JavaScript?
  • Ans. 

    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(

  • Answered by AI
  • Q13. What will be the output of the following JavaScript code fragment: `const a; function test() { console.log(a); }; test();`?
  • Ans. 

    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.

  • Answered by AI
  • Q14. How can you use CSS to arrange elements in a row and column layout?
  • Ans. 

    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

  • Answered by AI
  • Q15. Have you utilized CSS preprocessors, and if so, which ones?
  • Ans. 

    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.

  • Answered by AI
  • Q16. If I have assigned different colors to an ID and a class and applied both to the same element, which color will be applied based on CSS specificity precedence?
  • Ans. 

    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

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Software Engineer interview:
  • Javascript
  • React.Js
  • HTML
  • CSS
Interview preparation tips for other job seekers - Possessing a deep understanding of JavaScript and React is essential. Interviewers may engage in mind games with candidates; therefore, we should remain calm and focused solely on the questions. Additionally, we need to be confident in our answers; otherwise, they may respond with doubt, asking, "Is that so?"

Skills evaluated in this interview

Top Cognizant Senior Software Engineer Interview Questions and Answers

Q1. What are custom hooks in React, and what are their use cases? Additionally, can you provide an example of a custom hook that performs an API call and utilizes the retrieved data?
View answer (1)

Senior Software Engineer Interview Questions asked at other Companies

Q1. K Largest Elements Problem Statement You are given an integer k and an array of integers that contain numbers in random order. Write a program to find the k largest numbers from the given array. You need to save them in an array and return ... read more
View answer (1)
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
-

I applied via Referral and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(17 Questions)

  • Q1. How many ways can we call a server side code from Client side?
  • Ans. 

    There are multiple ways to call server side code from client side, including AJAX, WebSockets, and REST API calls.

    • AJAX

    • WebSockets

    • REST API calls

  • Answered by AI
  • Q2. How to create a new request type in ITSM?
  • Ans. 

    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...

  • Answered by AI
  • Q3. Restrict a characters for 'Investment' field in incident table that characters should not exceed 500 characters do this in client script or UI policy?
  • Ans. 

    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

  • Answered by AI
  • Q4. What is the use GFST submit?
  • Ans. 

    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.

  • Answered by AI
  • Q5. Using 'IT Service Manager' role description and short description should be visible?
  • Ans. 

    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

  • Answered by AI
  • Q6. Types of Client Scripts?
  • Ans. 

    Client scripts in ServiceNow are used to automate processes on the client side.

    • onChange

    • onLoad

    • onSubmit

  • Answered by AI
  • Q7. Client script or UI Policy which one will runs first and why?
  • Ans. 

    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.

  • Answered by AI
  • Q8. Types of Business rule, difference between after and Async business rule?
  • Ans. 

    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...

  • Answered by AI
  • Q9. There are 4 types of Business rule, can we change the order of Business rule?
  • Ans. 

    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

  • Answered by AI
  • Q10. Email Notification scripts scenario?
  • Q11. What is the use of isolate checkbox?
  • Ans. 

    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

  • Answered by AI
  • Q12. Xml() and xml() wait difference?
  • Ans. 

    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

  • Answered by AI
  • Q13. How will you achieve UI action in server side and client side, I.e both the code should work in client side and server side
  • Q14. There is a 'Investment' field in incident table Old value: Standard New Value: SMA Replace the options, instead of standard, SMA option should be updated to all records in the table.
  • Ans. 

    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

  • Answered by AI
  • Q15. Can we use previous in Business rule?
  • Ans. 

    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)

  • Answered by AI
  • Q16. Normal change states
  • Q17. What is the use of get reference?
  • Ans. 

    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

  • Answered by AI

Top Cognizant Servicenow Application Developer Interview Questions and Answers

Q1. How many ways can we call a server side code from Client side?
View answer (1)

Servicenow Application Developer Interview Questions asked at other Companies

Q1. Client script or UI Policy which one will runs first and why?
View answer (1)
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
-

I applied via Walk-in and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(8 Questions)

  • Q1. Can you introduce yourself?
  • Ans. 

    I am a Senior Automation Test Engineer with 5+ years of experience in designing and implementing automated testing frameworks.

    • 5+ years of experience in automation testing

    • Proficient in designing and implementing automated testing frameworks

    • Strong knowledge of testing tools like Selenium, Appium, and JUnit

    • Experience in creating test scripts and executing test cases

    • Ability to analyze test results and identify defects

  • Answered by AI
  • Q2. What is the syntax for using driver.findElement in Selenium?
  • Ans. 

    The syntax for using driver.findElement in Selenium is driver.findElement(By locator)

    • Use driver.findElement(By locator) to locate a single element on the web page

    • Specify the locator strategy (e.g. By.id, By.name, By.xpath) to identify the element

    • Example: WebElement element = driver.findElement(By.id("username"));

  • Answered by AI
  • Q3. What are the different types of assertions, and what is the syntax for a hard assertion in TestNG?
  • Ans. 

    Different types of assertions and syntax for hard assertion in TestNG

    • Types of assertions: Hard assertions and Soft assertions

    • Syntax for hard assertion in TestNG: Assert.assertEquals(expected, actual)

  • Answered by AI
  • Q4. What types of wait mechanisms are utilized in your project?
  • Ans. 

    Types of wait mechanisms include implicit wait, explicit wait, fluent wait, and thread.sleep.

    • 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.

    • Fluent wait: Waits for a condition to be true with a specified polling frequency.

    • Thread.sleep: Pauses the execution for a specified amount of time.

  • Answered by AI
  • Q5. How do you manage frames in Selenium?
  • Ans. 

    Frames in Selenium can be managed using switchTo() method to navigate between frames.

    • Use driver.switchTo().frame() method to switch to a frame by index, name or WebElement

    • Use driver.switchTo().defaultContent() method to switch back to the main content

    • Use driver.switchTo().parentFrame() method to switch to the parent frame

  • Answered by AI
  • Q6. How do you remove duplicates from an array?
  • Ans. 

    Use a Set data structure to remove duplicates from an array of strings.

    • Create a Set from the array to automatically remove duplicates

    • Convert the Set back to an array to get the unique values

  • Answered by AI
  • Q7. What is the difference between List, Set, and Map collections in Java?
  • Ans. 

    List, Set, and Map are different types of collections in Java used to store and manipulate groups of objects.

    • List is an ordered collection that allows duplicate elements. Example: ArrayList, LinkedList

    • Set is a collection that does not allow duplicate elements. Example: HashSet, TreeSet

    • Map is a collection of key-value pairs where each key is unique. Example: HashMap, TreeMap

  • Answered by AI
  • Q8. What actions would you take if there is a mismatch between user stories and application functionality?
  • Ans. 

    I would analyze the user stories and application functionality to identify the root cause of the mismatch and work towards resolving it.

    • Review the user stories and application functionality to understand the discrepancies

    • Communicate with stakeholders to clarify requirements and expectations

    • Update test cases and automation scripts to align with the corrected user stories

    • Collaborate with developers to address any underly

  • Answered by AI
Round 2 - Technical 

(4 Questions)

  • Q1. What is your relevant experience, and what are your roles and responsibilities in your current company?
  • Ans. 

    I have over 5 years of experience in automation testing, with a focus on creating and executing test scripts for web applications.

    • Developing automation test scripts using tools like Selenium and TestNG

    • Creating test plans and test cases based on requirements

    • Executing test cases and reporting defects

    • Collaborating with developers and QA team to ensure quality of the product

    • Participating in Agile ceremonies such as sprint

  • Answered by AI
  • Q2. Can you provide a specific scenario from your previous project, and detail the feature file step definitions while demonstrating how to run the scenario with different sets of data?
  • Ans. 

    Demonstrating feature file step definitions with different sets of data in a previous project scenario

    • Create a feature file with a scenario outline that includes placeholders for different sets of data

    • Write step definitions that use the placeholders to run the scenario with different data sets

    • Use data tables or examples in the feature file to provide the different sets of data

    • Run the scenario with different data sets t...

  • Answered by AI
  • Q3. What approach can be used to count the number of URLs in an HTML page using Selenium and open the URL that contains your name?
  • Ans. 

    To count URLs in an HTML page using Selenium and open the URL containing your name, you can use a combination of Selenium WebDriver methods and regular expressions.

    • Use Selenium WebDriver to navigate to the HTML page and retrieve its source code

    • Use regular expressions to identify and count the URLs in the source code

    • Iterate through the list of URLs to find the one containing your name

    • Use Selenium WebDriver to open the U

  • Answered by AI
  • Q4. How can you separate letters and digits from a string in Java? Please provide the Java code for this task.
  • Ans. 

    Use regular expressions to separate letters and digits from a string in Java.

    • Use the String class's split() method with a regular expression to separate letters and digits.

    • Create a regular expression pattern that matches either letters or digits.

    • Store the separated letters and digits in separate arrays.

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Automation Test Engineer interview:
  • Java oops
  • Selenium
  • Cucumber
Interview preparation tips for other job seekers - Review fundamental concepts, practice coding daily, and utilize free websites for practice. Be well-versed in the roles and responsibilities of your current or previous projects, and answer confidently.

Top Cognizant Senior Automation Test Engineer Interview Questions and Answers

Q1. What actions would you take if there is a mismatch between user stories and application functionality?
View answer (1)

Senior Automation Test Engineer Interview Questions asked at other Companies

Q1. (1) write a list comprehension to print a list from 1 to 10 (2) write a program to check if a given positive integer is a power of two (3) create a fibonacci series of 100 using recursive function (4) write a program to find missing numbers... read more
View answer (2)
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I was interviewed in Jan 2025.

Round 1 - Technical 

(8 Questions)

  • Q1. Self intro and project architecture
  • Q2. What are the data sources used?
  • Ans. 

    Various data sources such as databases, APIs, files, and streaming services are used for data ingestion and processing.

    • Databases (e.g. MySQL, PostgreSQL)

    • APIs (e.g. RESTful APIs)

    • Files (e.g. CSV, JSON)

    • Streaming services (e.g. Kafka, Pub/Sub)

  • Answered by AI
  • Q3. Bigquery architecture
  • Q4. Partition vs clustering
  • Ans. 

    Partitioning is dividing data into smaller chunks for efficient storage and retrieval, while clustering is organizing data within those partitions based on a specific column.

    • Partitioning is done at the storage level to distribute data across multiple nodes for better performance.

    • Clustering is done at the query level to physically group data based on a specific column, improving query performance.

    • Example: Partitioning b...

  • Answered by AI
  • Q5. Bq commands on create table and load csv file
  • Ans. 

    Using bq commands to create a table and load a CSV file in Google BigQuery

    • Use 'bq mk' command to create a new table in BigQuery

    • Use 'bq load' command to load a CSV file into the created table

    • Specify schema and source format when creating the table

    • Specify source format and destination table when loading the CSV file

    • Example: bq mk --table dataset.table_name schema.json

    • Example: bq load --source_format=CSV dataset.table_nam

  • Answered by AI
  • Q6. Bq commands on show the schema of the table
  • Ans. 

    Use 'bq show' command to display the schema of a table in BigQuery.

    • Use 'bq show' command followed by the dataset and table name to display the schema.

    • The schema includes the column names, data types, and mode (nullable or required).

    • Example: bq show project_id:dataset.table_name

  • Answered by AI
  • Q7. Explain about leaf nodes and columnar storage.
  • Ans. 

    Leaf nodes are the bottom nodes in a tree structure, while columnar storage stores data in columns rather than rows.

    • Leaf nodes are the end nodes in a tree structure, containing actual data or pointers to data.

    • Columnar storage stores data in columns rather than rows, allowing for faster query performance on specific columns.

    • Columnar storage is commonly used in data warehouses and analytics databases.

    • Leaf nodes are impor...

  • Answered by AI
  • Q8. How many slots are there in bigquery?
  • Ans. 

    BigQuery does not have fixed slots, it dynamically allocates resources based on the query requirements.

    • BigQuery does not have a fixed number of slots like traditional databases.

    • It dynamically allocates resources based on the query requirements.

    • The number of slots available for a query can vary depending on the complexity and size of the query.

    • BigQuery's serverless architecture allows it to scale automatically to handle

  • Answered by AI

Top Cognizant Gcp Data Engineer Interview Questions and Answers

Q1. GCP Services, What is use of Bigquery? What is Pubsub,Dataflow,cloud storage. Question related previous roles and responsibility.
View answer (1)

Gcp Data Engineer Interview Questions asked at other Companies

Q1. GCP Services, What is use of Bigquery? What is Pubsub,Dataflow,cloud storage. Question related previous roles and responsibility.
View answer (1)

BPS Analyst Interview Questions & Answers

user image Anonymous

posted on 4 Jan 2025

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via AmbitionBox and was interviewed in Dec 2024. There were 2 interview rounds.

Round 1 - One-on-one 

(4 Questions)

  • Q1. Can you provide a self-introduction?
  • Ans. 

    I am a detail-oriented BPS Analyst with a strong background in data analysis and process improvement.

    • Experienced in analyzing complex data sets to identify trends and opportunities for improvement

    • Skilled in developing and implementing process improvements to increase efficiency and accuracy

    • Proficient in using data analysis tools such as Excel, SQL, and Tableau

    • Strong communication skills to collaborate with cross-functi

  • Answered by AI
  • Q2. What skills do you possess that are relevant to this position?
  • Ans. 

    I possess strong analytical skills, attention to detail, and experience with data analysis tools.

    • Strong analytical skills

    • Attention to detail

    • Experience with data analysis tools

  • Answered by AI
  • Q3. My Name is Mahasin Gazi From Basirhat I have done Graduation In BA From Basirhat College and another Skill in Computer Diploma, Computer Coding In C,Java Python,My SQL , Advance Excel,
  • Q4. Looking for The job at the moment
Round 2 - One-on-one 

(2 Questions)

  • Q1. What skills do you possess that you would like to introduce?
  • Ans. 

    I possess strong analytical skills, attention to detail, and proficiency in data analysis tools.

    • Strong analytical skills - able to interpret complex data and make informed decisions

    • Attention to detail - ensuring accuracy in data analysis and reporting

    • Proficiency in data analysis tools - experience with Excel, SQL, and Tableau

  • Answered by AI
  • Q2. What are your hobbies?
  • Ans. 

    My hobbies include playing guitar, hiking, and cooking.

    • Playing guitar: I enjoy learning new songs and practicing different techniques.

    • Hiking: I love exploring nature trails and challenging myself with long hikes.

    • Cooking: I like experimenting with new recipes and creating delicious meals for friends and family.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - My goal is to secure a job in the future.

BPS Analyst Interview Questions asked at other Companies

Q1. What is your cgpi ? Are you a fresher
View answer (1)
Contribute & help others!
anonymous
You can choose to be anonymous

Cognizant Interview FAQs

How many rounds are there in Cognizant interview?
Cognizant interview process usually has 2-3 rounds. The most common rounds in the Cognizant interview process are Technical, HR and Resume Shortlist.
How to prepare for Cognizant interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Cognizant. The most common topics and skills that interviewers at Cognizant expect are Java, Project Management, SQL, Project Planning and Javascript.
What are the top questions asked in Cognizant interview?

Some of the top questions asked at the Cognizant interview -

  1. 1 Tell me about your self 2 What is c# 3 What is oops concept 4 What is Delegat...read more
  2. What is meant by quality and brief explanation of it with an examp...read more
  3. What array list and linkedlist difference,how hashmap internally working,what i...read more
How long is the Cognizant interview process?

The duration of Cognizant interview process can vary, but typically it takes about less than 2 weeks to complete.

Recently Viewed

DESIGNATION

INTERVIEWS

Cargill

No Interviews

INTERVIEWS

Wipro

No Interviews

INTERVIEWS

HCLTech

No Interviews

INTERVIEWS

Incture Technologies

No Interviews

DESIGNATION

INTERVIEWS

Cognizant

No Interviews

SALARIES

Coromandel International

SALARIES

Incture Technologies

INTERVIEWS

TCS

No Interviews

Tell us how to improve this page.

Cognizant Interview Process

based on 4.3k interviews

Interview experience

4.2
  
Good
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Accenture Interview Questions
3.8
 • 8.1k Interviews
Infosys Interview Questions
3.6
 • 7.5k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Capgemini Interview Questions
3.7
 • 4.7k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.8
 • 3.1k Interviews
LTIMindtree Interview Questions
3.8
 • 2.9k Interviews
IBM Interview Questions
4.0
 • 2.3k Interviews
View all

Cognizant Reviews and Ratings

based on 50.3k reviews

3.7/5

Rating in categories

3.7

Skill development

3.6

Work-life balance

3.3

Salary

3.6

Job security

3.6

Company culture

3.1

Promotions

3.4

Work satisfaction

Explore 50.3k Reviews and Ratings
Core Java Developer

Hyderabad / Secunderabad

6-9 Yrs

Not Disclosed

Java Developer

Hyderabad / Secunderabad,

Chennai

+1

6-11 Yrs

Not Disclosed

Job opening For PLC /DCS -Hyderabad

Hyderabad / Secunderabad

6-11 Yrs

Not Disclosed

Explore more jobs
Associate
72.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Programmer Analyst
55.5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Associate
48.7k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Processing Executive
28.9k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Technical Lead
17.5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview