The design and implementation of a collection class consists of two steps. What is the first step?

A. document the class using docstrings
B. choose an appropriate data structure
C. write the code for the defined methods
D. test the method using sample data

Answer: B

Computer Science & Information Technology

You might also like to view...

An activity diagram for modeling the actions involved in executing a balance inquiry transaction using the BalanceInquiry object should not include:

a. Receiving the user’s main menu input selecting a balance inquiry transaction. b. Retrieving the user’s balance information from the database of accounts. c. Displaying the user’s balance information on the screen. d. All of the above actions should be modeled in this activity diagram.

Computer Science & Information Technology

A website can determine if a user is accessing that site through a mobile device, based on the ____.

A. database B. navigation C. screen width D. resolution

Computer Science & Information Technology