Tip 1 : Practice from coding platforms, solve its medium level problems.
Tip 2 : Brush up computer fundamentals from subjects like OS, DBMS and CN.
Tip 3 : Have a good project or good internship experience and have in-depth knowledge regarding what you have done.
Tip 1: Do not mention topics you have no idea about.
Tip 2: You should have some projects on your resume and be able to explain clearly why you chose each particular project, what it does, its functionality, outcomes, and everything about each project.
Tip 3: Tailor your resume according to the needs and the role you are applying for.
What is unit testing?
Unit testing is the process of testing a single unit of code in an isolated manner. The unit of code can be a method, a class, or a module. Unit testing aims to focus on the smallest building blocks of code to get confidence to combine them later to produce fully functioning software.
What is boundary value analysis? (Learn)
In software, many errors occur near the edges of the range of the data values. For example, when the programmer uses the greater-than operator (>) instead of the greater-than-or-equal-to (>=) operator, it causes the off-by-one indexing error.
What are destructors in C++? (Learn)
A constructor is automatically called when an object is first created. Similarly, when an object is destroyed, a function called a destructor automatically gets called. A destructor has the same name as the constructor (which is the same as the class name) but is preceded by a tilde.
What is a copy constructor? (Learn)
A copy constructor is a member function that initializes an object using another object of the same class.
When is a good time to automate a test? (Learn)
A test is a good candidate for automation under the following conditions.
1) The test is repeatable.
2) The feature under the test doesn’t change its behavior frequently.
3) It’s time-consuming for a human tester.
4) The test involves complicated calculations.
5) The test ensures the previous functionality didn’t break after a new change.
What are some of the best practices in test automation? (Learn)
Here are some of the best practices a software development and testing team should use to ensure quality software:
1. Decide what to automate
It’s not possible or practical to automate certain tests, such as usability, accessibility, exploratory testing, or non-repetitive test cases that frequently change.
2. Assign test cases based on skill and experience
When dividing test cases, take into account the skills and experience of the tester and the complexity and severity of the feature under test.
3. Remove uncertainty
The whole goal of test automation is to have reliable, accurate, consistent tests that provide helpful feedback to the tester. If the tests fail due to bugs in the test itself, or if they give false positives, then the ROI on test automation starts decreasing.
4. Choose the right frameworks and tools
There are many tools to perform automation testing. Picking the wrong tool for the test at hand will waste time and provide false confidence in releasing software that may fail in production.
What are the different components of Selenium? (Learn)
Selenium is not a single tool or a framework. It is a suite of tools that work with each other or in isolation to provide different types of automation testing. Here are the four major components of Selenium.
Why should Selenium be selected as a testing tool for web applications or systems?
Selenium provides the following advantages, which make it an excellent automated testing framework:
1) It is free and open-source software with a large user base and supports providing community.
2) It has cross-browser compatibility and supports multiple browsers like Google Chrome, Mozilla Firefox, Internet Explorer, Edge, Opera, Safari, etc.
3) It supports multiple operating systems such as Windows, Linux, macOS, etc.
4) It facilitates the usage of multiple programming languages including Scala, Ruby, Python, PHP, Perl, Java, Groovy, C#, etc.
5) It provides support for distributed testing as well.
What is meant by XPath in Selenium? Explain XPath Absolute and XPath Relative.
XPath, also defined as XML-Path (Extensible Markup Language Path), is a language used to query XML documents and provide functionalities like locating elements in Selenium by iterating through each element in a webpage. In XPath, data is stored in a key-value pair format similar to an HTML tag. It uses a single slash, i.e. ‘ / ’ for creating an absolute path, and a double slash, i.e. ‘ // ’ for creating a relative path for an element to be located on a webpage.



Suppose ‘A’ = “brute”, and ‘B’ = “groot”
The shortest supersequence will be “bgruoote”. As shown below, it contains both ‘A’ and ‘B’ as subsequences.
A A A A A
b g r u o o t e
B B B B B
It can be proved that the length of supersequence for this input cannot be less than 8. So the output will be bgruoote.
Given two strings, ‘A’ and ‘B’. Return the shortest super sequence string ‘S’, containing both ‘A’ and ‘B’ as its subsequences. If there are multiple answers, return any of them.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?