Podcast
Questions and Answers
Refers to a testing phase wherein software testing is performed to test if individual units of source code are fit for use. This is usually performed by programmers and stubs and test drivers are created.
Select one:
Refers to a testing phase wherein software testing is performed to test if individual units of source code are fit for use. This is usually performed by programmers and stubs and test drivers are created. Select one:
How many test cases do you need to ensure 100% branch coverage of the following pseudo code:
Integer X;
Integer Y;
IF X > Y
PRINT "X is greater than Y";
ENDIF
How many test cases do you need to ensure 100% branch coverage of the following pseudo code: Integer X; Integer Y; IF X > Y PRINT "X is greater than Y"; ENDIF
Which whitebox-testing method is defined by this statement: Enough test cases are created to check each decision at least once.
Which whitebox-testing method is defined by this statement: Enough test cases are created to check each decision at least once.
You were asked to create test data to implement boundary value analysis technique. The particular feature you're testing will only accept values between 1 to 1,000,000. Which test data would you create?
Select one:
You were asked to create test data to implement boundary value analysis technique. The particular feature you're testing will only accept values between 1 to 1,000,000. Which test data would you create? Select one:
Signup and view all the answers
Refers to a testing phase in which individual software modules/components are built and combined to produce the software product and resulting software product is tested.
Refers to a testing phase in which individual software modules/components are built and combined to produce the software product and resulting software product is tested.
Signup and view all the answers
How many test cases do you need to test this pseudo code if using the Multiple Condition Decision Coverage technique:
IF (A or B)
PRINT C;
ENDIF
How many test cases do you need to test this pseudo code if using the Multiple Condition Decision Coverage technique: IF (A or B) PRINT C; ENDIF
Signup and view all the answers
Which of the following is the definition of a statement coverage, a method in white-box testing ?
Which of the following is the definition of a statement coverage, a method in white-box testing ?
Signup and view all the answers
Which black-box testing is being referred to by the statement Test cases are created by using business scenarios or the process flows through a system based on its actual likely use. Most useful to uncover defects during real-world use of the system.
Which black-box testing is being referred to by the statement Test cases are created by using business scenarios or the process flows through a system based on its actual likely use. Most useful to uncover defects during real-world use of the system.
Signup and view all the answers
Which activities are not performed during test specification creation?
Which activities are not performed during test specification creation?
Signup and view all the answers
Which black-box testing is being referred to by the statement A technique used to achieve input and output coverage by dividing a system into groups that are expected to exhibit similar behavior so they are likely to be processed in the same way.
Which black-box testing is being referred to by the statement A technique used to achieve input and output coverage by dividing a system into groups that are expected to exhibit similar behavior so they are likely to be processed in the same way.
Signup and view all the answers
Which of the following activities are performed by the developer during debugging?
Which of the following activities are performed by the developer during debugging?
Signup and view all the answers
What is the cause of software defects?
What is the cause of software defects?
Signup and view all the answers
Why is it not a good idea to use the same test repeatedly?
Why is it not a good idea to use the same test repeatedly?
Signup and view all the answers
Refers to a performance testing to check system's behavior, operability and stability in overload.
Refers to a performance testing to check system's behavior, operability and stability in overload.
Signup and view all the answers
A function or method receives an integer parameter Month and only accepts the values 1-12. Which test case would you use to test the function or method?
A function or method receives an integer parameter Month and only accepts the values 1-12. Which test case would you use to test the function or method?
Signup and view all the answers
Which of the following DOES NOT describe black-box testing?
Which of the following DOES NOT describe black-box testing?
Signup and view all the answers
Which of the following is the definition of a path coverage, a method in white-box testing ?
Which of the following is the definition of a path coverage, a method in white-box testing ?
Signup and view all the answers
When you want to create a test spec that tests for different outputs from multiple input conditions, which testing technique would be best?
When you want to create a test spec that tests for different outputs from multiple input conditions, which testing technique would be best?
Signup and view all the answers
You've created a web form to submit employee details to the database. You've tested all fields except Zip Code. This is a mandatory field, and the user input cannot be greater than five digits. Using the error guessing technique, what defects can you find in this application?
You've created a web form to submit employee details to the database. You've tested all fields except Zip Code. This is a mandatory field, and the user input cannot be greater than five digits. Using the error guessing technique, what defects can you find in this application?
Signup and view all the answers
How many test cases do you need to ensure 100% statement coverage of the following pseudo code:
Integer X;
Integer Y;
IF X > Y
PRINT "X is greater than Y";
ENDIF
How many test cases do you need to ensure 100% statement coverage of the following pseudo code: Integer X; Integer Y; IF X > Y PRINT "X is greater than Y"; ENDIF
Signup and view all the answers
You are responsible for creating a state transition table for a security lamp. The lamp is off when there is enough light for a person to see the room or when it has reached a pre-set delay after it has been activated when it detects movement in the dark. The pre-set delay is only active when the room is dark. After making the transition table below, which rows are incorrect test cases?
Current State Event Next State
a Off Room becomes dark On
b On Room becomes bright Off
c On Timer reached pre-set delay during the day Off
d Off Room is dark & sensor detected movement On
e On Room is dark & sensor stopped detecting movement Off
You are responsible for creating a state transition table for a security lamp. The lamp is off when there is enough light for a person to see the room or when it has reached a pre-set delay after it has been activated when it detects movement in the dark. The pre-set delay is only active when the room is dark. After making the transition table below, which rows are incorrect test cases? Current State Event Next State a Off Room becomes dark On b On Room becomes bright Off c On Timer reached pre-set delay during the day Off d Off Room is dark & sensor detected movement On e On Room is dark & sensor stopped detecting movement Off
Signup and view all the answers
Use case documents are best used in which testing activities?
Use case documents are best used in which testing activities?
Signup and view all the answers
Which of the following techniques is NOT a White Box technique?
Which of the following techniques is NOT a White Box technique?
Signup and view all the answers
You have been asked to make a test case specification based on a use case document. Which of the following parts should the test case specification have at a minimum?
Select one or more:
You have been asked to make a test case specification based on a use case document. Which of the following parts should the test case specification have at a minimum? Select one or more:
Signup and view all the answers
Refers to a type of testing that checks the stability of the software and its readiness for a major testing effort.
Refers to a type of testing that checks the stability of the software and its readiness for a major testing effort.
Signup and view all the answers
Which black-box testing is being referred to by the statement Test specs are created by analyzing the specifications and conditions and actions of the system are identified. The input conditions and actions are most often stated in such a way that they can either be true or false (boolean).
Which black-box testing is being referred to by the statement Test specs are created by analyzing the specifications and conditions and actions of the system are identified. The input conditions and actions are most often stated in such a way that they can either be true or false (boolean).
Signup and view all the answers
Which of the following best describes Testing?
Which of the following best describes Testing?
Signup and view all the answers
Is it possible to test every possible combination and scenarios of the system ?
Is it possible to test every possible combination and scenarios of the system ?
Signup and view all the answers
Which of the following is NOT a benefit or objective of testing ?
Which of the following is NOT a benefit or objective of testing ?
Signup and view all the answers
Which of the following is NOT a consideration in State Transition testing ?
Which of the following is NOT a consideration in State Transition testing ?
Signup and view all the answers
Performance Testing can only be performed if performance values has been defined during requirements analysis. True or false?{
Performance Testing can only be performed if performance values has been defined during requirements analysis. True or false?{
Signup and view all the answers
Which describes a mistake?
Which describes a mistake?
Signup and view all the answers
Which of the following is NOT true for white-box testing ?
Which of the following is NOT true for white-box testing ?
Signup and view all the answers
Refers to a performance testing to check system's behavior, operability and stability in high load.
Refers to a performance testing to check system's behavior, operability and stability in high load.
Signup and view all the answers
Which black-box testing is being referred to by the statement A test case created wherein input conditions are determined by identifying valid and invalid ranges of inputs to a function or system.
Select one:
Which black-box testing is being referred to by the statement A test case created wherein input conditions are determined by identifying valid and invalid ranges of inputs to a function or system. Select one:
Signup and view all the answers