SWR391 - Part 7
Low-level design Hi-level design Code Business requirements (1) Integration tests (2) System tests (3) Unit tests (4) Acceptance tests
(1)(2)(3)(4)
Order numbers on a stock control system can range between 10000 and 99999 exclusive. Which of the following inputs might be a result of designing tests for EPC method? Select one: a. 9999, 10000, 50000,99999,100000 b. 9999, 10000,10001, 50000,99998, 99999 c. 10000,10001, 50000,99998, 99999 d. 10000,10001, 50000,99998, 99999,100000
A
Order numbers on a stock control system can range between 10000 and 99999 inclusive. Which of the following inputs might be a result of designing tests for only valid equivalence classes and valid boundaries? Select one: a. 10000, 50000, 9999 b. 1000, 5000, 99999 c. 9999, 50000, 83000, 100000 d. 9999, 50000, 100000
A
Match the following: Test monitoring Test estimation Test control (A) - measures of tracking process (B) - estimation - effort required to perform activities (C) - control - reallocation of resources
ABC
When should configuration management procedures be implemented? Select one: a. When evaluating exit criteria b. During test planning. c. During test analysis. d. During test execution.
B
Select correct statement Select one or more: a. Appraisal cost b. Cost of quality + Appraisal cost + Failure cost c. Prevention Cost d. Cost of quality + Prevention Cost + Appraisal cost e. Prevention Cost + Appraisal cost + Failure cost f. Cost of quality g. Failure cost h. Cost of quality + Prevention Cost + Failure cost
BDEFH
Analyse the following highly simplified procedure: Ask: "What type of ticket do you require, single or return?" IF the customer wants 'return' Ask: "What rate, Standard or Cheap-day?" IF the customer replies 'Cheap-day' Say: "That will be 11,20 USD" ELSE Say: "That will be 19,50 USD" ENDIF ELSE Say: "That will be 9,75 USD" ENDIF Now decide the minimum number of tests that are needed to ensure that all the questions have been asked, all combinations have occurred and all replies given. Select one: a. 6 b. 5 c. 3 d. 4
C
How many test case are used to cover all execution paths in diagram below? Select one: a. 7 b. 5 c. 8 d. 6
C
Order numbers on a stock control system can range between 10000 and 99999 inclusive. Which of the following inputs might be a result of designing tests for Weak Nx1 method? Select one: a. 10000,10001, 50000,99998, 99999,100000 b. 9999, 10000,10001, 50000,99998, 99999 c. 9999, 10000, 50000,99999,100000 d. 10000,10001, 50000,99998, 99999
C
The later in the development life cycle a fault is discovered, the more expensive it is to fix. Why? Select one: a. The documentation is poor, so it takes longer to find out what the software is doing. b. Wages are rising c. The fault has been built into more documentation,code,tests, etc d. None of the others
C
Which of the following BEST describes the difference between an inspection and a walkthrough? Select one: a. Both inspections and walkthroughs are led by a trained moderator. b. Both inspections and walkthroughs are led by the author. c. An inspection is led by a moderator and a walkthrough is led by the author. d. A walkthrough is led by the author. The author is not present during inspections.
C
Which of the following would you NOT usually find on a software incident report? Select one: a. The name and/or organisational position of the person raising the problem. b. Actual and expected results. c. Suggestions as to how to fix the problem. d. Version of the Software Under Test.
C
If an income of person range between 1000USD and 10000USD (both inclusive), his income tax rate will be 10%. Which of the following inputs might be a result of designing tests for Weak 1x1 method? Select one: a. 1000,1001, 5000,9998, 9999,10001 b. 999, 1000, 5000,10000,10001 c. 1000,1001, 5000,9998, 9999,10000 d. 999, 1000,1001, 5000,10000, 10001
D
What is the purpose of exit criteria? Select one: a. To identify when a software system should be retired. b. To determine whether a test has passed. c. To determine when a test has completed. d. To define when a test level is complete.
D
The oracle assumption is that: Select one: a. The tester can routinely identify the correct outcome of a test. b. There is some existing system against which test output may be checked. c. Tools are used to check the results of testing. d. The tester knows everything about the software under test.a
a
What can static analysis NOT find? Select one: a. Whether the value stored in a variable is correct b. Array bound violations c. The use of a variable before it has been defined d. Unreachable ("dead") code e. The re-definition of a variable before it has been used
a
When a new testing tool is purchased, it should be used first by: Select one: a. Everyone who may eventually have some use for the tool b. The managers to see what projects it should be used in c. A small team to establish the best way to use the tool d. The vendor contractor to write the initial scripts e. The independent testing team
a
Which action do we use for checking the software system do the right things? Select one: a. Validation b. Testing c. Inspection d. Verification
a
Which of the following helps in monitoring the Test Progress Select one or more: a. Percentage of work done in test environment preparation. b. Defect Information e.g. defect density, defects found and fixed c. Percentage of Test Case Execution d. The size of the testing Team and skills of the engineers
abd
Which of the following is the task of a Test Lead / Leader. Select one or more: a. Interaction with the Test Tool Vendor to identify best ways to leverage test tool on the project. b. Decide what should be automated , to what degree and how. c. Create the Test Specifications d. Write Test Summary Reports based on the information gathered during testing
abd
Consider the following statements. Which is correct? Select one: a. incidents may not be raised against documentation b. an incident may be closed without being fixed c. the final stage of incident tracking is fixing d. the incident record does not include information on test environments
b
Regression testing should be performed: Select one: a. every week b. after the software/environment has changed c. as often as possible d. when the project manager says
b
Select static elements in FSM Select one: a. Input and output b. States and states transition c. Transition d. None of the others. e. States , input and output
b
What information need not be included in a test incident report: Select one: a. the actual and expected outcomes b. how to fix the fault c. test environment details d. severity, priority e. how to reproduce the fault
b
When what is visible to end-users is a deviation from the specific or expected behavior, this is called: Select one: a. an error b. a fault c. a failure d. a mistake e. a defect
b
Which of the following is a type of non-functional testing? Select one: a. Cause-effect graphing. b. Usability testing. c. Dataflow testing. d. Statement Coverage.
b
A typical commercial test execution tool would be able to perform all of the following EXCEPT: Select one: a. reading test values from a data file b. comparison of expected outcomes with actual outcomes c. recording test inputs d. generating expected outputs e. replaying inputs according to a programmed script Feedback
c
Amount of testing performed will not depend on Select one: a. Contractual requirements b. Legal requirements c. Test data. d. Risks involved
c
Could reviews or inspections be considered part of testing? Select one: a. No, because they do not apply to the test documentation b. No, because they are normally applied before testing c. Yes, because both help detect faults and improve quality d. Yes, because testing includes all non-constructive activities e. No, because they apply to development documentation
c
When what is visible to end-users is a deviation from the specific or expected behavior, this is called: Select one: a. a fault b. an error c. a failure d. a defect
c
A program validates a numeric field as follows: Values less than 5 are rejected Values between 5 and 10 are accepted Values greater than or equal to 11 are rejected Which of the following input values cover all of the equivalence partitions? Select one: a. 4,5,10 b. 4,5,10,11 c. 4,5,10,21,22 d. 3,8,13
d
Error guessing is: Select one: a. Only used if good requirements are not available. b. Only used when good requirements are available. c. An appropriate way of deriving system tests. d. The most appropriate way of deriving system tests.
d
If a candidate is given an exam of 40 questions, should get 25 marks to pass (61%) and should get 80% for distinction, what is equivalence class. Select one: a. 23, 24, 25 b. 0, 12, 25 c. 30, 36, 39 d. 32,37,40
d
Testing is not done to _________ Select one: a. Improve quality b. Find faults c. Check user friendliness. d. Improve software accuracy
d
What are responsibilities of QA? Select one: a. Evaluates the life cycle itself b. Makes sure bugs don't happen again on other projects c. Identifies weaknesses in processes and improves them d. All of the others
d
Which is the best definition of complete testing: Select one: a. You have tested every statement, branch, and combination of branches in the program. b. You have completed every test in the test plan. c. You have reached the scheduled ship date. d. You have discovered every bug in the program.
d
Which of the following belong to the user view in quality perspectives? Select one: a. Quality means conformance to process standards b. None of the others c. Quality is the customers' willingness to pay for a software d. Quality is fitness for purpose or meeting user's needs
d
Non-functional system testing includes: Select one: a. testing a system feature using only the software required for that function b. testing for functions that should not exist c. testing a system feature using only the software required for that action d. testing to see where the system does not function properly e. testing quality attributes of the system including performance and usability
e
What can static analysis NOT find? Select one: a. Array bound violations b. Unreachable ("dead") code c. The use of a variable before it has been defined d. The re-definition of a variable before it has been used e. Whether the value stored in a variable is correct
e