SOFTWARE TESTING AND QUALITY ASSURANCE UPDATED
ACTUAL Exam Questions and CORRECT Answers
Based on lecture 1, four elements of software quality? - Reviewing
Testing
Measurement
Defect Analysis
Security
Education ETC
lecture 2 material, what are the three main components of costs of quality? - Prevention costs
(before and during development)
Appraisal costs (during and after development)
Failure costs (during and after development)
i. Internal failure costs
ii. External failure costs
Graphs from lecture 2, agile and waterfall. Exam or quiz. - Exam or quiz.
Describe the way from mistake to defect! - The mistake/bug is a human action -> it represented
as a fault in the program -> when the program is executed the fault becomes a failure -> the
failure shows as a defect.
What is the definition of a defect? - A variation/deviation by which the quality is off.
What five defect categories do we have? - a. Computational
i. Calculations
b. Logical
,i. Operand
ii. Conditions
iii. Missing case
c. Input/output
i. Wrong input is accepted
ii. Input has wrong datatype
iii. Wrong output is accepted
iv. Missing result
d. Interface
i. Call to wrong function
ii. Parameters mismatch, too many too few
e. Data
i. Incorrect data type
ii. Wrong data reference
Where can major defects in software development show? - a. Requirements & Specifications
b. Design
c. Implementation
d. Testing
e. Operation & maintenance
How to find defects? - Defects prevention
i. Informal reviews
ii. Inspection and walkthrough
iii. Test design and development
iv. Test execution
Defects predication
, i. Using size and complexity metrics
ii. Using testing metrics
iii. Using process quality data
iv. Using multivariate approach
What is Static operation and Dynamic operation when it comes to defect prevention? - Static you
don't run the code, make up a case.
Probably a definition question about Walkthrough, Inspection and review. - Walkthrough
Author leads the development team through a manual or simulated execution of the product,
using pre-defined test cases.
Inspection
Step by step group review of the product, with each step checked against pre-determined criteria.
Difference?
-Walkthroughs are usually very informal and does not require data collection for statistical
purpose. It also, does not require generation of any document.
-Inspections are very formal, and it requires participation from outside the development team.
Question about inspection costs. What are? - a. Infrastructure cost (one time)
i. Training of moderator and other inspectors
ii. Development and tailoring of the forms and reports
iii. Set up of the measurement program
iv. Tool support
b. Overhead cost (every time)
i. Time spent for meeting set up, data collection, checking fixes, reporting
ii. Time spent for quality improvement activities
c. Operational cost (every time)
i. Time spend for individual and team analysis
ACTUAL Exam Questions and CORRECT Answers
Based on lecture 1, four elements of software quality? - Reviewing
Testing
Measurement
Defect Analysis
Security
Education ETC
lecture 2 material, what are the three main components of costs of quality? - Prevention costs
(before and during development)
Appraisal costs (during and after development)
Failure costs (during and after development)
i. Internal failure costs
ii. External failure costs
Graphs from lecture 2, agile and waterfall. Exam or quiz. - Exam or quiz.
Describe the way from mistake to defect! - The mistake/bug is a human action -> it represented
as a fault in the program -> when the program is executed the fault becomes a failure -> the
failure shows as a defect.
What is the definition of a defect? - A variation/deviation by which the quality is off.
What five defect categories do we have? - a. Computational
i. Calculations
b. Logical
,i. Operand
ii. Conditions
iii. Missing case
c. Input/output
i. Wrong input is accepted
ii. Input has wrong datatype
iii. Wrong output is accepted
iv. Missing result
d. Interface
i. Call to wrong function
ii. Parameters mismatch, too many too few
e. Data
i. Incorrect data type
ii. Wrong data reference
Where can major defects in software development show? - a. Requirements & Specifications
b. Design
c. Implementation
d. Testing
e. Operation & maintenance
How to find defects? - Defects prevention
i. Informal reviews
ii. Inspection and walkthrough
iii. Test design and development
iv. Test execution
Defects predication
, i. Using size and complexity metrics
ii. Using testing metrics
iii. Using process quality data
iv. Using multivariate approach
What is Static operation and Dynamic operation when it comes to defect prevention? - Static you
don't run the code, make up a case.
Probably a definition question about Walkthrough, Inspection and review. - Walkthrough
Author leads the development team through a manual or simulated execution of the product,
using pre-defined test cases.
Inspection
Step by step group review of the product, with each step checked against pre-determined criteria.
Difference?
-Walkthroughs are usually very informal and does not require data collection for statistical
purpose. It also, does not require generation of any document.
-Inspections are very formal, and it requires participation from outside the development team.
Question about inspection costs. What are? - a. Infrastructure cost (one time)
i. Training of moderator and other inspectors
ii. Development and tailoring of the forms and reports
iii. Set up of the measurement program
iv. Tool support
b. Overhead cost (every time)
i. Time spent for meeting set up, data collection, checking fixes, reporting
ii. Time spent for quality improvement activities
c. Operational cost (every time)
i. Time spend for individual and team analysis