Cognizant
Joshi Automotives Interview Questions and Answers
Q1. What is the difference between array and linked list
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
Q2. How to handle alert pop up in selenium?
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
Q3. Jasmin and selenium how to use and integrate to application
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
Q4. What is synchronization?
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.
Q5. what is threading and locking
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
Q6. What is a pointer
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
Q7. What is smoke testing
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
Q8. Conspects of Manual testing
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.
More about working at Cognizant
Interview Process at Joshi Automotives
Top Software Tester Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month