Paytm
10+ Aidetic Software Interview Questions and Answers
Q1. WAP to reverse a integer number without using String
Reversing an integer without using string in Python
Convert the integer to a list of digits
Reverse the list
Convert the list back to an integer
Q2. How many classes can be present in a Java file
A Java file can have multiple classes, but only one public class.
A Java file can have multiple non-public classes.
The name of the public class must match the name of the file.
Only the public class can be accessed from outside the file.
Q3. How Do you initialise a browser using selenium
To initialise a browser using Selenium, we need to create an instance of the WebDriver interface.
Import the necessary packages for Selenium and WebDriver
Create an instance of the desired browser driver
Use the driver instance to open a new browser window
Q4. How selenium works or communicate with browser
Selenium uses browser-specific drivers to communicate with the browser and automate user actions.
Selenium sends commands to the browser driver, which translates them into browser-specific actions.
The driver then sends the results back to Selenium.
Selenium can interact with the browser using various methods such as find elements, click, type, etc.
Selenium supports multiple browsers such as Chrome, Firefox, Safari, and more.
Q5. WAP to find if two strings are palindrome
A program to check if two strings are palindromes.
Create a function that takes two strings as input.
Reverse the second string and compare it with the first string.
If they are the same, return true. Otherwise, return false.
Q6. Write test cases to test ATM MACHINE
Test cases to test ATM machine
Verify if the ATM machine is dispensing the correct amount of cash
Check if the ATM machine is accepting valid debit/credit cards
Ensure that the ATM machine is providing proper instructions to the user
Test if the ATM machine is properly handling errors and exceptions
Validate if the ATM machine is maintaining transaction records accurately
Q7. WAP to reverse characters of a String
A program to reverse the characters of a given string.
Iterate through the string from the end and append each character to a new string.
Use built-in functions like reverse() or StringBuilder in Java.
Convert the string to an array, reverse the array, and convert it back to a string.
Q8. Difference between put patch and post
PUT is used to update an existing resource, PATCH is used to partially update an existing resource, and POST is used to create a new resource.
PUT replaces the entire resource with the new one, while PATCH only updates the specified fields
PUT and PATCH are idempotent, meaning multiple identical requests will have the same effect as a single request
POST is not idempotent and creates a new resource
PUT and PATCH require the resource identifier in the URL, while POST does not
Q9. What is SQL CASE STATEMENT
SQL CASE statement is used to add conditional logic to SQL queries.
It allows for conditional execution of SQL statements.
It can be used in SELECT, WHERE, and ORDER BY clauses.
It can be used with multiple conditions and ELSE statements.
Example: SELECT name, CASE WHEN age < 18 THEN 'Minor' ELSE 'Adult' END AS age_group FROM users;
Example: SELECT name, CASE WHEN score >= 90 THEN 'A' WHEN score >= 80 THEN 'B' ELSE 'C' END AS grade FROM students;
Q10. What is non equi join
Non equi join is a type of join in SQL where the condition used is not an equality operator.
Non equi join is used to join tables based on conditions other than equality.
It is used when the join condition involves operators like >, <, >=, <=, etc.
Non equi join can result in a Cartesian product if not used carefully.
Example: SELECT * FROM table1 JOIN table2 ON table1.column1 > table2.column2;
Top QA Automation Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month