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

  Relationship of application development methodologies-models

Explain the relationships between application development methodologies, models, and tools. Compare and contrast the various generations of programming languages.

  How to access the quality of software engineering

How to access the quality of software engineering? what are key points to measure the quality software design.

  Drawing diagram of payroll edi system

Draw diagram of the proposed payroll EDI and EFT system. It is suggested for students to utilize Microsoft Visio to draw the diagram.

  Perform big data query manipulation

Perform big data query manipulation, evaluate various data storage option and type of aggregated data modelling - Carry out research on emerging Big Data

  What is effect of reading up and writing down restrictions

What is the effect of reading up and writing down restrictions imposed by the Bell-LaPadula model? And what is the effect of reading down and writing up restrictions imposed by the Biba model?

  What were consequences of the code hammurabi

What were consequences of the Code Hammurabi for ancient society, and how does this system of justice compare to modern American laws

  What will you do to keep an open mind

If you take your role seriously, what will you do to keep an open mind and try to consider different points of view? Explain. Provide a one-page document on above topic. (2 paragraphs)

  Identify the blocks in the partition for each characteristic

Identify several characteristics that suggest partitions - Identify the blocks in the partition for each characteristic and derive input space partitioning tests

  1you are the vice president of a small community bank who

1.you are the vice president of a small community bank who is being pressured from multiple stakeholders including the

  Discuss key problems associated with using packaged software

Discuss the key problems associated with using packaged software? How can these problems be minimized? Security and fitness of the software.

  Inform the reader of the articles expected contents

An abstract should be clearly written and succinct. Its contents should enable an electronic search to find the article (without the need for the whole article to be searched). The abstract should also inform the reader of the article's expected c..

  What are the phases of the sdlc

What does SDLC stand for? What are the phases of the SDLC? Explain in one or two sentences of your own words what happens in each phase. If problems occur during the SDLC, is it better to identify and solve those problems near the beginning or ..

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