Hiểu biết của bạn về Software Testing? Mock Test và lý giải chi tiết
Bài đăng này đã không được cập nhật trong 3 năm
Cùng kiểm tra hiểu biết của bạn về Software Testing qua Mock Test dưới đây.
Sau đó hãy đối chiếu đáp án với dẫn chứng cho đáp án đi kèm bên dưới nhé ^^
Q #1) Verification is:
a. Checking that we are building the right system
b. Checking that we are building the system right
c. Performed by an independent test team
d. Making sure that it is what the user really wants
Q #2) A regression test:
a. Will always be automated
b. Will help ensure unchanged areas of the software have not been affected
c. Will help ensure changed areas of the software have not been affected
d. Can only be run during user acceptance testing
Q #3) If an expected result is not specified then:
a. We cannot run the test
b. It may be difficult to repeat the test
c. It may be difficult to determine if the test has passed or failed
d. We cannot automate the user inputs
Q #4) Which of the following could be a reason for failure:
- Testing fault
- Software fault
- Design fault
- Environment Fault
- Documentation Fault
a. 2 is a valid reason; 1,3,4 & 5 are not
b. 1,2,3,4 are valid reasons; 5 is not
c. 1,2,3 are valid reasons; 4 & 5 are not
d. All of them are valid reasons for failure
Q #5) Test are prioritized so that:
a. You shorten the time required for testing
b. You do the best testing in the time available
c. You do more effective testing
d. You find more faults
Q #6) Which of the following is not a static testing technique:
a. Error guessing
b. Walkthrough
c. Data flow analysis
d. Inspections
Q #7) Which of the following statements about component testing is not true?
a. Component testing should be performed by development
b. Component testing is also known as isolation or module testing
c. Component testing should have completion criteria planned
d. Component testing does not involve regression testing
Q #8) During which test activity could fault be found most cost-effectively?
a. Execution
b. Design
c. Planning
d. Check Exit criteria completion
Q #9) Which, in general, is the least required skill of a good tester?
a. Being diplomatic
b. Able to write software
c. Having good attention to detail
d. Able to be relied on
Q #10)The purpose of the requirement phase is :
a. To freeze requirements
b. To understand user needs
c. To define the scope of testing
d. All of the above
Q #11) The process starting with the terminal modules is called –
a. Top-down integration
b. Bottom-up integration
c. None of the above
d. Module integration
Q #12) The inputs for developing a test plan are taken from :
a. Project plan
b. Business plan
c. Support plan
d. None of the above
Q #13) Function/Test matrix is a type of :
a. Interim Test report
b. Final test report
c. Project status report
d. Management report
Q #14) Defect Management process does not include:
a. Defect prevention
b. Deliverable base-lining
c. Management reporting
d. None of the above
Q #15) What is the difference between testing software developed by contractor outside your country, versus testing software developed by a contractor within your country?
a. Does not meet people needs
b. Cultural difference
c. Loss of control over reallocation of resources
d. Relinquishments of control
Q #16) Software Testing accounts for what percent of software development costs?
a. 10-20
b. 40-50
c. 70-80
d. 5-10
Q #17) A reliable system will be one that:
a. Is unlikely to be completed on schedule
b. Is unlikely to cause a failure
c. Is likely to be fault-free
d. Is likely to be liked by the users
Q #18) How much testing is enough:
a. This question is impossible to answer
b. The answer depends on the risks for your industry, contract and special requirements
c. The answer depends on the maturity of your developers
d. The answer should be standardized for the software development industry
Q #19) Which of the following is not a characteristic for Testability?
a. Operability
b. Observability
c. Simplicity
d. Robustness
Q #20) Cyclomatic Complexity method comes under which Testing method:
a. White box
b. Black box
c. Green box
d. Yellow box
Q #21) Which of these can be successfully tested using Loop Testing methodology?
a. Simple Loops
b. Nested Loops
c. Concatenated Loops
d. All of the above
Q #22) To test a function, the programmer has to write a ______, which calls the function and passes it test data.
a. Stub
b. Driver
c. Proxy
d. None of the above
Q #23) Equivalence partitioning is:
a. A black box testing technique used only by developers
b. A black box testing technique than can only be used during system testing
c. A black box testing technique appropriate to all levels of testing
d. A white box testing technique appropriate for component testing
Q #24) When a new testing tool is purchased, it should be used first by:
a. A small team to establish the best way to use the tool
b. Everyone who may eventually have some use for the tool
c. The independent testing team
d. The vendor contractor to write the initial scripts
Q #25) Inspections can find all the following except:
a. Variables not defined in the code
b. Spelling and grammar faults in the documents
c. Requirements that have been omitted from the design documents
d. How much of the code has been covered
Q # | Đáp án | Lý giải chi tiết |
---|---|---|
1 | b. Checking that we are building the system right | Verification confirms that work products properly reflect the requirements specified for them. Did we build the system right? Validation check whether a function needed and expected by customers is present in a software product. Did we build the right system, appropriate, fit-for-use? |
2 | b. Will help ensure unchanged areas of the software have not been affected | Re-tested to confirm that the original defect has been successfully removed. This is called confirmation Regression testing is the repeated testing of an already tested program, after modification, to discover and defects introduced or uncovered as result of the change(s). |
3 | c. It may be difficult to determine if the test has passed or failed | A test case consists of a set of input values, execution preconditions, expected results and execution postconditions, defined to cover a certain test objective(s) or test conditions |
4 | d. All of them are valid reasons for failure | Failure: a behavioral deviation from user requirement or product specification Errors 🡪 Faults 🡪 Failures 🡪Use the term |
5 | b. You do the best testing in the time available | - |
6 | a. Error guessing | Experience based Techniques |
7 | d. Component testing does not involve regression testing | Regression testing is the repeated testing of an already tested program, these defects may be either in the software being tested, or in another related or unrelated software component. |
8 | c. Planning | Test plannin activities: Defining the overall approach of testing, including the definition of the test levels and entry and exit criteria. Typically exit criteria may cover the following: Cost |
9 | b. Able to write software | - |
10 | d. All of the above | - |
11 | b. Bottom-up integration | Top-down: from menu to function (use stub) Bottom-up: from detail function to menu (use driver) |
12 | a. Project plan | - |
13 | c. Project status report | - |
14 | b. Deliverable base-lining | - |
15 | b. Cultural difference | - |
16 | b. 40-50 | - |
17 | b. Is unlikely to cause a failure | - |
18 | b. The answer depends on the risks for your industry, contract and special requirements | Deciding how much testing is enough should take account of the level of risk, including technical, safety, and busuness risks, and project constraints such as time and budget. |
19 | d. Robustness | - |
20 | a. White box | - |
21 | d. All of the above | - |
22 | b. Driver | Stubs and drivers are usually used in UT to replace missing components, software Stub: called by software component Driver: call software component A driver: is a software module used to invoke a module under test and, often, provide test inputs, control and monitor execution, and report test results A stub: is a computer program statement substituting for the body of a software module that is or will be defined elsewhere. |
23 | c. A black box testing technique appropriate to all levels of testing | - |
24 | a. A small team to establish the best way to use the tool | - |
25 | d. How much of the code has been covered | - |
Link tham khảo:
https://www.softwaretestinghelp.com/test-your-software-testing-knowledge-take-this-mock-test/
ISTQBFoundationLevelSyllabus2011
All rights reserved