Professional Documents
Culture Documents
326506066 test 3 phần CNU PDF
326506066 test 3 phần CNU PDF
Các best practice của giai đoạn Perform unit testing bao gồm
Question 67
What's is "Decision coverage" ?
Question 68
Internal and unit testing can be automated with the help of ….. Tools.
A. testing
B. coverage
C. scaffolding
D. none
Question 68
Bước Equivalence partitioning của Black Box Test bao gồm những việc
nào sau đây
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.
partition
Question 69
The System test performed by
A. project manager
B. Customer
C. Tester
D. Developers
Question 69
What types of errors are missed by black box and testing and can be
uncovered by white box testing?
A. performance errors
B. behavioral errors
D. input errors
Question 70
A main focus of reviews and other static test is …..
Question 71 =
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. All of above
C. Conjucture
D. RemUnit
Question 72
Choose valid test types :
A.Load test
B.Performance test
C.regression test
D.Security test
Question 73
The Acceptance test perform by
A. Developers
B. Tester
C. Customer
D. project manager
Question 74
Which of the following is appropriate as a description of boundary value
analysis?
data
Question 75
Khi viết white box test case, chỉ cần viết đầy đủ số lượng test case thỏa
path coverage thì số test case đó đã thỏa điều kiện branch coverage
True
False
Question 76
Khi viết white box test case, chỉ cần viết đầy đủ số lượng test case thỏa
statement coverage thì số test case đó đã thỏa điều kiện branch
coverage
True
False
Question 77
Technical review are more …….. That is, they aim to remove defects as
soon as possible.
A. Descriptive
B. Objective
C. Preventive
D. Subjective
Question 78
Please select the test case design techniques that used to create unit test
spec
A.Condition testing
B.Internal boundary value testing
C.Branch Testing
Question 79
Unit test is implemented by Development team to
Question 80
………It is a review where the author lead team through a manual or a
simulated execution of the product using predefined scenarios
A. checklist
B. inspection
C. technical reviews
D. walkthrough
Question 81
White Box Test phải đảm bảo hoàn thành các yêu cầu nào sau đây?
B.Path coverage
D.Statement coverage
Question 81
Which of the following is an appropriate statement in regard to a module
unit test?
problem is found in the test results, an error exists in the test case or the
module.
which cover all the logic paths at least once while reviewing the module
design documents.
D. The module interface falls outside the scope of the unit test
Question 82
Which of the following is the appropriate description concerning
standardization in programming?
A. Its purpose is to define rules about common items that are
A. 5
B. 6
C. 8
D. 7
Question 85
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. formal design
C. unique design
D. both A & B
Question 86
……. A series of probing question designed to review a predetermined
area or function
A. Minutes
B. Meeting list
C. Checklist
D. Plan list
Question 87
………. Developer reviews code for accuracy
A. Design check
B. Requirement check
C. Technical check
D. Desk checking
Question 88 8
Regardless of whether a review is called an inspection or a
walkthrough, it is a systematic approach to examining source code in
detail
Tru
e
Fal
se
Question 89
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 90
There are two types of unit test case:
Black box unit test case and White box unit test case
True
False
Question 91
Unit Testing Conductor là Testing team
True
False
Question 93
Unit Testing is to validate that individual units of software program are
working properly.
True
False
Question 94
Unit Test should be conducted for each module (class or function) after
code review has been done
True
Fals
Question 95
Unit Testing Deliverables bao gồm
- Tested software units
- Related documents (Unit Test case, Unit Test Report)
True
False
Question 96
The goal of unit testing is to isolate each part of the program and show
that the individual parts are correctly?
True
Fals
Question 97
Black box testing attempts to find errors in which of the following
categories:
A.performance errors
B.interface errors
Question 98
The unit testing performed by
A. Customer
B. Tester
C. project manager
D. Developers
Question 99
The below function calculate square of number
A. 1
B. 2
C. 3
D. 4
Question 100
As a consequence, unit testing is traditionally a motivator for
programmers to create ………. And …………. Code bodies. This
practice promotes healthy habits in software development.
A. uncoupled, cohesive
B. decohesive, coupled
C. decoupled, cohesive
D. uncoupled, uncohesive
Question 101
Bước Specification derived test của Black Box Test bao gồm những việc
nào sau đây
specification
C.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.
Question 102
Which of the following is the appropriate description concerning black
box testing?
C. The test case coverage is used as criteria for preparing test data.
be detected.
Question 103
public bool ValidPassword(string password) {
bool validPassword = false;
// Check valid password length
if(IsValidLength(password, minLength, maxLength)) {
validPassword = true;
// Check valid password mix between lowcase and upcase
if(!IsMixedCase(password))
return false;
// Check valid password mix between alpha & numeric
if(!IsAphaNumeric(password))
return false;
}
return validPassword;
}
How many unit test cases you must do to check this function to cover all
path!
A. 4
B. 6
C. 5
D. 3
Question 104
Black Box Test bao gồm
A.Condition analysis
C.Equivalence partitioning