Identify error guessing test cases for the program

Assignment Help Software Engineering
Reference no: EM132847951

ITAP2008 Software Testing - Victorian Institute of Technology

1. Explain what is statement, decision and condition coverage.

2. Use following test cases and Identify the paths that could be tested in the program segment indicated in the Figure 1.
a. A1=2, B=0, X=4
b. A=2, B=1, X=1
c. A=1, B=0, X=2
d. A=1, B=1, X=1

375_Flowchart.jpg

Figure 1. Flowchart for a simple program with multiple conditions

3. Use following scenario and derive equivalence classes for testing. And create a table that shows test case number, test data, expected outcome and class covered.

Grocery Store

Consider a software module that is intended to accept the name of a grocery item and a list of the different sizes the item comes in, specified in ounces. The specifications state that the item name is to be alphabetic characters 2 to 15 characters in length. Each size may be a value in the range of 1 to 48, whole numbers only. The sizes are to be entered in ascending order (smaller sizes first). A maximum of five sizes may be entered for each item. The item name is to be entered first, followed by a comma, then followed by a list of sizes. A comma will be used to separate each size. Spaces (blanks) are to be ignored anywhere in the input.

4. Case Study - MTEST Multiple choice study program

MTEST is a program that grades multiple-choice examinations. The input is a data file named OCR, with multiple records that are 80 characters long. Per the file specification, the first record is a title used as a title on each output report. The next set of records
describes the correct answers on the exam. These records contain a ‘‘2'' as the last character in column 80. In the first record of this set, the number of questions is listed in columns 1-3 (a value of 1-999). Columns 10-59 contain the correct answers for questions 1-50 (any character is valid as an answer). Subsequent records contain, in columns 10-59, the correct answers for questions 51-100, 101-150, and so on.

The third set of records describes the answers of each student; each of these records contains a ‘‘3'' in column 80. For each student, the first record contains the student's name or number in columns 1- 9 (any characters); columns 10-59 contain the student's answers for questions 1-50. If the test has more than 50 questions, subsequent records for the student contain answers 51-100, 101-150, and so on, in columns 10-59. The maximum number of students is 200. The input data are illustrated in Figure 4.4. The four output records are:

1. A report, sorted by student identifier, showing each student's grade (percentage of
answers correct) and rank.
2. A similar report, but sorted by grade.
3. A report indicating the mean, median, and standard deviation of the grades.
4. A report, ordered by question number, showing the percent- age of students answering each question correctly.

Questions

1. Identify test cases
2. Identify boundary value cases related to the student's answers
3. Identify some error guessing test cases for the program.

Reference no: EM132847951

Questions Cloud

What is top-down and bottom-up testing : Explain what are test driver and test stub and why it is required and Explain non-increment and increment testing
Confidence interval of the proportion of americans : In 2013, Gallup conducted a poll and found a 95% confidence interval of the proportion of Americans who believe it is the government
What percent of people spend between 7-23 hours on snapchat : A distribution of weekly hours a sample of 375 people spend on Snapchat follows a normal curve with an average of 15 hours and a standard deviation of 4 hours.
Provide a brief summary of the foreign policy doctrine : Explain the historical circumstances that produced the foreign policy doctrine. Contrast this foreign policy doctrine with pre-WWII U.S. foreign policy.
Identify error guessing test cases for the program : Identify error guessing test cases for the program - create a table that shows test case number, test data, expected outcome and class covered
Determine the type of vehicle and damaged : In all, 480 of a total of 4000 vehicles were returned damaged. Are type of vehicle and damaged/undamaged statistically independent events?
Assignment - Creating and Communicating a Security Strategy : Assignment - Draft - Creating and Communicating a Security Strategy - Describe the business environment and identify the risk and reasoning
Are the outcomes on the two cards independent : You draw two cards from a standard deck of 52 cards without replacing the first one before drawing the second.
What advantage does world current globalization status have : During his segment of "empathize with others," what advice does he give the audience when meeting a stranger who you share seemingly nothing with?

Reviews

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

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