3-4. Test Design

Beschreibung

qa
Rachel Sprague
Quiz von Rachel Sprague, aktualisiert more than 1 year ago
Rachel Sprague
Erstellt von Rachel Sprague vor mehr als 7 Jahre
29
0

Zusammenfassung der Ressource

Frage 1

Frage
In IEEE 829, test design specification defines:
Antworten
  • Input values, test data and expected results
  • Test conditions and high level test cases
  • The execution schedule
  • Procedures/scripts

Frage 2

Frage
In IEEE829 what is the order of the following: x) test case specification y) test procedure specification z) test design specification
Antworten
  • x, y, z
  • z, y, x
  • z, x, y
  • x, z, y

Frage 3

Frage
In IEEE829, the steps of a test script are documented where?
Antworten
  • The test plan outline
  • The test case specification
  • The test procedure specification
  • The test design specification

Frage 4

Frage
In IEEE829, test case specification defines:
Antworten
  • The test schedule
  • Test procedures and scripts
  • Test prerequisites, input values, test data and expected results
  • Test conditions and high level test cases

Frage 5

Frage
Which of the following is a black-box technique?
Antworten
  • Statement testing
  • Decision Table testing
  • Multiple Condition testing
  • Decision Testing

Frage 6

Frage
What is an equivalence partition or class?
Antworten
  • A business rule that applies to a range of different input values
  • An input or output range of values such that only one value in the range becomes a test case
  • An input or output range of values such that every value in the range becomes a test case
  • A business rule that applies to a range of different output values

Frage 7

Frage
What is an invalid boundary value?
Antworten
  • A value that is not on the boundary or one increment either side of it
  • A boundary value in an invalid partition
  • Any value that should result in an error message
  • Any value beyond the boundaries of the valid data domain

Frage 8

Frage
What is a valid boundary value?
Antworten
  • Any value within the valid data domain
  • Any value not in an invalid partition
  • A value identified by the boundary value analysis that falls within a valid partition
  • A boundary test resulting in valid test output

Frage 9

Frage
Equivalence partitioning is a technique:
Antworten
  • Appropriate to all levels of testing
  • Used only in static testing
  • Used mainly in acceptance testing
  • Which if employed correctly will ensure 0-switch coverage

Frage 10

Frage
Loans of £1k to £7k are charged at 9% interest. There are 4 additional bands, B, C, D and E, each increasing the loan by up to £8K on the previous band and decreasing the interest rates to 8%, 7%, 6% and 5% correspondingly. All loans are in multiples of 1K. Which of the following is a valid boundary value analysis test case?
Antworten
  • £10K
  • £20K
  • £16K
  • £35K

Frage 11

Frage
For the loans scenario in Q10 which of the following sets of values falls into the same equivalence class?
Antworten
  • £13k, £14k, £15k, £16K
  • £14k, £15k, £16k, £17K
  • £15k, £16k, £17k, £18K
  • £16k, £17k, £18k, £19K

Frage 12

Frage
Input Invoice numbers can range between 1000 and 99999 inclusive. Which of the following value sets tests only valid equivalence classes and valid boundaries values?
Antworten
  • 9999, 50000, 100000
  • 999, 37000, 99999
  • 1000, 45000, 99999
  • 999, 1000, 40000, 99999, 100000

Frage 13

Frage
A system for classifying people into groups by age uses the following rules: 1) If you are aged 17 or under you are a child 2) Over 17and under 65 you are an adult. 3) 65 or over you are a pensioner
Antworten
  • 16, 17, 18
  • 18, 45, 65
  • 16, 45, 68
  • 16, 63, 64

Frage 14

Frage
Given the following decision table, showing discount policy (where discount applies): What is the expected result for each of the following test cases? A. wholesale order for £2100 B. retail order for £750
Antworten
  • A – No free delivery, 6% discount B – Free delivery, 4% discount
  • A – Free delivery, 8% discount B – No free delivery, 6% discount
  • A – Free delivery, 8% discount B – No free delivery, 2% discount
  • A – Free delivery, 8%, discount B – No free delivery, 4% discount

Frage 15

Frage
Given the following state transition diagram: How many tests are required for 0-switch coverage?
Antworten
  • 7
  • 4
  • 5
  • 6

Frage 16

Frage
Given the following State Table: How many tests are needed to test for 100% of possible invalid transitions?
Antworten
  • 6
  • 24
  • 17
  • 30

Frage 17

Frage
Which is incorrect concerning Use Cases?
Antworten
  • Each use case may have many scenarios
  • They are useful as a test basis in user acceptance testing
  • They show the process flows through the system
  • They are used in component testing

Frage 18

Frage
Which of the following is a structural test technique?
Antworten
  • Decision table testing
  • Decision testing
  • Boundary value analysis
  • State transition testing

Frage 19

Frage
Which of the following techniques is NOT a black-box technique?
Antworten
  • Equivalence partitioning
  • State transition testing
  • Statement testing
  • Boundary value analysis

Frage 20

Frage
Consider the following statements: v. White-box testing eliminates the need for black-box testing w. Multiple condition testing is another name for decision testing x.100% decision coverage guarantees 100% statement coverage y.100% statement coverage guarantees 100% decision coverage
Antworten
  • x is true, others are false
  • x & y are true, v & w are false
  • x & y are false, v & w are true
  • y is false, others are true

Frage 21

Frage
Which of these statements about test techniques is incorrect?
Antworten
  • Decision testing is a structural technique and has a measure attached
  • Equivalence partitioning is the same category of technique as boundary value analysis
  • State transition testing is the same category of technique as statement testing
  • Decision testing is short for decision table testing

Frage 22

Frage
For the following pseudo-code: IF A > B THEN subtract 2 from A IF A < 6 THEN add 3 to A ELSE add 4 to A END IF ELSE subtract 1 from B END IF Which of the following concerning the number of tests required for 100% coverage (in both cases) is correct?
Antworten
  • SC = 1, DC = 1
  • SC = 1, DC = 2
  • SC = 2, DC = 3
  • SC = 3, DC = 3

Frage 23

Frage
Which is true of error guessing?
Antworten
  • It is the best way to derive test cases
  • It is best used after more formal techniques have been applied
  • It is used by inexperienced testers
  • It should only be used when there is insufficient time to apply more formal techniques

Frage 24

Frage
Fault Attack is:
Antworten
  • A structured approach to error guessing
  • When a system is prone to failure as a result of poor coding standards
  • A risk to people employed as testers
  • Attempting to break the system security

Frage 25

Frage
The test techniques chosen are influenced by:
Antworten
  • The size of the test team and the age of the testers
  • The level of risk and regulatory requirements
  • The size of the system and the test tools available
  • The preferences of the project manager

Frage 26

Frage
is described here? ‘An informal test design technique where the tester actively controls the design of the tests as those tests are performed and uses information gained while testing to design new and better tests’
Antworten
  • Static testing
  • Error guessing
  • Fault attack
  • Exploratory testing
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

How well do you know GoConqr?
Sarah Egan
6. Test Management
Rachel Sprague
2. Testing Through LIfecycle
Rachel Sprague
7. Tool Support for Testing
Rachel Sprague
5. Static Techniques
Rachel Sprague
dimension tests
dario.budimir
Test
jeanber