Add office photos
IBM logo
Engaged Employer

IBM

Verified
4.0
based on 22.1k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
QA Engineer
Clear (1)

10+ IBM QA Engineer Interview Questions and Answers

Updated 29 Jan 2025

Q1. What is the code for swapping numbers or alphabets using Python?

Ans.

The code for swapping numbers or alphabets in Python involves using a temporary variable to store one of the values.

  • Create two variables to store the values to be swapped.

  • Use a temporary variable to store one of the values.

  • Assign the first value to the second variable and the temporary variable to the first variable.

Add your answer
right arrow

Q2. how to do when dev think it is bug but you do not agree

Ans.

Discuss with dev, review requirements and test cases, provide evidence from testing

  • Have a discussion with the developer to understand their perspective and reasoning behind considering it a bug

  • Review the requirements and test cases to ensure that the behavior in question aligns with the expected functionality

  • Provide evidence from testing, such as logs, screenshots, or test results, to support your stance

  • Collaborate with the team to come to a consensus on whether it is a bug o...read more

Add your answer
right arrow

Q3. What is the difference between constructor overloading and constructor overriding?

Ans.

Constructor overloading is having multiple constructors in a class with different parameters, while constructor overriding is redefining a superclass constructor in a subclass.

  • Constructor overloading allows a class to have multiple constructors with different parameters.

  • Constructor overriding involves redefining a superclass constructor in a subclass with the same name and parameters.

  • In constructor overloading, the constructors must have different parameter lists, while in co...read more

Add your answer
right arrow

Q4. Difference between Authentication and Authorization

Ans.

Authentication verifies the identity of a user, while authorization determines what actions a user is allowed to perform.

  • Authentication confirms the user's identity through credentials like username and password.

  • Authorization controls access to resources based on the user's identity and permissions.

  • Example: Logging into a website (authentication) and then accessing specific pages based on user roles (authorization).

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

Q5. What are server and client side codes

Ans.

Server side code runs on the server and client side code runs on the client's browser.

  • Server side code is executed on the server before the data is sent to the client's browser.

  • Client side code is executed on the client's browser after receiving the data from the server.

  • Examples of server side code include PHP, Java, and Python.

  • Examples of client side code include JavaScript, HTML, and CSS.

Add your answer
right arrow

Q6. Write a program to reverse a string

Ans.

Program to reverse a string

  • Use a loop to iterate through the characters of the string

  • Swap the characters from start to end of the string

  • Continue swapping until reaching the middle of the string

Add your answer
right arrow

Q7. Difference between final and finally

Ans.

final is a keyword used in Java to declare constants, while finally is a block of code used in exception handling to ensure a piece of code is always executed.

  • final is used to declare constants in Java, its value cannot be changed once assigned

  • finally is a block of code used in exception handling to ensure a piece of code is always executed, regardless of whether an exception is thrown or not

  • Example: final int MAX_VALUE = 100; try { // code that may throw an exception } final...read more

Add your answer
right arrow

Q8. Use of this keyword in java

Ans.

The 'this' keyword in Java refers to the current instance of the class.

  • Used to refer to instance variables or methods of the current object

  • Can be used to differentiate between instance variables and local variables with the same name

  • Can be passed as an argument to other methods

Add your answer
right arrow

Q9. Basic principles of oops

Ans.

Basic principles of OOP include encapsulation, inheritance, and polymorphism.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit (class).

  • Inheritance: Ability of a class to inherit properties and behavior from another class.

  • Polymorphism: Ability to present the same interface for different data types.

  • Example: A 'Car' class may have properties like 'color' and 'model', and methods like 'start' and 'stop'.

Add your answer
right arrow

Q10. Exceptions in Selenium

Ans.

Exceptions in Selenium are errors that occur during test execution, such as ElementNotVisibleException or NoSuchElementException.

  • Exceptions in Selenium are thrown when there is an unexpected behavior or error during test execution.

  • Common exceptions include ElementNotVisibleException, NoSuchElementException, StaleElementReferenceException, and TimeoutException.

  • Handling exceptions in Selenium can be done using try-catch blocks or using Selenium's built-in methods like WebDriver...read more

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 QA Engineer

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

Top QA Engineer Interview Questions from Similar Companies

Bolt.Earth Logo
3.8
 • 11 Interview Questions
Capgemini Logo
3.7
 • 10 Interview Questions
Tech Mahindra Logo
3.5
 • 10 Interview Questions
View all
Recently Viewed
SALARIES
Ola Cabs
SALARIES
Facebook
SALARIES
Flipkart
SALARIES
LinkedIn
SALARIES
Mirabel Technologies
INTERVIEWS
Amazon
No Interviews
SALARIES
Mirabel Technologies
SALARIES
Blinkit
SALARIES
Airbnb
SALARIES
Expedia Group
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