Rachel Sprague
Test por , creado hace más de 1 año

qa

43
0
0
Rachel Sprague
Creado por Rachel Sprague hace más de 8 años
Cerrar

5. Static Techniques

Pregunta 1 de 20

1

Which of the following is not a type of static testing review?

Selecciona una de las siguientes respuestas posibles:

  • Informal review

  • Inspection

  • Walkthrough

  • Tester appraisal review

Explicación

Pregunta 2 de 20

1

Why are reviews beneficial?

Selecciona una de las siguientes respuestas posibles:

  • They save time and money by detecting defects before test execution

  • They establish relationships between testers and developers

  • It means that no system documentation is needed

  • They establish relationships between testers and system users

Explicación

Pregunta 3 de 20

1

Which of the following statements regarding static testing is false?

Selecciona una de las siguientes respuestas posibles:

  • Static testing involves reviews and static analysis

  • Static testing looks for defects in work product documents

  • Static testing detects failures in executing code

  • Static testing ideally precedes dynamic testing

Explicación

Pregunta 4 de 20

1

The following statements about inspections are true, except for:

Selecciona una de las siguientes respuestas posibles:

  • Inspection is the most formal review process

  • Inspections should be led by a trained person

  • Inspection is appropriate even when there are no written documents

  • Inspections should not proceed if inspectors are unprepared

Explicación

Pregunta 5 de 20

1

Which of the following review types requires formal entry and exit criteria and keeps metrics?

Selecciona una de las siguientes respuestas posibles:

  • Informal review

  • Inspection

  • Walkthrough

  • Technical review

Explicación

Pregunta 6 de 20

1

Consider 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

Selecciona una de las siguientes respuestas posibles:

  • 1 is true; 2, 3, 4, 5 are false

  • 1, 3 are true: 2, 4, 5 are false

  • 1, 3, 4 are true; 2, 5 are false

  • 1, 4 are true; 2, 3, 5 are false

Explicación

Pregunta 7 de 20

1

Which of the following statements about reviews is true?

Selecciona una de las siguientes respuestas posibles:

  • Reviews of requirements specifications are a waste of resources

  • Reviews are not applicable to source code

  • Reviews only apply to development deliverable not testing deliverables

  • Reviews should be performed on test cases and test procedures

Explicación

Pregunta 8 de 20

1

The kick-off activity of a formal review is concerned with:

Selecciona una de las siguientes respuestas posibles:

  • Distributing documents and communicating objectives to participants

  • Selecting personnel and allocating roles

  • Fixing defects found

  • Checking that defects have been fixed and gathering metrics

Explicación

Pregunta 9 de 20

1

Which of the following involves a meeting run by the author?

Selecciona una de las siguientes respuestas posibles:

  • Informal review

  • Inspection

  • Walkthrough

  • Technical review

Explicación

Pregunta 10 de 20

1

Match 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

Selecciona una de las siguientes respuestas posibles:

  • x - 2, w - 4, y - 1, z - 3

  • y - 1, w - 3, x - 2, z - 4

  • w - 1, x - 2. y - 3, z – 4

  • w - 4, x - 3, y - 1, z - 2

Explicación

Pregunta 11 de 20

1

Are reviews part of testing?

Selecciona una de las siguientes respuestas posibles:

  • No, because they apply to documentation

  • Yes, because they may be done by testers

  • No, because they do not apply to the test documentation

  • Yes, because both help detect defects and improve quality

Explicación

Pregunta 12 de 20

1

Which of the following is a success factor for reviews?

Selecciona una de las siguientes respuestas posibles:

  • No defects being found

  • Defects found being welcomed

  • Many defects being found

  • Allocating the minimum time necessary for any meeting involved

Explicación

Pregunta 13 de 20

1

Which of the following is a benefit of static analysis?

Selecciona una de las siguientes respuestas posibles:

  • Developers do not have to worry about defects in their source code

  • Early warning of highly complex code or design

  • It eliminate the need for dynamic testing of the object code

  • The static analyser will automatically correct any defect found

Explicación

Pregunta 14 de 20

1

Which is a form of static analysis ideally supported by a tool?

Selecciona una de las siguientes respuestas posibles:

  • Causal analysis

  • Data flow analysis

  • Systems analysis

  • Impact analysis

Explicación

Pregunta 15 de 20

1

Static analysis is:

Selecciona una de las siguientes respuestas posibles:

  • An alternative to static testing

  • The same as static testing

  • The use of tools for static testing

  • Nothing to do with static testing

Explicación

Pregunta 16 de 20

1

Which of the following is not true of static analysis?

Selecciona una de las siguientes respuestas posibles:

  • It is used to find defects in source code

  • It detects defects by running the object code

  • It can find defects that may be difficult to find using dynamic testing

  • It finds defects rather than failures

Explicación

Pregunta 17 de 20

1

Static analysis tools can be used to:

Selecciona una de las siguientes respuestas posibles:

  • Calculate complexity

  • Estimate likely response times

  • Calculate batch run times

  • Evaluate the accuracy of component specifications

Explicación

Pregunta 18 de 20

1

Which of the following can static analysis NOT find?

Selecciona una de las siguientes respuestas posibles:

  • Unused variables

  • Unreachable (“dead”) code

  • Whether the value stored in a variable is correct

  • Undefined variables

Explicación

Pregunta 19 de 20

1

Static analysis tools can detect:

Selecciona una de las siguientes respuestas posibles:

  • Inconsistent component/module interfaces

  • Missing requirements

  • Incomplete requirements

  • Inconsistencies between the source code and its specification

Explicación

Pregunta 20 de 20

1

Compilers:

Selecciona una de las siguientes respuestas posibles:

  • Are the same as static analysers

  • Have no role in static analysis

  • Are used to support document inspections

  • May provide similar functionality to a static analyser

Explicación