Add office photos
IBM logo
Engaged Employer

IBM

Verified
4.0
based on 21.8k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

IBM Interview Questions and Answers

Updated 16 Nov 2024
Popular Designations

Q1. what are waits in selenium you use in your project

Ans.

Waits in Selenium are used to ensure that the automation script waits for a certain condition to be met before proceeding.

  • Implicit Wait: Waits for a certain amount of time before throwing a NoSuchElementException.

  • Explicit Wait: Waits for a certain condition to be met before proceeding.

  • Fluent Wait: Waits for a condition with a specified frequency of checking.

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

Add your answer
right arrow

Q2. What is cucumber framework?

Ans.

Cucumber is a testing framework that supports Behavior Driven Development (BDD) by allowing tests to be written in plain text.

  • Cucumber uses Gherkin syntax to define test cases in a human-readable format

  • It allows collaboration between technical and non-technical team members

  • Cucumber tests are written in feature files with scenarios and steps

  • It integrates with various programming languages like Java, Ruby, etc.

Add your answer
right arrow

Q3. find the lca of a given nodes

Ans.

The lowest common ancestor (LCA) of two nodes in a tree is the shared ancestor that is located farthest from the root.

  • Traverse the tree from the root to find the paths from the root to each node.

  • Compare the paths to find the last common node between the two paths, which is the LCA.

  • If one node is an ancestor of the other, return that node as the LCA.

Add your answer
right arrow

Q4. What is Selenium?

Ans.

Selenium is a popular open-source tool used for automating web browsers.

  • Selenium supports multiple programming languages like Java, Python, and C#.

  • It can automate web browsers across different platforms like Windows, Mac, and Linux.

  • Selenium can be used for functional testing, regression testing, and browser compatibility testing.

  • It allows users to write test scripts in a variety of formats such as HTML, Java, C#, and Python.

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

Q5. Explain your framework structure

Ans.

My framework structure is based on a modular approach with reusable components and clear separation of concerns.

  • Modular design with separate modules for different functionalities

  • Reusable components to avoid duplication of code

  • Clear separation of concerns for easy maintenance and scalability

Add your answer
right arrow

Q6. implement min stack

Ans.

Implement a stack that supports finding the minimum element in constant time.

  • Create a stack to store elements and another stack to store minimum values.

  • When pushing an element, check if it is smaller than the current minimum and push it to the min stack if so.

  • When popping an element, check if it is the current minimum and pop from the min stack if so.

  • To get the minimum element, simply return the top element of the min stack.

Add your answer
right arrow

More about working at IBM

Back
Awards Leaf
AmbitionBox Logo
Top Rated Mega Company - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated Company for Women - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated IT/ITES Company - 2024
Awards Leaf
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 IBM

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

Top Softwaretest Engineer Interview Questions from Similar Companies

QualiZeal Logo
4.3
 • 23 Interview Questions
Logituit Logo
3.7
 • 16 Interview Questions
Wipro Logo
3.7
 • 15 Interview Questions
Tech Mahindra Logo
3.5
 • 14 Interview Questions
Playablo Logo
4.0
 • 13 Interview Questions
Infosys Logo
3.6
 • 11 Interview Questions
View all
Share an Interview
Profile Image
Hello, Guest
Awards 2025
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits
Stay ahead in your career with AmbitionBox app