1/51
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No study sessions yet.
Inspection
A code inspection is a set of procedures and error-detection techniques for group code reading. Most discussions of code inspections focus on the procedures, forms to be filled out, and so on. Here, after a short summary of the general procedure, we will focus on the actual error-detection techniques
Walkthrough
The code walkthrough, like the inspection, is a set of procedures and error-detection techniques for group code reading. It shares much in common with the inspection process, but the procedures are slightly different, and a different error-detection technique is employed.
White box
is a software testing method in which the internal structure/ design/ implementation of the item being tested is known to the tester
Black box
is a method of software testing that examines the functionality of an application without peering into its internal structures or workings. This method of test can be applied virtually to every level of software testing: unit, integration, system and acceptance.
Acceptance
is the process of comparing the program to its initial requirements and the current needs of its end users. It is an unusual type of test in that it usually is performed by the program's customer or end user and normally is not considered the responsibility of the development organization.
Function
is a process of attempting to find discrepancies between the program and the external specification. An external specification is a precise description of the program's behavior from the end-user point of view. (black box testing)
Types of White Box Testing
Unit Testing.
Static Analysis.
Dynamic Analysis.
Statement Coverage.
Branch testing Coverage.
Mutation Testing.
Types of Black Box Testing
functional, non-functional, and regression testing
Very limited
Which level of coding knowledge is needed to perform black box testing?
System testing
has a particular purpose: to compare the system or program to its original objectives
Inspection
Management has requested that the development team have a moderator review their newest module of code. Which type of review is being asked for?
Black box
An informal review of a module of code has been completed. The development team has decided to evaluate the module from an end user perspective. Which method should be used to determine if the code meets quality standards?
Black box testing
There is a requirement to verify the usability of a product as it is being delivered to ensure overall design and functionality without regard to the internal functioning of the code. Which quality method meets this requirement?
Code inspection
QA proposes a formal group meeting where the programmer narrates, statement by statement, the logic of a program as an error detection technique. Which quality method meets this proposal?
Backtracking
A program's state changes from what is expected. Which practice should be applied to find the location of the defect?
Reproducing the error
A web developer or QA tester encounters an error. What is the best practice to initiate resolution of this error?
Ask to document each issue with details in the bug report
Which action should a developer take after receiving an email from a QA tester stating that the application under test is not working?
Ask the QA team to provide the steps to reproduce the error.
Given code testing feedback from QA, the student chooses the correct course of action. An incomplete bug was identified and reported by the QA team. The bug only contained a description, an expected result, and an actual result. Which step should be taken by the developer?
Talk directly with the QA engineer.
Which action should a developer take after the review of a bug report?
Sustaining partnership
Given code testing feedback from QA, the student chooses the correct course of action. Which key process is supported when the developer continuously provides feedback to the QA team after bug reports are delivered?
Regression
During the implementation phase of a project, the developer realizes the need to change part of the project that has already been written and tested. Which test type should be performed after these changes are made?
Integration
Given a phase in the software development process, the student identifies the testing process that belongs in that phase. Which test should be used during the system design phase?
Acceptance
Which test should be used in the requirements phase?
It can aid in deriving test data based on analysis of the requirement specifications.
Why is black box testing considered a useful test design technique?
It provides feedback on the programming choice of algorithms.
What is a benefit of the code inspection process?
To increase the probability of uncovered defects
What is a value of testing?
Test cases should include invalid and unexpected input conditions.
The student explains how software development techniques and processes promote code quality. What is a key testing principle of designing tests?
How appropriate the technique is for testing the application
Which criterion should be used to decide which testing technique to use?
To determine when to stop testing
What is the purpose of a test completion criterion?
Mitigation
Which kind of plan should be in place to proactively face and resolve the risks of the development process?
A description of the correct output of the program for a set of input data
What are the necessary parts of a test case, according to the software testing principles?
It validates input conditions that produce defined requirements.
How does a test verify that a program meets requirements
Testing the end-to-end functionality of the system as a whole
What is the definition of functional system testing?
The programmer narrates, statement by statement the logic of the program.
Which statement describes part of a formal coding review process?
Compare the input to the system design phase of its input to the program design phase
Which action describes a realistic verification step?
Technical
Which type of review is used to identify discrepancies from specifications or standards?
Circulation
Which type of review is recommended when reviewers are geographically separated and teleconferencing is impossible?
Following well-established procedures and appropriate testing tools.
Which testing approach should increase software quality?
Performance
Given a testing scenario, the student chooses appropriate test types. Which test type determines whether the program meets response and throughput requirements?
Acceptance
Given a testing scenario, the student chooses appropriate test types. Which test type should be used to compare the program to its initial requirements?
Unit
Which test should be used to ensure a module of code meets quality standards?
White box
A developer creates a test in which much of the code will be executed. Which test type does this describe?
Regression
A developer updates some existing software. Which type of test should the developer run to ensure the core functionality of the software still works as expected?
Black box
Given a description of an application project to review, the student identifies which test type or method should be used to determine if the code is functioning properly. Which test method will verify the functionality of the GUI without knowledge of the underlying code?
Regression
Given a description of an application project to review, the student identifies which test type or method should be used to determine if the code is functioning properly. A series of defects have recently been found by end users testing new functionality in an existing program, but were fixed by the development team. Which test types should be used to verify the current functionality is working as designed?
It helps prevent defects from being introduced into the code.
The development team is questioned by its end users concerning the benefit of designing tests in the software development process. What is a key benefit of developing tests early in the process?
Acceptance
Which testing method should be used to compare a developer's program to the program's initial requirements?
Requirements
An end user will perform an acceptance test against an application as a final verification. Which development process step is being verified?
To evaluate a product by testing it with representative users.
What is the purpose of a usability test?
Exercise all decision outcomes and each condition at least once.
What describes decision/condition coverage testing?
Very limited
Which level of coding knowledge is needed to perform black box testing?
Types of Functional Testing
Unit Testing.
Component Testing.
Smoke Testing.
Integration Testing.
Regression Testing.
Sanity Testing.
System Testing.
User Acceptance Testing.