Interview Question and answers

1) Write the Test Case for Electrical Motor?
Ans: Check the Power supply of Motor,Check motor running or not
eg: Your using Verizon internet connection and but since from few day the signals are dropping off for every 5mins. Now you call to version customer care.(Here as tester imagine your are the problem slover and write required step cases that you are going to follow)

2) Write the Sql Query for Average Calculation?
Ans: select avg(Column_name) from table_name
3)  How can you decide max number of testcases for a Module?
Ans: Based on the number of requirements, we can say min test cases.  Max we can say based on the tester ability.
4) What is difference between SDLC and STLC?
Ans: software development life cycle(SDLC) covers the


Information gathering
Analysis
Designing
Implementation
a) coding
b) Testing
Maintenance.
In this SDLC Implementation can come along with both coding as well as testing.

Software testing life cycle(STLC) covers

Information gathering
Analysis
Designing
Testing
1. Test planning
2. Test development
3. Test execution
4. Result analysis
5. Bug reporting
Maintenance.
In STLC we never come along with the coding(Developing)
5) How you test database and explain the procedure?
Ans: This is not a very good question. Database Testing is purely done based on the requirements. You may generalize a few features but they won't be complete. In general we look at
1. Data Correctness (Defaults)
2. Data Storage/Retreival
3. Database Connectivity (across multiple platforms)
4. Database Indexing
5. Data Integrity
6. Data Security
6) what is difference between testing and development in your view?
Ans: In Development,developer's are building/developing the application/project as per the client given requirements.
In Testing,tester's are checking/validating the application whether it is working as per the client given requirements.