Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Define the terms software testing, specification - based testing, testability, and failure. 2 . Briefly describe each of the following characteristics as it
Define the terms software testing, specificationbased testing, testability, and failure.
Briefly describe each of the following characteristics as it applies to OO programming userdefined type, data
hiding, abstract class, and polymorphism. For each characteristic state how it affects the testing of OO code.
State the three most important testing lawshypotheses from the Handbook of Software and Systems
Engineering. These can be found in Chapter of the book
Briefly explain the lawhypothesis by Dijkstra
The D&D Corporation requests that you build a software system WizSter that allows customers to download
free software. The software is stored in a decentralized manner, ie each customers computer can be used to
store the software. The D&D Corporation keeps a directory system of where all the free software is stored and
the version of the software. The use case below describes the actions performed by the user when they want to
download a software package.
State any assumptions you make regarding the online store when answering the following questions.
Draw a state machine diagram for the WizSterDownload use case. Use at most states.
Use case WizSterDownload:
The customer visits the WizSters homepage enters the name of the software package to be downloaded.
The system then searches the directory system supported by WizSter and returns a list of software
packages matching the name supplied and their version numbers.
The customer then selects the package to be downloaded by clicking on the package link. No link may be
inactive.
The system then goes to the computer with the IP address associated with the link and starts to download
the file.
When the download is complete, the system displays a message informing the customer.
The customer then acknowledges by clicking the OK button.
Two approaches used to write the specifications for operations between a sender and a receiver object eg
Queue are based on design by contract and defensive design.
a Briefly describe each of the two approaches to writing such a specification.
b State how each approach affects the testing process and relate it to the Queue class where possible.
c Draw a state machine specifying the operations for a Queue.
d Using an IDE eg Eclipse write welldocumented code for the Queue class using the defensive design
approach QueueDD Assume the Queue stores Integer objects with a maximum size of objects. The
Queue must be implemented using a LinkedList from the Java library. If you copy the code from the
Internet or a textbook, please show the reference in the documentation
Please can you answer this question at your best. Thanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started