i
Cognizant
Filter interviews by
Testing is a process to evaluate the functionality, performance, and reliability of software or systems to ensure quality and meet requirements.
Types of Testing: Includes unit testing, integration testing, system testing, and acceptance testing.
Example: Unit testing checks individual components for correctness, like testing a function in isolation.
Manual vs Automated Testing: Manual testing involves human testers,...
To test a pen, I would evaluate its functionality, durability, and user experience through various methods.
Check ink flow: Write on different surfaces to ensure consistent ink delivery.
Durability test: Drop the pen from a height to see if it breaks or leaks.
Comfort test: Hold the pen for an extended period to assess grip and comfort.
Water resistance: Expose the pen to water to check if it still writes.
Cap test: En...
A hashmap uses key-value pairs for efficient data retrieval, leveraging hashing for quick access.
Hash Function: Converts keys into hash codes, e.g., key 'apple' might hash to 5.
Buckets: Store entries in an array, e.g., index 5 might hold ('apple', value).
Collision Handling: Uses chaining (linked lists) or open addressing to resolve collisions.
Load Factor: Determines when to resize the hashmap, typically around 0.7...
Profiles set baseline permissions; permission sets provide additional, flexible access without changing profiles.
Profiles define default access for users, while permission sets grant additional permissions.
A user can have only one profile but multiple permission sets, allowing for more granular control.
Permission sets can be used to grant access to specific features or objects without altering the profile.
For exam...
What people are saying about Cognizant
Identify and count duplicate characters in a string to analyze its composition.
Use a hash map to track character frequencies. Example: 'hello' -> {h: 1, e: 1, l: 2, o: 1}.
Iterate through the string and update counts in the hash map.
Filter the hash map to find characters with a count greater than 1.
Return the duplicates and their counts. Example: 'banana' -> {b: 1, a: 3, n: 2} -> Duplicates: a, n.
XPath is a language for navigating through elements and attributes in an XML document, crucial for web scraping and automation.
Basic Syntax: XPath uses a path-like syntax to navigate through nodes, e.g., '/html/body/div' selects the 'div' under 'body'.
Predicates: You can filter nodes using predicates, e.g., '//div[@class='example']' selects 'div' elements with a specific class.
Axes: XPath supports axes to navigate...
The OOPs concept in Java stands for Object-Oriented Programming, which focuses on creating objects that interact with each other.
OOPs concept involves the use of classes and objects to model real-world entities.
It includes principles like inheritance, encapsulation, polymorphism, and abstraction.
Example: Creating a class 'Car' with properties like 'make', 'model', and methods like 'drive' and 'stop'.
Agile methodology is a project management approach that emphasizes flexibility, collaboration, and iterative development.
Agile focuses on delivering value to customers through continuous planning, feedback, and adaptation.
It involves breaking down projects into smaller, manageable tasks called sprints.
Teams work closely together and with stakeholders to prioritize tasks and make quick decisions.
Common agile framew...
Use SQL queries to remove duplicate records from a database table.
Use the DISTINCT keyword in SELECT statement to retrieve unique records.
Use the GROUP BY clause to group records based on specific columns.
Use the ROW_NUMBER() function to assign a unique row number to each record and then filter out duplicates.
Clustered index physically reorders the data on disk, while non-clustered index creates a separate structure.
Clustered index determines the physical order of data rows in a table, while non-clustered index does not.
Clustered index is faster for retrieval of large ranges of data, while non-clustered index is faster for retrieval of individual rows.
A table can have only one clustered index, but multiple non-clustere...
Asked reasoning question and more
The OOPs concept in Java stands for Object-Oriented Programming, which focuses on creating objects that interact with each other.
OOPs concept involves the use of classes and objects to model real-world entities.
It includes principles like inheritance, encapsulation, polymorphism, and abstraction.
Example: Creating a class 'Car' with properties like 'make', 'model', and methods like 'drive' and 'stop'.
React is a JavaScript library for building user interfaces.
React uses a virtual DOM for better performance.
Components are the building blocks of React applications.
React allows for uni-directional data flow.
React supports server-side rendering for SEO optimization.
Clustered index physically reorders the data on disk, while non-clustered index creates a separate structure.
Clustered index determines the physical order of data rows in a table, while non-clustered index does not.
Clustered index is faster for retrieval of large ranges of data, while non-clustered index is faster for retrieval of individual rows.
A table can have only one clustered index, but multiple non-clustered ind...
Use SQL queries to remove duplicate records from a database table.
Use the DISTINCT keyword in SELECT statement to retrieve unique records.
Use the GROUP BY clause to group records based on specific columns.
Use the ROW_NUMBER() function to assign a unique row number to each record and then filter out duplicates.
Handle leave requests by following company policy, communicating with team members, and ensuring coverage.
Refer to company policy for leave request procedures
Communicate with team members to ensure coverage during absence
Document leave requests and approvals for record keeping
To deliver projects on time, it is important to set clear timelines, prioritize tasks, communicate effectively, and regularly monitor progress.
Set clear project timelines and deadlines
Prioritize tasks based on importance and urgency
Communicate effectively with team members and stakeholders
Regularly monitor progress and make adjustments as needed
Observables are data streams that can be subscribed to, allowing for asynchronous programming and handling of multiple values over time.
Observables are part of the RxJS library in JavaScript, commonly used in Angular applications.
They can emit multiple values over time, including errors and completion signals.
Advantages include easier handling of asynchronous operations, better error handling, and support for operators...
I applied via Approached by Company and was interviewed in Jul 2024. There was 1 interview round.
I am a dedicated and hardworking individual with a passion for learning and growth.
I have a strong work ethic and always strive to exceed expectations.
I am a quick learner and adapt well to new environments.
I have experience in project management and team collaboration.
I am proficient in various software programs such as Microsoft Office and Adobe Creative Suite.
I have a Bachelor's degree in Business Administration and 5 years of experience in marketing.
Bachelor's degree in Business Administration
5 years of experience in marketing
I have strong communication skills, attention to detail, and problem-solving abilities.
Strong communication skills - able to effectively convey information and ideas
Attention to detail - meticulous in reviewing work for accuracy
Problem-solving abilities - skilled at analyzing situations and finding solutions
Example: Led a team project where I communicated tasks clearly, paid attention to details in the project plan, an...
Agile methodology is a project management approach that emphasizes flexibility, collaboration, and iterative development.
Agile focuses on delivering value to customers through continuous planning, feedback, and adaptation.
It involves breaking down projects into smaller, manageable tasks called sprints.
Teams work closely together and with stakeholders to prioritize tasks and make quick decisions.
Common agile frameworks ...
Exceptions handling in Java involves using try, catch, and finally blocks to handle errors and prevent program crashes.
Use try block to enclose the code that may throw an exception
Use catch block to handle the exception and provide alternative code to execute
Use finally block to execute code that should always run, regardless of whether an exception is thrown
Examples: try { // code that may throw exception } catch (Exc...
Oops concepts in Java refer to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability of a method to do different things based on the object it is acting upon.
Abstraction: Hiding the imp...
Oops concepts in Java refer to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability of a method to do different things based on the object it is acting upon.
Abstraction: Hiding the imp...
Some of the top questions asked at the Cognizant Associate interview for experienced candidates -
The duration of Cognizant Associate interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 62 interview experiences
Difficulty level
Duration
based on 5.8k reviews
Rating in categories
Associate
73.3k
salaries
| ₹5.1 L/yr - ₹14.4 L/yr |
Programmer Analyst
56.2k
salaries
| ₹2 L/yr - ₹9.5 L/yr |
Senior Associate
53k
salaries
| ₹9 L/yr - ₹28.6 L/yr |
Senior Processing Executive
29.8k
salaries
| ₹1.4 L/yr - ₹9 L/yr |
Technical Lead
18.1k
salaries
| ₹6 L/yr - ₹25.6 L/yr |
TCS
Infosys
Wipro
Accenture