cpt week 2 assignment

docx

School

University Of Arizona *

*We aren’t endorsed by this school

Course

CPT301

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

3

Uploaded by AdmiralElephant282

Report
Week Two Assignment Search Program CPT307: Data Structures and Algorithms Denise Smith 11/01/2021
Screenshots:
Run Results: Assignment Overview and notes: Today's Java program is a search-based program's basis is that it assigns numbers from 17 and 45. I used the Boolean data type that shows values: true or false. The code statement will true or false answers and they are derived from whatever the middle index's amount ends up being in by the list that I mentioned earlier. Next, I did output, and it shows that those particular listed of numbers organize in a specific way that a user can select. When I list the numbers in this method it might even change, but if and when they do change, the program still functions in the same appropriate manner. Changing the numbers and search to see if the results a are correct is an awesome feeling and it feels great when you get a program to do what it is supposed to do. Binary search method was less complex than I originally thought and proves to even be useful for other search projects in the future. It was simple to use and had less complexity than past programming projects that are far more tedious to create and actually get them to run properly. I actually enjoyed this week’s work assignment.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help