Sunteți pe pagina 1din 4

QUESTIONNAIRE

1. A device supports two features: Feature A and Feature B. Both can be turned off and on.
Feature B is dependent on Feature A. Therefore, if Feature A is off, Feature B will not work.
Feature A is on by default. Design the optimal set of test cases that will test all combinations
of Feature A and Feature B.

ANS: There will be three test cases:

1) A ON, B ON
2) A ON, B OFF
3) A OFF, B OFF

2. Unsigned integer X is an input parameter to a device. The device expects X to be within a


range, X = [a,b]. a and b are included in the range, and b is always greater than a. Create the
optimized number of tests to verify that a device can receive X. Specify a value for X in each
test case.

ANS: The required test cases are:

Lets take, A = -10, b = 15

1) if X = 7, then the test case should PASS.


2) If X = -17, (x<A), then the test case should FAIL.
3) If X = 17, (X>b), then the test case should FAIL.
4) If X = -10, <X==a), then the test case should PASS.
5) If X = 15, <X==b), then the test case should PASS.

3. A requirement states that an ASCII character X can be an input for a system. For input
characters 0-9, the system executes a particular function. Considering this is a black box
system, what values of X would you use to test the system?
4.
What attributes are found in a typical test case? Please provide at least three examples in
table format using the tests that you created in Question 3.

ANS: Key Attributes found in a typical test case are: Test case ID, Test case description, Expected Result,
Actual Result, Prerequisites, Pass/Fail condition.

5. A static integer variable is declared inside a function. The variable increments by 1 when the
function is called. The function is called and returns 3 times. What is the value of the variable on the
third function call and what is the value when it returns? Explain your answer.
ANS: As the integer is static outside the scope of the function, All the time the integer called will be the
same and the returned integer is static integer + 1.

6. Have you written scripts for automation? What language did you use?

No, I havnt written any automated scripts, but I am a quick learner.

7. Give an example of an out of scope variable.

ANS:

int a = 10;

void x(){

int a = 20; // here inside the function, a = 10 is OUT OF SCOPE.

8. Your manager has just given you Gadget 4.0, the newest product from Gadget Corp, and asks for
you to write a test plan for it. Youve never used a Gadget before. How would you begin writing a test
plan?

ANS:

1) Read/Get project documentations


2) Mapping out the main points.
3) Listing the use cases
4) Listing the cases for failure of a scenario
5) With the help of the above we write test scripts

9. You have just bought a new cell phone and would like to make sure that it works. You dont want
to spend more than five minutes checking your phone. What tests would you perform in this
timeframe?

ANS:

1) Device Speed Test.


2) Touchscreen Interactivity
3) Device Functionality
4) Simplicity
5) Device Battery Life.
6) GPS, Scanners.
10. Data is being sent between a device and a host. How would you ensure that data transfer
between the systems is in sync and that data is communicated reliably? Design and describe your
protocol which may exist on any layer or multiple layers.

ANS :

1) The upper layer formats and converts the information into data and sends it to the Transport Layer.

2) Then transport layer converts data into segments and also attaches header with each segment and
sends it to Network layer.

3) Network layer converts them into packets and adds logical addressing, then sends to Data link layer.

4) Data link layer converts then into frames then adds physical address and sends to Physical layer.

5) Physical layer then converts it into bits.

11. While testing a product, a defect is discovered. As part of your procedure, what would be your
next steps?

ANS :

1) To check if that defect is not already raised. If its already raised, we will give the same defect Id
or we can generate a new defect ID.
2) every defect has to be identified uniquely, so it will have a defect title. The defect log item should
have a name, a description, where it occurred, a snapshot and a severity
3) the root cause analysis. Ideally this is not the job of a tester. RCA is a very integral step of the
defect management process, but ideally we are not expected to do any root cause analysis

12. On a scale of 1 to 5 (5 being the highest), what is your knowledge level of Excel? What have you
used Excel for?

I am good at Excel, I will rate myself with 4 in a scale of 5. I have written test cases and stored in Excel,
Managed the Inputs of the test cases.

13. How many gallons of gasoline do you think New York City uses in a week? Clearly state all
assumptions that you are making. (Hint: Your answer should be an estimate. You should not compile
massive amounts of data to answer this question. Come up with a number using basic facts and
educated guesses.)

ANS:

We can analyze this by using the number of gas stations and gas consumers in that area(New York city).
So if there are 1500 gas stations in NY and about 2000 consumers for each station per day and each user
uses x amount of gasoline. We can calculate the gallons of gasoline used in a week in NY.

1500*2000*x*7 gallons of gasoline per week.

S-ar putea să vă placă și