ITAP2008 Software Testing Assignment

Assignment Help Software Engineering
Reference no: EM132847902

ITAP2008 Software Testing - Victorian Institute of Technology

Lab - 1

1. What is software testing?
2. Why do you think software testing is highly important for a software development project?
3. List the steps of Software Testing Life Cycle and write a short description what you would do in each phase.
4. Differentiate the terms bug, fault and failure.
5. Find out a software project which failed due to lack of testing. Write a description about the found project highlighting the details of the project and why and how the project failed due to lack of software testing. (submit output for this question via the Moodle. This worth 2 marks and the marks will be added to your final grade.)

Lab - 2

1. List and describe each stages of the Software Testing Life Cycle (STLC).
2. Software inspections are widely used for verification. What are the benefits of inspection? What kinds of errors will inspection catch that testing cannot?
3. Some companies exclude all management from code inspections. What are the advantages and disadvantages of this rule?
4. Briefly describe each of the following approaches for structuring an inspection meeting. What are the advantages of each?
i. Using a checklist
ii. Conducting a walkthrough
5. What factors reduce the effectiveness of inspections? What can be done to address these problems?
6. Explain the role of the Moderator in an inspection team.
7. Imagine you work for an aerospace company that used to carry out Fagan inspections of program code, but which now uses an automatic code generation tool that generates programs from design notations. The output of the tool is hard to understand as it is not commented, and is poorly structured. For this reason, the company has cancelled all code inspections and plans to rely on testing as its main verification technique. What are the advantages and disadvantages of this decision?

Lab - 3

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.

Lab - 4

Review Questions
1. What is unit testing?
2. What is a test case?
3. Explain what are test driver and test stub and why it is required?
4. Explain non-increment and increment testing.
5. What is top-down and bottom-up testing?

Practice Questions
1. Unit testing is the process of testing a single program unit (e.g. a procedure) in isolation from the rest of the program. How would you go about choosing test cases for unit testing?
2. Boeing estimates that half the cost of the software development for the 777 aircraft was
spent on testing, including regression testing. How might this cost be reduced without sacrificing quality?

Reference no: EM132847902

Questions Cloud

Contrast liberalism and realism theories of international : Contrasting liberalism and realism theories of international relations. You need to criticize realism from liberalists perspective and liberalism from realists.
What are the competing definitions of democracy coming out : What are the competing definitions of democracy coming out of the 1800s? Do you think these arguments are still present in American culture today?
List the purposes and uses of the statement of cash flows : List the purposes and uses of the statement of cash flows and discuss the three activities that the statement of cash flows depicts
Identify the most important economic of decades : Identify the most important economic, political, and social developments of these decades, and explain how these changes affected Americans' lives.
ITAP2008 Software Testing Assignment : ITAP2008 Software Testing Assignment Help and Solution, Victorian Institute of Technology - Assessment Writing Service - What is software testing
Find the probability that there will be 5 or less accidents : Find the probability that there will be 5 or less accidents at this intersection. (That is, find P(X = 5)) (round to 4 decimal places) Answer
What is Daniel price-earnings ratio at December : The market price of Daniel's common stock is $52 per share and the market price of its preferred stock is $75 per share. What is Daniel's price/earnings ratio
Analyze america policies toward indians from the washington : Analyze America's policies toward Indians from the Washington administration through the removal of Indians from southeastern states in 1830s and early 1830s.
Addressing the same question result in different answers : -Why might the two different approaches for addressing the same question result in different answers?

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