Add office photos
Cognizant logo
Engaged Employer

Cognizant

Verified
3.7
based on 50.6k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Software Tester
Clear (1)

Cognizant Software Tester Interview Questions and Answers

Updated 11 Nov 2024

Q1. What is the difference between array and linked list

Ans.

An array is a fixed-size data structure that stores elements of the same type, while a linked list is a dynamic data structure that stores elements with pointers to the next element.

  • Arrays have a fixed size, while linked lists can grow or shrink dynamically.

  • Accessing elements in an array is faster than in a linked list.

  • Insertion and deletion operations are faster in a linked list compared to an array.

  • Arrays use contiguous memory, while linked lists use non-contiguous memory.

  • A...read more

View 1 answer
right arrow

Q2. How to handle alert pop up in selenium?

Ans.

Handling alert pop up in Selenium

  • Use Alert interface to handle alert pop up

  • Switch to alert using driver.switchTo().alert()

  • Accept or dismiss alert using accept() or dismiss() method

  • Get text from alert using getText() method

  • Send keys to alert using sendKeys() method

View 1 answer
right arrow

Q3. Jasmin and selenium how to use and integrate to application

Ans.

Jasmin is a testing framework and Selenium is a tool for automating web browsers. They can be integrated to test web applications.

  • Jasmin is a behavior-driven development (BDD) testing framework that uses natural language to describe test scenarios.

  • Selenium is a tool for automating web browsers and can be used to simulate user interactions with a web application.

  • Jasmin and Selenium can be integrated to test web applications by writing test scenarios in Jasmin and using Seleniu...read more

Add your answer
right arrow

Q4. What is synchronization?

Ans.

Synchronization is the process of coordinating multiple threads to ensure they access shared resources in a controlled manner.

  • Synchronization prevents race conditions and deadlocks.

  • It can be achieved using locks, semaphores, and monitors.

  • Examples include synchronized methods in Java and mutexes in C++.

  • Synchronization can impact performance and should be used judiciously.

Add your answer
right arrow
Discover Cognizant interview dos and don'ts from real experiences

Q5. what is threading and locking

Ans.

Threading is a way of executing multiple tasks simultaneously while locking is a mechanism to prevent data inconsistency.

  • Threading allows multiple threads to run concurrently in a single process

  • Locking is used to prevent multiple threads from accessing shared resources simultaneously

  • Locking can be implemented using mutex, semaphore, or monitor

  • Deadlocks can occur if locking is not implemented properly

Add your answer
right arrow

Q6. What is a pointer

Ans.

A pointer is a variable that stores the memory address of another variable.

  • Pointers are used to manipulate data directly in memory.

  • They are commonly used in programming languages like C and C++.

  • Pointers can be used to pass data between functions efficiently.

  • They can also be used to dynamically allocate memory.

  • Example: int *ptr; // declares a pointer to an integer variable

Add your answer
right arrow

Q7. What is smoke testing

Ans.

Smoke testing is a preliminary testing to check if the basic functionalities of a software application are working fine.

  • Performed at the beginning of testing phase

  • Focuses on basic functionality

  • Not detailed testing

  • Helps in identifying major issues early on

  • Usually automated for efficiency

Add your answer
right arrow

Q8. Conspects of Manual testing

Ans.

Manual testing involves executing test cases without the use of automation tools.

  • Manual testing requires human intervention to execute test cases.

  • Testers follow test cases step by step to identify defects in the software.

  • It is time-consuming but allows for more thorough testing compared to automated testing.

  • Examples include exploratory testing, ad-hoc testing, and regression testing.

Add your answer
right arrow

More about working at Cognizant

Back
Awards Leaf
AmbitionBox Logo
Top Rated Mega Company - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated IT/ITES Company - 2024
Awards Leaf
HQ - Teaneck. New Jersey., United States (USA)
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Cognizant Software Tester

based on 9 interviews
2 Interview rounds
Technical Round
HR Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Tester Interview Questions from Similar Companies

Codoid Logo
4.3
 • 17 Interview Questions
TCS Logo
3.7
 • 12 Interview Questions
Capgemini Logo
3.7
 • 10 Interview Questions
View all
Recently Viewed
COMPANY BENEFITS
ICICI Bank
Junagadh
1 benefits
COMPANY BENEFITS
ICICI Bank
Kakinada
6 benefits
SALARIES
Cognizant
SALARIES
The Works
SALARIES
The Works
SALARIES
The Works
SALARIES
Amura Marketing Technologies
SALARIES
The Works
SALARIES
Cognizant
SALARIES
Cognizant
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter