Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CS2308 Programming Project 1: The Searching Techniques Reference: Good program examples 8-1, 8-2 and 8-3 (Searching) And study sections 8.1, and 8.2. a. Create three

CS2308

Programming Project 1: The Searching Techniques

Reference:

Good program examples 8-1, 8-2 and 8-3 (Searching)

And study sections 8.1, and 8.2.

a. Create three array of 12+ students records including IDs, student names, and

the corresponding e-mail address, student IDs are sorted in order. (No sort program needed for now.)

b. Sequential Search five IDs which are from the sorted array and a 6th ID which is not from the array.

c. Binary Search five IDs which are from the sorted array and a 6th ID which is not from the array.

d. Execution and output:

1. Display the original sorted array of student records.

2. Display the sequential search result of student records.

3. Display the binary search result of student records.

e. Turn in source programs and the outputs in item (d)

f. The following should apply to all assignments during the semester.

Turn in with hard copy in class only and must be professional and the turn in should include the source Program, and the displayed outputs as described above. Proper messages in the output are required to indicate the execution and different outputs. Turn in all assignments in class. It will have late penalty 10% if your turn-in 30 minutes after class begins and before the class of next assignment due day.

g. Anything not mentioned in this assignment, you are free to do whatever you desire. No need to ask questions.

Needs to be done in c++

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions

Question

Prepare an ID card of the continent Antarctica?

Answered: 1 week ago

Question

What do you understand by Mendeleev's periodic table

Answered: 1 week ago

Question

Calculate the lifetime value (LTV) of a loyal customer.

Answered: 1 week ago

Question

Use service tiering to manage the customer base and build loyalty.

Answered: 1 week ago