The student names and the grades for four test
A) The student names and the grades for four test for Mr. Smith’s class have been placed in parallel arrays. Mr. Smith would like to have one student’s name and test scores printed. Develop a solution that will enter the students name, search for the name in the same array, and then print the name and test scores. Use the sequential-search method.
B) What would have to change in the solution in part A if we were to use a binary search instead of sequential-search method?
C) Modify the solution in part A to use a binary search instead of a sequential search.
Problem Analysis Chart
Given Data | Required Results |
|
. |
Processing Required | Solution Alternatives |
|
|
Interactivity Chart
The IPO Chart
Input | Processing | Module Reference | Output |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Coupling Diagram
S = variable name
Data Dictionary
Item | Variable Name | Data Type | Module | Scope | Pseudonyms | Error Checks |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Algorithm and Flowchart
Algorithms | Flowchart | Annotation | Test |
|
| 1. | |
Internal Documentation | External Documentation | ||
|
| ||
11 years ago
Purchase the answer to view it

- answer.docx