Test
5. Static Techniques
Crea una cuenta gratis para terminar este test
Guarda tu progreso y consulta tu resultado final.
¿Ya tienes cuenta? Inicia sesión
Preguntas del test (20)
1Which of the following is not a type of static testing review?
- AInformal review
- BInspection
- CWalkthrough
- DTester appraisal review
2Why are reviews beneficial?
- AThey save time and money by detecting defects before test execution
- BThey establish relationships between testers and developers
- CIt means that no system documentation is needed
- DThey establish relationships between testers and system users
3Which of the following statements regarding static testing is false?
- AStatic testing involves reviews and static analysis
- BStatic testing looks for defects in work product documents
- CStatic testing detects failures in executing code
- DStatic testing ideally precedes dynamic testing
4The following statements about inspections are true, except for:
- AInspection is the most formal review process
- BInspections should be led by a trained person
- CInspection is appropriate even when there are no written documents
- DInspections should not proceed if inspectors are unprepared
5Which of the following review types requires formal entry and exit criteria and keeps metrics?
- AInformal review
- BInspection
- CWalkthrough
- DTechnical review
6Consider the following statements:
1. Inspections are the most formal review process
2. Walkthroughs are run by a moderator
3. Anything that can be reviewed can be inspected
4. The purpose of inspections is to find defects
5. Informal reviews are expensive for little benefit- A1 is true; 2, 3, 4, 5 are false
- B1, 3 are true: 2, 4, 5 are false
- C1, 3, 4 are true; 2, 5 are false
- D1, 4 are true; 2, 3, 5 are false
7Which of the following statements about reviews is true?
- AReviews of requirements specifications are a waste of resources
- BReviews are not applicable to source code
- CReviews only apply to development deliverable not testing deliverables
- DReviews should be performed on test cases and test procedures
8The kick-off activity of a formal review is concerned with:
- ADistributing documents and communicating objectives to participants
- BSelecting personnel and allocating roles
- CFixing defects found
- DChecking that defects have been fixed and gathering metrics
9Which of the following involves a meeting run by the author?
- AInformal review
- BInspection
- CWalkthrough
- DTechnical review
10Match the roles to each inspection stage:
w) Planning a formal review 1) Reviewer/Inspector
x) Producing documents 2) Scribe/Recorder
y) Checking documents 3) Author
z) Documenting meetings 4) Moderator- Ax - 2, w - 4, y - 1, z - 3
- By - 1, w - 3, x - 2, z - 4
- Cw - 1, x - 2. y - 3, z – 4
- Dw - 4, x - 3, y - 1, z - 2
11Are reviews part of testing?
- ANo, because they apply to documentation
- BYes, because they may be done by testers
- CNo, because they do not apply to the test documentation
- DYes, because both help detect defects and improve quality
12Which of the following is a success factor for reviews?
- ANo defects being found
- BDefects found being welcomed
- CMany defects being found
- DAllocating the minimum time necessary for any meeting involved
13Which of the following is a benefit of static analysis?
- ADevelopers do not have to worry about defects in their source code
- BEarly warning of highly complex code or design
- CIt eliminate the need for dynamic testing of the object code
- DThe static analyser will automatically correct any defect found
14Which is a form of static analysis ideally supported by a tool?
- ACausal analysis
- BData flow analysis
- CSystems analysis
- DImpact analysis
15Static analysis is:
- AAn alternative to static testing
- BThe same as static testing
- CThe use of tools for static testing
- DNothing to do with static testing
16Which of the following is not true of static analysis?
- AIt is used to find defects in source code
- BIt detects defects by running the object code
- CIt can find defects that may be difficult to find using dynamic testing
- DIt finds defects rather than failures
17Static analysis tools can be used to:
- ACalculate complexity
- BEstimate likely response times
- CCalculate batch run times
- DEvaluate the accuracy of component specifications
18Which of the following can static analysis NOT find?
- AUnused variables
- BUnreachable (“dead”) code
- CWhether the value stored in a variable is correct
- DUndefined variables
19Static analysis tools can detect:
- AInconsistent component/module interfaces
- BMissing requirements
- CIncomplete requirements
- DInconsistencies between the source code and its specification
20Compilers:
- AAre the same as static analysers
- BHave no role in static analysis
- CAre used to support document inspections
- DMay provide similar functionality to a static analyser
Información
- Descripción
- qa
- Autor
- Rachel Sprague
- Idioma
- English
- Visitas
- 109
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test