Question
Reference: chapter sections 8.3 and 8.4 (sorting) Chapter sections 8.1 and 8.2 (Searching) a. Create three array of 15+ students records including IDs, the corresponding
Reference: chapter sections 8.3 and 8.4 (sorting) Chapter sections 8.1 and 8.2 (Searching)
a. Create three array of 15+ students records including IDs, the corresponding e-mail addresses, and the corresponding GPAs student IDs not sorted in order.
b. Sort the above data by student IDs using bubble sorting.
c. Sequential Search one ID which is from somewhere in the middle of the sorted array and a second ID which is from near the end of the sorted array and one ID is not from the sorted array.
d. Binary Search one ID which is from somewhere in the middle of the sorted array and a second ID which is from near the end of the sorted array and one ID is not from the array.
e. Execution and output:
1. Display the original unsorted array of student records.
2. Display the sorted array result of student records.
3. Display the sequential search result of student records.
4. Display the binary search result of student records.
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