Boundary value analysis

Assignment Help Data Structure & Algorithms
Reference no: EM1380636

Several functions have an almost infinite number of input values. Testing all of these values is not possible in most cases, and doesn't necessarily tell us more than testing a few values. How do you choose the best values to test? Equivalence class partitioning can be used to divide the test inputs into classes so that each class contains the same kinds of input (in another word, you may only need to test one input from each class), thus reducing the number of test cases to a manageable size. For example, if the specification of one program is: "Design a program that accepts inputs of ASCII strings (arbitrary long) and breaks the input into lines of 60 characters". The requirement for the testing group is to generate a three test cases for test this program. OK, then you can generate the following two inputs: the first input with 40 ASCII characters and the second input with 30 characters. Now you want to design the third input, how long should it be? 16 characters or 100 characters? If you do not use partition method, you may feel it is better to generate a 100 character input for testing. But it is not systematic. A systematic approach will generally divide the input space for the above program into three "equivalence" classes:

1. inputs with less than 60 characters
2. the input with 60 characters
3. inputs with more than 60 characters

Furthermore, you may further divide the third classes into more classes: inputs whose length is long than 60 but less than 120, inputs whose length is long than 120 but less than 180, etc...
Thus the general rule for partition testing is:

1. Partition testing separates the input space into classes whose union is the entire space, but the classes may not be disjoint
2. Uniformly chooses one or more test from each class
3. Generate testing cases with Cartesian product by eliminating illegal inputs. This may still lead to huge amount of test cases. For example, if you got 5 inputs (each in a separate partitioned class, for each input/classes, you decide to have 6 values, then you will still get 65=7776 test cases.

My task for this exercise is to use Equivalence Class partitioning and Boundary Value Analysis (which means to test the input at the boundary of the equivalence class partition) to analyze the valid and invalid inputs for Microsoft WinWord or any other software package that you have installed on your computer. If you choose to test different software than WinWord, please make sure that the software has several functions for user input (e.g., the zoom menu that needs user input or the search/replace menu).
As an example (or beginning point), you may use the following divided categories for WinWord "Find" and "Format Font" function.

 

Reference no: EM1380636

Questions Cloud

Question about unix commands : Assume you have a document called records.txt having the list of employee id and workers names. Every line contains a single employee id immediately followed by the employee name in the format Last name, First name.
Find the range of feasibility for the rhs of constraint : Given the following linear programming problem with two non-negative variables (X1 and X2 ), find the range of feasibility for the RHS of constraint 2.
Identify what hr mechanisms can be introduced : Identify what HR mechanisms can be introduced in the international firm today to build a strategic business partnership, close the gap between management and employees while building a cohesive culture that add value
What do you think are the risks involved : What do you think are the risks involved (to HR and the organization as a whole) if HR does not make this a priority and instead remains a purely task-oriented department mostly administrative in nature.
Boundary value analysis : Several functions have an almost infinite number of input values. Testing all of these values is not possible in most cases, and does not necessarily tell us more than testing a few prices.
Contemporary business- accounting and financial statements : Contemporary business- Accounting and Financial Statements- Imagine that you have been selected the treasurer of a local not-for-profit organization. You would like to increase the quality of the organization's financial reporting to existing as we..
Get some practice using minitab to reproduce pie chart : Under this thread, is there a difference in previous use of ethics consultations (PREVUSE) for different medical specialties represented in our sample of doctors.
Auditing focuses on failures : Under normal situations, auditing focuses on failures to access rather than successful accesses. Explain why it might be a good concept to audit successful access to documents in a directory that contains highly confidential documents.
Define methods you would use to examine different markets : Define methods you would use to examine one of these three different markets- consumer, industrial or international markets. What tests would you face to ensure accurate data gathering in the market

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Algorithm to read arbitrary number of data records

Write the algorithm to read arbitrary number of data records, each comprising name, age, and code.

  Find maximum possible amount of money by optimal strategy

Removes it from row permanently, and receives value of coin. Find out the maximum possible amount of money we can definitely win if we move first.

  Difference between formulas and functions

Assume your mother in law heard that you prepared the budget for the high school reunion picnic and has asked if you could help her to make a monthly household budget.

  Question related to normalization

Think about a typical job order that might include the following information. Design a single table to hold all the data needed to store a job order including this information.

  Different applications of data structure

What are the different applications of Data Structure

  Algorithm to keep track of sufficient information

Your algorithm must keep track of sufficient information so that, for any computer Cb it is possible to retrieve in O(n) time a sequence of communications by which Cb could have become infected.

  Server of local hospital to support remote access

Explain the file system that will be installed in the server of your local hospital to support remote access of data through the hospital's doctors while they are using their mobile equipments such as cellular phones or PDAs.

  Identifying the location of rubric objectives

Code Comments are used to identify the location of rubric objectives, Code Formatting is used to raise the readability of the HTML Code.

  Explain the fifo structure of the queue

Explain the FIFO structure of the queue Explain how you would implement the queue data structure in its simplest form. Illustrate your answer fully with the necessary sample code

  Implement bucket sort suing two-dimensional array

Where n is number of values to be sorted. Each row of two-dimensional array is referred to as bucket. Write class named BucketSort containing method called sort.

  Determine computational complexity of algorithm

Describe the algorithm in psuedo-code. You should give thought to what data structures(s) make sense for e client implementation. Determine computational complexity of your algorithm.

  Design a linked list structure

Design a linked list structure Music that contains data fields Name, Artist, Number_of_Songs, and a pointer to the list. Design the structure with three members and fill in data for each member.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd