3-4. Test Design

Descrição

qa
Rachel Sprague
Quiz por Rachel Sprague, atualizado more than 1 year ago
Rachel Sprague
Criado por Rachel Sprague mais de 8 anos atrás
40
0

Resumo de Recurso

Questão 1

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

Questão 2

Questão
In IEEE829 what is the order of the following: x) test case specification y) test procedure specification z) test design specification
Responda
  • x, y, z
  • z, y, x
  • z, x, y
  • x, z, y

Questão 3

Questão
In IEEE829, the steps of a test script are documented where?
Responda
  • The test plan outline
  • The test case specification
  • The test procedure specification
  • The test design specification

Questão 4

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

Questão 5

Questão
Which of the following is a black-box technique?
Responda
  • Statement testing
  • Decision Table testing
  • Multiple Condition testing
  • Decision Testing

Questão 6

Questão
What is an equivalence partition or class?
Responda
  • 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

Questão 7

Questão
What is an invalid boundary value?
Responda
  • 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

Questão 8

Questão
What is a valid boundary value?
Responda
  • 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

Questão 9

Questão
Equivalence partitioning is a technique:
Responda
  • 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

Questão 10

Questão
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?
Responda
  • £10K
  • £20K
  • £16K
  • £35K

Questão 11

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

Questão 12

Questão
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?
Responda
  • 9999, 50000, 100000
  • 999, 37000, 99999
  • 1000, 45000, 99999
  • 999, 1000, 40000, 99999, 100000

Questão 13

Questão
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
Responda
  • 16, 17, 18
  • 18, 45, 65
  • 16, 45, 68
  • 16, 63, 64

Questão 14

Questão
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
Responda
  • 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

Questão 15

Questão
Given the following state transition diagram: How many tests are required for 0-switch coverage?
Responda
  • 7
  • 4
  • 5
  • 6

Questão 16

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

Questão 17

Questão
Which is incorrect concerning Use Cases?
Responda
  • 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

Questão 18

Questão
Which of the following is a structural test technique?
Responda
  • Decision table testing
  • Decision testing
  • Boundary value analysis
  • State transition testing

Questão 19

Questão
Which of the following techniques is NOT a black-box technique?
Responda
  • Equivalence partitioning
  • State transition testing
  • Statement testing
  • Boundary value analysis

Questão 20

Questão
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
Responda
  • 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

Questão 21

Questão
Which of these statements about test techniques is incorrect?
Responda
  • 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

Questão 22

Questão
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?
Responda
  • SC = 1, DC = 1
  • SC = 1, DC = 2
  • SC = 2, DC = 3
  • SC = 3, DC = 3

Questão 23

Questão
Which is true of error guessing?
Responda
  • 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

Questão 24

Questão
Fault Attack is:
Responda
  • 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

Questão 25

Questão
The test techniques chosen are influenced by:
Responda
  • 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

Questão 26

Questão
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’
Responda
  • Static testing
  • Error guessing
  • Fault attack
  • Exploratory testing

Semelhante

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
1. Fundamentals
Rachel Sprague
Test
jeanber