Professional Documents
Culture Documents
Question 1 of 20
A.Design check
B.Requirement check
C.Technical check
D.Desk checking
Question 2 of 20
It is a review where the author lead team through a manual or a simulated execution of
the product using predefined scenarios
A.technical reviews
B.inspection
C.walkthrough
D.checklist
Question 3 of 20
Khi vit white box test case, ch cn vit y s lng test case tha statement coverage th
s test case tha iu kin branch coverage
True
False
Question 4 of 20
What are the items that have to have in unit test case
A. Input data
B. Test case description
C. Expected result
D. The actor that take the test
Question 5 of 20
}
return true;
}
on code trn cn t nht bao nhiu test case?"
A.5
B.7
C.8
D.6
Question 6 of 20
True
False
Question 7 of 20
A unit is the smallest testable part of an application (In procedural programming a unit may be
an individual program, function, procedure, etc., while in object-oriented programming, the
smallest unit is always a method)
True
False
Question 8 of 20
A. Anticipate that errors are most likely to exist at the boundaries between partitions
B. A limited number of representative test cases should be chosen from each partition
Question 9 of 20
The exact scope of a unit is left to interpretation. Supporting test code , sometimes called
., may be necessary to support an individual test.
A.All of above
B.Conjucture
C.RemUnit
D.Scaffolding
Question 10 of 20
The most common approach to unit testing require drivers and stubs to be written
True
False
Question 11 of 20
Question 12 of 20
True
False
Question 13 of 20
A.A method where boundary values are identified for the data entered into the system and
used as test data
B.A method where equivalence class border values are used as test data
C.A method of analysis for identifying input values that do not produce errors but are on
the borderline
D.A method of testing where boundary values that can be entered into the system are
analyzed
Question 14 of 20
A black box test is a type of testing technique used in software development. Which of the
following statements accurately describes a black box test?
A.A black box test is based on the internal specifications that describe the internal
structure and logic of the program. It is mainly performed by the program developer
him/herself.
B.The objective of a black box test is to execute all of the instructions in the program at
least once. It is mainly performed by the program developer him/herself.
C.A black box test analyzes the source program and tests program control flow and the
flow of data such as variables. It is mainly performed by third parties and not by the program
developer.
D.A black box test tests whether or not the program functions as the designer intended. It
is mainly performed by third parties and not by the program developer.
Question 15 of 20
A.Meeting list
B.Checklist
C.Minutes
D.Plan list
Question 16 of 20
True
False
Question 17 of 20
A.Technical
B.Design
C.Requirement
D.Process
Question 18 of 20
Unit Test should be conducted for each module (class or function) after code review has been
done
True
False
Question 19 of 20
.. Review. A review process that uses peer to review that aspect of the systems
development life cycle with wich they are the most familiar. Typically the reviews offer
compliance to standard, procedures, guidelines, and the use of good practices, as opposed to
efficiency, effectiveness, and economy of the design and implementation
A.Technical
B.Peer
C.Requirement
D.Design
Question 20 of 20
Unit Testing is to validate that individual units of software program are working properly.
True
False
Question 1 of 20
What's is "Decision coverage" ?
Question 2 of 20
The two major quality assurance verification approaches for each life cycle phase are
A.Technical check
B.Requirement check
C.Technical review
D.Design check
Question 3 of 20
Unit test is implemented by Development team to
Question 4 of 20
Which of the following is the appropriate description concerning standardization in programming?
A.It is effective for clarifying the standard execution time of a program to promote the
creation of efficient programs.
B.Its purpose is to define rules about common items that are independent of programming
languages.
C.Its original purpose is not to limit an individual programming style, but to easily
achieve the effect of optimization provided by a compiler.
D.Defining programming conventions is effective for preventing errors that programmers
tend to make.
Question 5 of 20
"The below function calculate square of number
A.3
B.2
C.4
D.1
Question 6 of 20
To ensure testing robustness and simplify maintenance, test should never rely on other test nor should
they depend on the ordering in wich test are executed?
True
False
5.0/ 5.0 Points
Question 7 of 20
Unit Test should be conducted for each module (class or function) after code review has been done
True
False
Question 8 of 20
"Unit Testing Deliverables bao gm
- Tested software units
- Related documents (Unit Test case, Unit Test Report)"
True
False
5.0/ 5.0 Points
Question 9 of 20
Which of the following is the appropriate point to focus when preparing test data for a white box test?
Question 10 of 20
"public bool ValidPassword(string password)
{
bool validPassword = false;
// Check valid password length
A.3
B.5
C.6
D.4
Question 11 of 20
Bc Equivalence partitioning ca Black Box Test bao gm nhng vic no sau y
Question 12 of 20
The exact scope of a unit is left to interpretation. Supporting test code , sometimes called ., may
be necessary to support an individual test.
A.Conjucture
B.Scaffolding
C.All of above
D.RemUnit
Question 13 of 20
uncoupled, uncohesive
A.uncoupled, cohesive
B.decoupled, cohesive
C.uncoupled, uncohesive
D.decohesive, coupled
0.0/ 5.0 Points
Question 14 of 20
Unit test should be written without explicit knowledge of the environment context in wich they are
executed co that they can be run anywhere at anytime
True
False
Question 15 of 20
"Cho on code sau :
public bool ValidateEmail(string strEmail)
{
//Check null or empty
if (string.IsNullOrEmpty(strEmail))
{
return false;
}
//Check required character
bool blnRequireChar = false;
A.No
B.Yes
Question 16 of 20
"There are two types of unit test case:
Black box unit test case and White box unit test case"
True
False
5.0/ 5.0 Points
Question 17 of 20
What types of errors are missed by black box and testing and can be uncovered by white box testing?
A."behavioral errors
"
Question 18 of 20
A black box test is a type of testing technique used in software development. Which of the following
statements accurately describes a black box test?
A.A black box test tests whether or not the program functions as the designer intended. It
is mainly performed by third parties and not by the program developer.
B.A black box test analyzes the source program and tests program control flow and the
flow of data such as variables. It is mainly performed by third parties and not by the program
developer.
C.The objective of a black box test is to execute all of the instructions in the program at
least once. It is mainly performed by the program developer him/herself.
D.A black box test is based on the internal specifications that describe the internal
structure and logic of the program. It is mainly performed by the program developer
him/herself.
0.0/ 5.0 Points
Question 19 of 20
When software is developed using a test driven-approach, the unit test may take a place of .. Each
unit test can be seen as a design element specifying classes, method and observable behavior.
A.unique design
B.informal design
C.both A & B
D.formal design
Question 20 of 20
What are the items that have to have in unit test case
____HCMUT_013_CSD_02_Quiz3_Unit Testing
Return to Assessment List
Part 1 of 1 -
A.Scaffolding
B.Conjucture
C.RemUnit
D.All of above
5.0/ 5.0 Points
reviews: Review conducted during the system development process, normally in
arccodance with system development methodology. The primary objective of design reviewes
is to ensure compliance to design methodology.
Question 2 of 20
A.Requirement
B.Technical
C.Design
D.Process
5.0/ 5.0 Points
White Box Test phi m bo hon thnh cc yu cu no sau y?
Question 3 of 20
A.Generally, test cases are created and executed by dedicated testing staff, not
programmers who have done the coding.
B.Verification should be performed, in principle, using test cases which cover all the
logic paths at least once while reviewing the module design documents.
C.The module interface falls outside the scope of the unit test because the module
interface cannot be tested using a single module.
D.The module design documents have already been verified. If a problem is found in the
test results, an error exists in the test case or the module.
5.0/ 5.0 Points
Unit Test should be conducted for each module (class or function) after code review has been
done
Question 5 of 20
True
False
5.0/ 5.0 Points
The most common approach to unit testing require drivers and stubs to be written
Question 6 of 20
True
False
5.0/ 5.0 Points
Regardless of whether a review is called an inspection or a walkthrough, it is a systematic
approach to examining source code in detail
Question 7 of 20
True
False
5.0/ 5.0 Points
The two major quality assurance verification approaches for each life cycle phase are
Question 8 of 20
A.Requirement check
B.Design check
C.Technical review
D.Technical check
5.0/ 5.0 Points
What types of errors are missed by black box and testing and can be uncovered by white box
testing?
Question 9 of 20
A."behavioral errors
"
B."subtle logic errors
"
C.input errors
D."performance errors
"
Question 10 of 20
uncoupled, uncohesive
A.decoupled, cohesive
B.uncoupled, uncohesive
C.uncoupled, cohesive
D.decohesive, coupled
5.0/ 5.0 Points
Technical review are more .. That is, they aim to remove defects as soon as possible.
Question 11 of 20
A.Preventive
B.Objective
C.Subjective
D.Descriptive
5.0/ 5.0 Points
Khi vit white box test case, ch cn vit y s lng test case tha path coverage th s
test case tha iu kin branch coverage
Question 12 of 20
True
False
Question 13 of 20
A. technical reviews
B. inspection
C. checklist
D. walkthrough
Question 15 of 20
True
False
3.33/ 5.0 Points
Please select the test case design techniques that used to create unit test spec
Question 17 of 20
True
False
5.0/ 5.0 Points
A black box test is a type of testing technique used in software development. Which of the
following statements accurately describes a black box test?
Question 19 of 20
A.A black box test tests whether or not the program functions as the designer intended. It
is mainly performed by third parties and not by the program developer.
B.A black box test is based on the internal specifications that describe the internal
structure and logic of the program. It is mainly performed by the program developer
him/herself.
C.The objective of a black box test is to execute all of the instructions in the program at
least once. It is mainly performed by the program developer him/herself.
D.A black box test analyzes the source program and tests program control flow and the
flow of data such as variables. It is mainly performed by third parties and not by the program
developer.
5.0/ 5.0 Points
.. Review. A review process that uses peer to review that aspect of the systems
development life cycle with wich they are the most familiar. Typically the reviews offer
compliance to standard, procedures, guidelines, and the use of good practices, as opposed to
efficiency, effectiveness, and economy of the design and implementation
Question 20 of 20
A.Requirement
B.Design
C.Technical
D.Peer
____HCMUT_013_CSD_02_Quiz3_Unit Testing
Return to Assessment List
Part 1 of 1 -
True
False
5.0/ 5.0 Points
"The below function calculate square of number
Question 4 of 20
A.1
B.3
C.2
D.4
5.0/ 5.0 Points
Which of the following is the appropriate point to focus when preparing test data for a white
box test?
Question 5 of 20
A.Boundary value for each equivalence class obtained through the application of
equivalence partitioning
B.Program functions
C.Program input and output relationship
D.Program internal structure such as algorithm
A.Requirement
B.Technical
C.Design
D.Process
5.0/ 5.0 Points
Bc Specification derived test ca Black Box Test bao gm nhng vic no sau y
Question 7 of 20
A. Execute test cases to check test result will output as the specification
B. Test the software at either side of boundary values
C. Create test cases for each statements of specification
D. Divide the input of a program into classes of data from which test cases can be
derived. This might help you to reduce number of test cases that must be developed.
5.0/ 5.0 Points
Please select the test case design techniques that used to create unit test spec
Question 8 of 20
A. Expected result
B. Input data
C. The actor that take the test
D. Test case description
0.0/ 5.0 Points
Internal and unit testing can be automated with the help of .. Tools.
Question 11 of 20
A.testing
B.coverage
C.scaffolding
D.none
Question 12 of 20
True
False
0.0/ 5.0 Points
Which of the following is appropriate as a description of boundary value analysis?
Question 13 of 20
A.A method of analysis for identifying input values that do not produce errors but are on
the borderline
B.A method where boundary values are identified for the data entered into the system
and used as test data
C.A method where equivalence class border values are used as test data
D.A method of testing where boundary values that can be entered into the system are
analyzed
Question 14 of 20
A.Developers
B.Customer
C.project manager
D.Tester
Question 15 of 20
A.Customer
B.Developers
C.project manager
D.Tester
0.0/ 5.0 Points
Which of the following is the appropriate description concerning black box testing?
Question 16 of 20
A.project manager
B.Developers
C.Tester
D.Customer
Question 18 of 20
A. Condition analysis
B. Specification derived tests
C. Boundary value analysis
D. Equivalence partitioning
5.0/ 5.0 Points
. A series of probing question designed to review a predetermined area or function
Question 20 of 20
A.Meeting list
B.Plan list
C.Checklist
D.Minutes
____HCMUT_013_CSD_02_Quiz3_Unit Testing
Return to Ass ess ment List
Part 1 of 1 -
Question 1 of 20
Black box testing attempts to find errors in which of the following categories:
A. performance errors
B. interface errors
C. incorrect or missing functions
Question 2 of 20
The two major quality assurance verification approaches for each life cycle phase are
A.Technical check
B.Technical review
C.Requirement check
D.Design check
Question 3 of 20
Please select the test case design techniques that used to create unit test spec
A. Condition testing
Question 4 of 20
Question 5 of 20
A.3
B.4
C.1
D.2
Question 6 of 20
Which of the following is the appropriate point to focus when preparing test data for a white
box test?
A.Program functions
B.Boundary value for each equivalence class obtained through the application of
equivalence partitioning
C.Program internal structure such as algorithm
D.Program input and output relationship
Question 7 of 20
A.Customer
B.Developers
C.Tester
D.project manager
Question 8 of 20
Question 9 of 20
What are the items that have to have in unit test case
Question 10 of 20
Question 11 of 20
A. "Statement coverage
"
B. Decision (branch) coverage
C. Path coverage
D. Boundary value coverage
Question 12 of 20
The testing technique that requires devising test cases to demonstrate that each program
function is operational is called
Question 13 of 20
A unit is the smallest testable part of an application (In procedural programming a unit may be
an individual program, function, procedure, etc., while in object-oriented programming, the
smallest unit is always a method)
True
False
Question 14 of 20
Unit test should be written without explicit knowledge of the environment context in wich they
are executed co that they can be run anywhere at anytime
True
False
Question 15 of 20
A.A method where boundary values are identified for the data entered into the system
and used as test data
B.A method of testing where boundary values that can be entered into the system are
analyzed
C.A method where equivalence class border values are used as test data
D.A method of analysis for identifying input values that do not produce errors but are on
the borderline
Question 16 of 20
When software is developed using a test driven-approach, the unit test may take a place of
.. Each unit test can be seen as a design element specifying classes, method and
observable behavior.
A.both A & B
B.informal design
C.unique design
D.formal design
Question 17 of 20
A.Technical check
B.Desk checking
C.Requirement check
D.Design check
Question 18 of 20
True
False
Question 19 of 20
A.Developers
B.project manager
C.Tester
D.Customer
Question 20 of 20
____HCMUT_013_CSD_02_Quiz3_Unit Testing
Return to Ass ess ment List
Part 1 of 1 -
Question 1 of 20
Unit Test should be conducted for each module (class or function) after code review has been
done
True
False
Question 2 of 20
}
}
//Check incorrect character
for (int i = 0; i < strEmail.Length; i++)
{
if (char.IsLetterOrDigit(strEmail[i]))
{
continue;
}
else if(char.Equals('.',strEmail[i]) || char.Equals('@',strEmail[i]))
{
continue;
}
else
{
return false;
}
}
return true;
}
on code trn cn t nht bao nhiu test case?"
A.8
B.7
C.6
D.5
Question 3 of 20
A.Technical check
B.Desk checking
C.Requirement check
D.Design check
Question 4 of 20
A.Yes
B.No
Question 5 of 20
A black box test is a type of testing technique used in software development. Which of the
following statements accurately describes a black box test?
A.A black box test is based on the internal specifications that describe the internal
structure and logic of the program. It is mainly performed by the program developer
him/herself.
B.A black box test tests whether or not the program functions as the designer intended. It
is mainly performed by third parties and not by the program developer.
C.A black box test analyzes the source program and tests program control flow and the
flow of data such as variables. It is mainly performed by third parties and not by the program
developer.
D.The objective of a black box test is to execute all of the instructions in the program at
least once. It is mainly performed by the program developer him/herself.
Question 6 of 20
A. Anticipate that errors are most likely to exist at the boundaries between partitions
B. Divide the input of a program into classes of data from which test cases can be
derived. This might help you to reduce number of test cases that must be developed.
C. A limited number of representative test cases should be chosen from each partition
D. Behavior of software is equivalent for any value within particular partition
Question 7 of 20
Question 8 of 20
True
False
Question 9 of 20
True
False
Question 10 of 20
The goal of unit testing is to isolate each part of the program and show that the individual parts
are correctly?
True
False
Question 11 of 20
A.Customer
B.Developers
C.Tester
D.project manager
Question 12 of 20
Khi vit white box test case, ch cn vit y s lng test case tha path coverage th s
test case tha iu kin branch coverage
True
False
Question 13 of 20
A.Tester
B.Customer
C.Developers
D.project manager
Question 14 of 20
Question 15 of 20
A. technical reviews
B. checklist
C. inspection
D. walkthrough
Question 16 of 20
Bc Specification derived test ca Black Box Test bao gm nhng vic no sau y
Question 17 of 20
A. Performance test
B. regression test
C. Load test
D. Security test
Question 18 of 20
What are the items that have to have in unit test case
Question 19 of 20
Question 20 of 20
True
False
____HCMUT_013_CSD_02_Quiz3_Unit Testing
Return to Ass ess ment List
Part 1 of 1 -
Question 1 of 20
A.Tester
B.Customer
C.Developers
D.project manager
Question 2 of 20
Question 3 of 20
A.The module design documents have already been verified. If a problem is found in the
test results, an error exists in the test case or the module.
B.Verification should be performed, in principle, using test cases which cover all the
logic paths at least once while reviewing the module design documents.
C.The module interface falls outside the scope of the unit test because the module
interface cannot be tested using a single module.
D.Generally, test cases are created and executed by dedicated testing staff, not
programmers who have done the coding.
Question 4 of 20
Internal and unit testing can be automated with the help of .. Tools.
A.testing
B.coverage
C.scaffolding
D.none
Question 5 of 20
When software is developed using a test driven-approach, the unit test may take a place of
.. Each unit test can be seen as a design element specifying classes, method and
observable behavior.
A.both A & B
B.informal design
C.unique design
D.formal design
Question 6 of 20
Technical review are more .. That is, they aim to remove defects as soon as possible.
A.Objective
B.Subjective
C.Descriptive
D.Preventive
Question 7 of 20
The exact scope of a unit is left to interpretation. Supporting test code , sometimes called
., may be necessary to support an individual test.
A.Scaffolding
B.Conjucture
C.RemUnit
D.All of above
Question 8 of 20
To ensure testing robustness and simplify maintenance, test should never rely on other test nor
should they depend on the ordering in wich test are executed?
True
False
Question 9 of 20
A unit is the smallest testable part of an application (In procedural programming a unit may be
an individual program, function, procedure, etc., while in object-oriented programming, the
smallest unit is always a method)
True
False
Question 10 of 20
A.A method where boundary values are identified for the data entered into the system
and used as test data
B.A method of testing where boundary values that can be entered into the system are
analyzed
C.A method where equivalence class border values are used as test data
D.A method of analysis for identifying input values that do not produce errors but are on
the borderline
Question 11 of 20
Question 12 of 20
A black box test is a type of testing technique used in software development. Which of the
following statements accurately describes a black box test?
A.A black box test is based on the internal specifications that describe the internal
structure and logic of the program. It is mainly performed by the program developer
him/herself.
B.A black box test tests whether or not the program functions as the designer intended. It
is mainly performed by third parties and not by the program developer.
C.A black box test analyzes the source program and tests program control flow and the
flow of data such as variables. It is mainly performed by third parties and not by the program
developer.
D.The objective of a black box test is to execute all of the instructions in the program at
least once. It is mainly performed by the program developer him/herself.
Question 13 of 20
True
False
Question 14 of 20
Question 15 of 20
Bc Specification derived test ca Black Box Test bao gm nhng vic no sau y
Question 16 of 20
The most common approach to unit testing require drivers and stubs to be written
True
False
Question 17 of 20
The two major quality assurance verification approaches for each life cycle phase are
A.Technical check
B.Technical review
C.Requirement check
D.Design check
Question 18 of 20
A.3
B.4
C.1
D.2
Question 19 of 20
Question 20 of 20
The testing technique that requires devising test cases to demonstrate that each program
function is operational is called
Part 1 of 1 -
True
False
5.0/ 5.0 Points
Question 2 of 20
A. Security test
B. Load test
C. regression test
D. Performance test
A.A method where boundary values are identified for the data entered into the system and
used as test data
B.A method where equivalence class border values are used as test data
C.A method of analysis for identifying input values that do not produce errors but are on the
borderline
D.A method of testing where boundary values that can be entered into the system are
analyzed
When software is developed using a test driven-approach, the unit test may take a place of .. Each
unit test can be seen as a design element specifying classes, method and observable behavior.
A.informal design
B.both A & B
C.unique design
D.formal design
Khi vit white box test case, ch cn vit y s lng test case tha statement coverage th s test
case tha iu kin branch coverage
True
False
5.0/ 5.0 Points
Question 6 of 20
A black box test is a type of testing technique used in software development. Which of the following
statements accurately describes a black box test?
A.A black box test is based on the internal specifications that describe the internal structure
and logic of the program. It is mainly performed by the program developer him/herself.
B.The objective of a black box test is to execute all of the instructions in the program at least
once. It is mainly performed by the program developer him/herself.
C.A black box test analyzes the source program and tests program control flow and the flow of
data such as variables. It is mainly performed by third parties and not by the program developer.
D.A black box test tests whether or not the program functions as the designer intended. It is
mainly performed by third parties and not by the program developer.
return true;
}
on code trn cn t nht bao nhiu test case?"
A.5
B.7
C.8
D.6
A.Meeting list
B.Checklist
C.Minutes
D.Plan list
reviews: Review conducted during the system development process, normally in arccodance
with system development methodology. The primary objective of design reviewes is to ensure
compliance to design methodology.
A.Technical
B.Design
C.Requirement
D.Process
A.4
B.5
C.3
D.6
Black box testing attempts to find errors in which of the following categories:
B. performance errors
C. interface errors
A. Equivalence partitioning
B. Condition analysis
Unit Testing is to validate that individual units of software program are working properly.
True
False
1.67/ 5.0 Points
Question 14 of 20
B. Path coverage
C. "Statement coverage
"
Which of the following is the appropriate description concerning black box testing?
A.The test case coverage is used as criteria for preparing test data.
C.If branch instructions and modules increase in number, the amount of test data also leaps
upward.
Technical review are more .. That is, they aim to remove defects as soon as possible.
A.Objective
B.Descriptive
C.Subjective
D.Preventive
What are the items that have to have in unit test case
A. Input data
C. Expected result
To ensure testing robustness and simplify maintenance, test should never rely on other test nor
should they depend on the ordering in wich test are executed?
True
False