What steps should you take when designing an ADT?
What will be an ideal response?
• Describe the data.
• Identify the ADT’s behaviors.
• Write the behaviors on a CRC card.
• Specify each operation by writing comments and UML; clearly identify assumptions.
• Refine the specifications by considering their behavior under unusual conditions.
• Write an abstract base class.
You might also like to view...
ActiveX controls are identified using the ____ attribute.
A. src B. classelem C. classid D. data
What is the most common method for updating an AP's capabilities?
A. installing a new EEPROM B. downloading new firmware C. sending the AP back to the manufacturer D. rebooting with a new installation CD
The ________ works within the network to determine where data from another network should go
A) packet B) wireless router C) router D) switch
Answer the following statements true (T) or false (F)
1. The binary search tree implementation of the ADT dictionary has a binary search tree as a data member. 2. The add method for the template for TreeDictionary presented in the text does not allow for duplicate entries. 3. It is important to know both what operations are needed for a given application of an ADT dictionary and how often each operation is required. 4. A sorted array-based implementation of the ADT dictionary cannot use a binary search. 5 . A binary search is impractical with a link-based implementation of the ADT dictionary.