Choosing Unit Test Cases - Guideline-Based Testing

Sequence testing guidelines, Whittaker's general guidelines, boundary values, path testing

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

QUESTION OF
Views #: 7
Questions #: 10
Time: 8 minutes
Pass Score: 80.0%
Style
Mode

Sequence Testing Guideline - Single Value

1 pts
volume_mute

One guideline for testing programs with sequences, arrays, or lists states: test the software with sequences that have only a single value. Why is this guideline important?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Sequence Testing Guidelines

1 pts
volume_mute

Which of the following are recommended guidelines for testing programs that process sequences, arrays, or lists? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Why Different Sequence Sizes Matter

1 pts
volume_mute

The guideline recommends using different sequences of different sizes in different tests. What is the primary reason for this?

note_alt Add notes
flag Flag

Correct Answer

Explanation

First, Middle, Last Element Testing

1 pts
volume_mute

A tester is testing a method that finds the maximum value in an array. According to the 'first, middle, last' sequence testing guideline, which test inputs should be included?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Whittaker's General Testing Guidelines

1 pts
volume_mute

Whittaker's book provides general testing guidelines for choosing effective test cases. Which of the following are among his recommended guidelines? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Buffer Overflow Testing

1 pts
volume_mute

A tester deliberately sends 10,000 characters to a text input field that was designed to accept a maximum of 255 characters. Which Whittaker testing guideline does this test follow?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Repeated Input Testing

1 pts
volume_mute

A tester repeatedly submits the same login request 500 times in quick succession to a web application. Which Whittaker guideline does this test apply?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Path Testing Concept

1 pts
volume_mute

Path testing is a testing strategy described as targeting every independent execution path through a component or program. Which of the following correctly describes what path testing achieves when every independent path is executed?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Developing Personal Testing Guidelines

1 pts
volume_mute

The text notes that as a tester gains experience, they can develop their own guidelines about choosing effective test cases. What is the basis for these personal testing guidelines?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Guideline-Based vs. Partition-Based Testing

1 pts
volume_mute

A development team is testing a sorting algorithm. They have already applied equivalence partitioning (testing empty arrays, single elements, already sorted arrays, and large random arrays). Their team lead suggests also testing with arrays that have all identical elements and arrays in reverse-sorted order. What testing approach does the team lead's suggestion represent?

note_alt Add notes
flag Flag

Correct Answer

Explanation