Quiz
Quiz 5 CS Testing
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (19)
1Mutation testing is a technique used to accomplish which of the following?
- Ato determine the adequacy of a software program.
- Bto determine the adequacy of the software test suite.
- Cto determine the adequacy of the software requirements.
- Dto determine the implementation of the software requirements.
2For data flow testing, the term p-use and c-use stand for which of the following?
- Apredicate-use and computation-use.
- Bpredictive-use and current-use.
- Cprior-use and current-use.
- Dpartial-use and complete-use.
3Regression testing is NOT used to detect which of the following?
- ATo verify the software correction made to fix a specific problem.
- BAn error due to a poor configuration management practice.
- CTo detect an indirect impact made by the change on some already working software.
- DA build error where the wrong version of a file was used.
4A stub or mock is best defined by which one of the following?
- ADynamic "wrapper" used to simulate a method call/return using a tool
They use the methods exact interface and are replaced by production code. - BA patch in the code made to correct a software problem.
- CDuring unit testing a call is made to the actual method in another class where the desired value is hoped to be returned.
- DCode that sets inputs, records test results and compares them to expected results and summarizes test passes and failures.
- ADynamic "wrapper" used to simulate a method call/return using a tool
5For data flow testing, the term du-path means which of the following?
- Athe path between a data definition and its subsequent use.
- Bthe path between a data usage and its subsequent definition.
- Cthe path between a data definition and its subsequent redefinition.
- Dthe path between a data usage and its subsequent use.
6For data flow testing, the term du-path means which of the following?
- Athe path between a data definition and its subsequent use.
- Bthe path between a data usage and its subsequent definition.
- Cthe path between a data definition and its subsequent redefinition.
- Dthe path between a data usage and its subsequent use.
7Which of the following is NOT a problem resulting from poor configuration management?
- AThe customer reports a problem but the tests found no defects.
- BTest that worked perfectly on an old version but no longer do
- CFeatures that used to work no longer work.
- DDefects which were corrected suddenly reappear.
8Which of the following data-flow testing coverage techniques provides for the most comprehensive coverage?
- Aall du-paths
- Ball uses
- Call defs
- Dall standards
9Which of the following is the best method for improving the software test process?
- ATo talk to the customer and to determine which failures are escaping from test.
- BContinue to add to the regression test suite - as these are automated tests they can be used to increase the detection of regression errors
- CPerform mutation testing, analyze mutants and update tests accordingly.
- DTo perform an independent audit of the test team and processes.
10Which of the following best describes how estimation of test activities are different from other development activities?
- ATest progress is dependent upon fixes made to the software.
- BTest activities have iterative work schedules and cycles.
- CTest is harder to estimate because it is always at the end of the life cycle.
- DTest is driven by the number of defects - other disciplines are not.
11A sprint in Agile represents which of the following?
- AAn recurring iteration of a fixed length.
- BA product backlog item that requires immediate correction.
- CAn iteration backlog item that requires immediate correction.
- DA release typically tied to a customer event or milestone
12Which of the following is NOT a typical characteristic of an Agile team?
- ADynamic lead programmer approach.
- BWorking software over documentation.
- CStrong customer collaboration.
- DResponding to and embracing change.
13A test driver is best defined by which one of the following?
- ACode that sets inputs, records test results and compares them to expected results and summarizes test passes and failures.
- BA patch in the code made to correct a software problem.
- CDynamic "wrapper" used to simulate a method call/return using a tool
They use the methods exact interface and are replaced by production code. - DHand-written classes that mimic the methods behavior, but do that with significant simplification.
14Which of the following are the three representative Agile approaches studied in class?
- ACram, XP and Kanban.
- BScrum, XP, and Skanbun.
- CScrum, NT, and Skanbun.
- DScrum, XP, and Kanban.
15Which ONE of the following is NOT a characteristic of Risk Based Testing?
- AIt starts later in the project, executing only those tests that take the most effort to design and/or develop.
- BIt uses risk to prioritize and emphasize the appropriate tests during test execution.
- CIt involves test contingency – testing to identify work-arounds to make the defects that do get past us less painful
- DIt involves test mitigation – testing to reduce the likelihood of defects, especially high-impact defects –
16Which ONE of the following activities represents the best USE of Exploratory testing?
- AWhen it complements other, more formal testing, helping to establish greater confidence in the software documenting the test conditions, test cases or test scripts.
- BPlanning that involves the creation of a test charter, a short declaration of the scope of a short time-boxed test effort, the objectives and possible approaches to be used.
- CTest logging is undertaken as test execution is performed, documenting the key aspects of what is tested, any defects found and any thoughts about possible further testing.
- DThe test design and test execution activities are performed in parallel, typically without formally.
17Given the objective to test a software interface between two different classes, which of the following tests would be the BEST choice to perform this
- AIntegration level testing
- BUnit level testing
- CSystem level testing
- DBeta testing
18Given the objective to test basis path coverage within a class, which of the following tests would be the BEST choice to perform this type of testing?
- AUnit level testing
- BIntegration level testing
- CSystem level testing
- DBeta testing
19Given the objective to test the software behavior to its requirements, which of the following tests would be the BEST choice to perform this type of t
- ASystem level testing
- BUnit level testing
- CIntegration level testing
- DBeta testing
Information
- Description
- Computer Science Quiz on Quiz 5 CS Testing, created by Ali Kasmani on 01/05/2017.
- Author
- Ali Kasmani
- Language
- English
- Views
- 1
- Tags
- Rating
- No ratings yet Rate this quiz