3-4. Test Design

Descripción

qa
Rachel Sprague
Test por Rachel Sprague, actualizado hace más de 1 año
Rachel Sprague
Creado por Rachel Sprague hace alrededor de 8 años
36
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

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

Pregunta 3

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

Pregunta 4

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

Pregunta 5

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

Pregunta 6

Pregunta
What is an equivalence partition or class?
Respuesta
  • 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

Pregunta 7

Pregunta
What is an invalid boundary value?
Respuesta
  • 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

Pregunta 8

Pregunta
What is a valid boundary value?
Respuesta
  • 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

Pregunta 9

Pregunta
Equivalence partitioning is a technique:
Respuesta
  • 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

Pregunta 10

Pregunta
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?
Respuesta
  • £10K
  • £20K
  • £16K
  • £35K

Pregunta 11

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

Pregunta 12

Pregunta
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?
Respuesta
  • 9999, 50000, 100000
  • 999, 37000, 99999
  • 1000, 45000, 99999
  • 999, 1000, 40000, 99999, 100000

Pregunta 13

Pregunta
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
Respuesta
  • 16, 17, 18
  • 18, 45, 65
  • 16, 45, 68
  • 16, 63, 64

Pregunta 14

Pregunta
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
Respuesta
  • 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

Pregunta 15

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

Pregunta 16

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

Pregunta 17

Pregunta
Which is incorrect concerning Use Cases?
Respuesta
  • 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

Pregunta 18

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

Pregunta 19

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

Pregunta 20

Pregunta
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
Respuesta
  • 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

Pregunta 21

Pregunta
Which of these statements about test techniques is incorrect?
Respuesta
  • 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

Pregunta 22

Pregunta
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?
Respuesta
  • SC = 1, DC = 1
  • SC = 1, DC = 2
  • SC = 2, DC = 3
  • SC = 3, DC = 3

Pregunta 23

Pregunta
Which is true of error guessing?
Respuesta
  • 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

Pregunta 24

Pregunta
Fault Attack is:
Respuesta
  • 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

Pregunta 25

Pregunta
The test techniques chosen are influenced by:
Respuesta
  • 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

Pregunta 26

Pregunta
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’
Respuesta
  • Static testing
  • Error guessing
  • Fault attack
  • Exploratory testing
Mostrar resumen completo Ocultar resumen completo

Similar

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