Paisabazaar.com
INCREDIBLE MACHINE Interview Questions and Answers
Q1. In Jmeter, what is Rampup period
Rampup period in JMeter is the time taken for all virtual users to start executing the test plan.
Rampup period is specified in seconds in JMeter test plan settings.
During the rampup period, JMeter gradually starts all virtual users to avoid overwhelming the server.
For example, if rampup period is set to 60 seconds and number of threads is 100, JMeter will start 1 thread every 0.6 seconds.
Q2. Write an SQL query to find the 2nd largest salary
SQL query to find the 2nd largest salary
Use the ORDER BY clause to sort salaries in descending order
Use the LIMIT clause to get the second row
Q3. Write a program to find a prime number
Program to find a prime number
Iterate through numbers starting from 2 up to the given number
Check if the number is divisible by any number other than 1 and itself
If not divisible, then it is a prime number
Q4. Write a program to find the factorial
Program to find the factorial of a number
Use a loop to multiply numbers from 1 to the given number
Handle edge cases like 0 and negative numbers
Example: For input 5, factorial is 5*4*3*2*1 = 120
Q5. Difference between cookie and cache
Cookies are small pieces of data stored on the client side, while cache is temporary storage of web documents on the server or client side.
Cookies are used to store user-specific information like login credentials, preferences, etc.
Cache is used to store frequently accessed web documents to reduce loading times.
Cookies are sent with every HTTP request, while cache is used to store resources locally to reduce server load.
Examples: Cookies are used to remember a user's login se...read more
Q6. Write test cases of Login API
Test cases for Login API
Verify valid credentials login successfully
Verify invalid credentials show error message
Verify login with empty username or password
Verify login with special characters in username or password
Verify login with long username or password
Q7. API vs Webservice
API is a general term for any set of rules that allow different software applications to communicate with each other. A web service is a type of API that is accessed over a network.
API is a set of rules and protocols that allow different software applications to communicate with each other.
Web service is a type of API that is accessed over a network, typically using HTTP.
API can be used for various purposes like accessing databases, hardware devices, or other software applica...read more
Top QA Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month