Filter interviews by
Clear (1)
I was interviewed in Aug 2024.
Asked simple Questions like
Giving string and remove special characters
Checked exceptions are checked at compile time, while unchecked exceptions are not.
Checked exceptions must be handled by the code or declared in the method signature using 'throws' keyword.
Unchecked exceptions do not need to be caught or declared in the method signature.
Examples of checked exceptions: IOException, SQLException.
Examples of unchecked exceptions: NullPointerException, ArrayIndexOutOfBoundsException.
Interface in Java is a blueprint of a class that defines a set of methods without implementation.
Interfaces can have abstract methods and constants, but no instance variables.
Classes can implement multiple interfaces but can only extend one class.
Interfaces are used to achieve abstraction and multiple inheritance in Java.
Using multiple catch blocks allows handling different types of exceptions separately, while finally block ensures cleanup code is executed regardless of exception.
Multiple catch blocks can handle different types of exceptions separately
Finally block ensures cleanup code is executed regardless of exception
Example: try { // code that may throw exceptions } catch (ExceptionType1 e) { // handle ExceptionType1 } catch (Exce...
Different types of exceptions include checked, unchecked, and errors.
Checked exceptions are checked at compile time and must be handled or declared.
Unchecked exceptions are not checked at compile time and can be handled or not.
Errors are exceptional conditions that are not meant to be caught or handled.
Example of a login scenario in Cucumber with parameters for username and password
Create a feature file with the login scenario
Define the scenario outline with placeholders for username and password
Implement step definitions to pass the parameters in the login steps
Use regular expressions to remove special characters from a string.
Create a regular expression pattern to match special characters
Use the replace() method with the regular expression pattern to remove special characters
Example: str.replace(/[!@#$%^&*()_+]/g, '') will remove !@#$%^&*()_+ from the string
Docker is a containerization platform, API status codes indicate the success or failure of a request, deployment processes involve releasing software updates, and Jenkins is a continuous integration tool.
Docker is a platform for developing, shipping, and running applications in containers.
API status codes are used to indicate the success or failure of a request, such as 200 for success and 404 for not found.
Deployment ...
Top trending discussions
I applied via Referral and was interviewed in May 2024. There were 2 interview rounds.
2 coding,4 SQL query
Regression testing is retesting software to ensure new changes haven't affected existing functionality. Automation testing is using tools to execute test cases.
Regression testing ensures that new code changes haven't affected existing functionality
Automation testing involves using tools to execute test cases automatically
Regression testing is often performed after code changes or updates
Automation testing helps in savi...
posted on 16 Dec 2024
1. Prepare java string questions
posted on 9 Oct 2024
I applied via Referral and was interviewed before Oct 2023. There were 3 interview rounds.
Have to write code snippet for serialization and deserialization in java
Indian number plate system consists of a unique combination of letters and numbers to identify vehicles.
Indian number plates consist of a combination of letters and numbers
The first two letters indicate the state where the vehicle is registered
Followed by a unique number assigned to the vehicle
Some number plates may also include additional information like the vehicle class or fuel type
Check if a string is palindrome using recursion
Create a recursive function that compares the first and last characters of the string
If they match, call the function with the substring excluding the first and last characters
Continue this process until the string length is 0 or 1, then return true if all characters matched
Example: 'racecar' is a palindrome, 'hello' is not
Oops concepts in Java refer to Object-Oriented Programming principles like Inheritance, Polymorphism, Encapsulation, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Ability of an object to take on many forms.
Encapsulation: Bundling of data with the methods that operate on that data.
Abstraction: Hiding the implementation details and showing only the necessa
Use two pointers approach to separate 1's and 0's in an array of strings with minimal complexity.
Initialize two pointers, one at the beginning and one at the end of the array.
Move the left pointer until it encounters a '0' and the right pointer until it encounters a '1'.
Swap the elements at the left and right pointers, then move the pointers towards each other until they meet in the middle.
Automating filters in a web page involves identifying filter elements, selecting filter criteria, and verifying filtered results.
Identify filter elements on the web page such as dropdowns, checkboxes, or input fields
Use automation tools like Selenium to interact with filter elements and select desired criteria
Trigger filter action (e.g. clicking 'Apply' button) and wait for the page to refresh with filtered results
Veri...
Design a URL shortener service to generate short URLs for long URLs.
Use a hashing algorithm to generate unique short codes for long URLs.
Store the mapping of short codes to long URLs in a database.
Redirect users from short URLs to the corresponding long URLs.
Implement analytics to track usage and performance of the service.
3 hour test. 20 MCQs and 2 Coding problems
Prefix Sum and left sum of binary tree involves calculating the sum of all nodes in a binary tree and the sum of nodes on the left side of each node.
Calculate prefix sum of binary tree by traversing in a pre-order manner and keeping track of the running sum.
To calculate left sum of binary tree, traverse the tree in a pre-order manner and keep track of the sum of nodes on the left side of each node.
Example: For a binary...
Recursion to memoization DP problem involves optimizing recursive solutions by storing intermediate results.
Recursion involves solving a problem by breaking it down into smaller subproblems and calling the function recursively.
Memoization involves storing the results of expensive function calls and reusing them when the same inputs occur again.
Dynamic Programming (DP) involves solving problems by breaking them down int...
I applied via Referral and was interviewed in Jan 2024. There was 1 interview round.
Oops concepts of Java
Encapsulation: Bundling data and methods together in a class
Inheritance: Acquiring properties and behaviors from a parent class
Polymorphism: Ability to take on many forms
Abstraction: Hiding complex implementation details
Interface: Blueprint of a class that defines methods to be implemented
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Implicit and Explicit wait are used in Selenium for handling synchronization issues in test automation.
Implicit wait is set globally for the entire test script, while explicit wait is applied only to specific elements.
Implicit wait waits for a specified amount of time before throwing a NoSuchElementException, while explicit wait waits for a specific condition to be met before proceeding.
Syntax for implicit wait: driver...
Xpath writing with parent child relation involves specifying the path to locate elements based on their hierarchical relationship.
Use '/' to specify direct child elements
Use '//' to specify any descendant elements
Use '[]' to specify conditions for selecting elements
Example: //div[@class='parent']/child::span
Java constructor is a special type of method used to initialize objects. Swapping two numbers can be done using a temporary variable.
Java constructor is used to initialize objects in a class.
Swapping two numbers can be done by using a temporary variable.
Example code for swapping two numbers using constructor:
public class NumberSwapper {
int num1;
int num2;
public NumberSwapper(int a, int b) {
num1 = a;
num2 = ...
Amazon website needs to validate drop-down value
I applied via Campus Placement and was interviewed before Sep 2023. There were 3 interview rounds.
It was very good 60 questions
3 coding question everhthing was hard
Java is a popular programming language, C++ is another programming language, and DBMS SQL is a language used for managing databases.
Java is an object-oriented programming language commonly used for building web applications and software.
C++ is a high-level programming language often used for system programming and game development.
DBMS SQL is a language used to interact with relational databases, allowing users to retr...
Python is a high-level programming language known for its simplicity and readability. OOPs (Object-Oriented Programming) is a programming paradigm that uses objects and classes. Inheritance is a feature of OOPs that allows a class to inherit properties and behavior from another class.
Python is a versatile, interpreted language used for web development, data analysis, artificial intelligence, and more.
OOPs focuses on cr...
Some of the top questions asked at the Skeps Sdet Automation Test Engineer interview -
based on 1 interview
Interview experience
Software Developer
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Sdet
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Sdet Engineer
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Sdet Automation Test Engineer
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Paytm
Flipkart
Amazon
Reliance Industries