Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Course design content and arrangement 1 . Problem analysis and task definition According to the requirements of the design topic, fully analyze and understand the
Course design content and arrangement
Problem analysis and task definition
According to the requirements of the design topic, fully analyze and understand the problem, and clarify what the problem requires. And not how? What are the restrictions?
Logical design
Define the corresponding data types for the operation objects involved in the problem description, divide the modules according to the principle of data structure, and define the main program modules and each abstract data type. The result of the logical design should be the definition of each abstract data type including the description of the data structure and the functional description of each basic operation the algorithm of each major module, and the invocation diagram between the modules.
Physical design
Define the corresponding storage structure and write out the pseudocode algorithm for each function. In this process, the system functions should be comprehensively considered, so that the system structure is clear, reasonable, simple and easy to debug, the implementation of abstract data types should be data encapsulation as much as possible, and the specifications of basic operations should be as clear and specific as possible. The result of the detailed design is to further refine the data structure and basic operations, write the type definition of the data storage structure, and write the algorithm framework in the form of functions.
Program coding
The results of the detailed design are further refined into programming language programs. At the same time, some annotations and assertions are added to make the logical concepts in the program clear.
Program debugging and testing
It is carried out from the bottom up and divided into modules, that is the lowlevel functions are debugged first. Be proficient in the various functions of debugging tools, design test data to identify doubts, and modify programs to confirm or bypass them. After the debugging is correct, carefully organize the source program and its comments, and form a wellformatted and stylish source program list and results.
Result analysis
The results of the program include the correct input and its output results and the input and output results containing errors, and briefly analyze the temporal and spatial complexity of the algorithm.
Prepare a course design report Problem: Address book with Hashing.
Design an address book hashing based searching supported
Requirements:
Each record has the basic item user name, phone number, mobile phone numberaddress
memo
The address book is initialized from a XSV file.
use mobile phone number and user name item respectively as the keywords and build the
index with hashing
Support searching with the user name and phone number or mobile phone number.
Solve the collision
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