Software Testing - Full Review

Comprehensive review across all software testing activities, key definitions, comparisons, processes

download Export
search_insights Statistics
stylus_note White Board
Quran
calculate Calculator
dictionary Dictionary
fullscreen Full Screen
QUESTION OF

volume_mute Read quiz aloud
Views #: 185
Questions #: 20
Time: 10 minutes
Pass Score: 80.0%
Style
Mode

Fundamental Limit of Testing

1 pts
volume_mute

Which statement most accurately captures the fundamental limit of software testing?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Validation vs. Verification - Key Distinction

1 pts
volume_mute

Complete the two questions that distinguish validation from verification: Validation: "Are we building the (1) product?" Verification: "Are we building the product (2)?"

Please drag and drop the selected option in the right place or type it instead
wrong
faster
right
correctly
note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Three Stages of Commercial Testing

1 pts
volume_mute
Activities
×A separate QA team verifies the complete system meets all specified requirements
×A customer signs off on the system after testing it with real operational data
×A programmer writes automated unit tests for a new method as they implement it
×Beta users experiment with an early public release and report bugs online
Development testing
Release testing
User testing

Classify each activity into the correct stage of commercial software testing.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Inspection Advantage - Error Masking

1 pts
volume_mute

Why does software inspection avoid the problem of error masking that affects testing?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Parts of an Automated Unit Test

1 pts
volume_mute
To complete the line match
  1. Click on an item in the first group
  2. Click on an item in the second group
  3. To delete a match, double click on a line

Part

Assertion
Setup
Call

Description

Invoke the object or method being tested
Compare the actual result with the expected result; true means pass, false means fail
Initialize the system with the test case inputs and expected outputs

An automated unit test has three standard parts. Match each part to its description.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Equivalence Partitioning - Core Principle

1 pts
volume_mute

Why can you test just one or a few values from each equivalence partition instead of all possible values?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Four Interface Types

1 pts
volume_mute
Please drag and drop the options to sort them

Sort the four types of component interfaces by placing them in the order they are typically described (parameter, shared memory, procedural, message passing).

Procedural interfaces - one component encapsulates procedures callable by others
Parameter interfaces - data or function references passed from one component to another
Message passing interfaces - components request services by passing messages
Shared memory interfaces - a block of memory shared between subsystems
note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


TDD Core Process - Identify the Missing Step

1 pts
volume_mute

In TDD, a developer (1) identifies a small functionality increment, (2) writes an automated test, (3) runs the test and it fails, (4) implements the functionality, and (5) re-runs all tests. If all tests now pass, what is the sixth step?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Release Testing Approaches

1 pts
volume_mute
To complete the line match
  1. Click on an item in the first group
  2. Click on an item in the second group
  3. To delete a match, double click on a line

Approach

Performance testing
Scenario testing
Stress testing
Requirements-based testing

Characteristic

Derives tests directly from each specified requirement to check it has been satisfied
Checks the system meets response time and throughput requirements at expected load
Uses realistic usage stories to test multiple features together and their interactions
Overloads the system beyond its design capacity to observe failure behavior

Match each release testing approach to its key characteristic.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


User Testing Types - Sort by Formality

1 pts
volume_mute
Please drag and drop the options to sort them

Arrange the three types of user testing from least formal (most exploratory) to most formal (most contractually binding).

Beta testing - a larger group of users experiments and reports problems
Alpha testing - selected users work with the development team on early releases
Acceptance testing - customers test with real data to decide on contract sign-off
note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Three Interface Error Classes

1 pts
volume_mute
Scenarios
×A developer calls a network function assuming it will block until complete, but it is actually asynchronous
×In a real-time system, a sensor writes data to shared memory faster than the processor can read it, causing stale data
×A developer passes arguments to a sorting function in the wrong order, reversing the sort direction
Interface misuse
Interface misunderstanding
Timing error

Classify each scenario into the correct interface error class.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


TDD Benefits vs. Limitations

1 pts
volume_mute
Statements
×Tests serve as a form of executable system documentation
×Regression testing is continuously supported by the growing test suite
×TDD is difficult to apply when reusing large legacy code components
×Every code increment has at least one associated test - high code coverage
×Test-driven development may be ineffective with multithreaded systems
TDD Benefit
TDD Limitation

Which of the following are documented benefits of TDD, and which are documented limitations? Classify each.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


System Testing - Emergent Behavior

1 pts
volume_mute

A development team integrates an encryption module with a mobile device sync module. During system testing, they discover the system correctly enforces that records must always be encrypted before syncing to a mobile device - a behavior not present in either module alone. They also find that occasionally a sync operation corrupts a record if interrupted mid-transfer. Which statement correctly describes these two findings?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Acceptance Testing Stages - Correct Order

1 pts
volume_mute

A customer is about to begin formal acceptance testing of a new hospital information system. Which correctly shows the order of the six acceptance testing stages?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Automated vs. Manual Testing - Key Advantage

1 pts
volume_mute

What is the most significant practical advantage of automated testing over manual testing?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Mock Objects - Purpose and Use

1 pts
volume_mute

A team is implementing a component that sends emails via an external SMTP server. During unit testing, they do not want to send real emails but still need to verify that their component correctly formats and triggers email sends. What is the most appropriate approach?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Scenario Testing - Multiple Requirements Coverage

1 pts
volume_mute

The Mentcare home visit scenario for nurse George tests seven different system features in one narrative. What key advantage does this demonstrate over testing each requirement in isolation?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Guideline-Based Testing for Sequences

1 pts
volume_mute

Which three guidelines are recommended for testing programs that process sequences or arrays?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


User Testing - Working Environment Impact

1 pts
volume_mute

A hospital patient information system passes all system tests and release tests in the developer's lab. During user testing in the hospital, nurses report that the system is unreliable and slow during busy periods. What does this illustrate?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Comprehensive Classification of Testing Concepts

1 pts
volume_mute
Statements
×Checks system delivers specified functionality; performed by a separate team
×Includes alpha, beta, and acceptance testing
×Primarily a defect testing process, interleaved with debugging
×Performed by the development team; includes unit, component, and system testing
×Essential because the developer cannot replicate the real working environment
Development testing
Release testing
User testing

Classify each statement as belonging to development testing, release testing, or user testing.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation