Question: Create a python program for the given problem. Part 1: Searching Algorithm Program A: Binary Search Suppose you have the following list of numbers to

 Create a python program for the given problem. Part 1: Searching

Create a python program for the given problem. Part 1: Searching Algorithm Program A: Binary Search Suppose you have the following list of numbers to search: [19. 1. 9. 7. 3. 10. 13. 15. 8. 12] This list is to be searched using binary search as described in this laboratory activity. Search for 10. List down the step by step procedure using binary search Search for 9. List down the step by step procedure using binary search Program B: Algorithm Analysis What is the best case, worst case, and average case complexity of binary search algorithms? Part 2; Python Programming Create a program for the given scenario using binary search algorithm. The user wanted to create a python program that would compute for the student grades. The input requires 5 student names and their corresponding grades in computer programming. The program consists of each prelim, midterm and final grade that will require inputting student grades such as quiz. laboratory exercises and exam. Put a remark each term (prelim, midterm. final). if the grade belongs 50 to 100, remarks the word "Passed". if grade belongs to 0 to 49.9, remarks the word "Failed" otherwise "Out of Range". The formula below show the following computation: Prelim Grade = Quiz * 25% + Lab. Exercise * 25% + Prelim Exam * 50% Midterm Grade = Quiz * 25% + Lab. Exercise * 25% + Midterm Exam * 50% Total Midterm Grade = 1/3 Prelim Grade + 2/3 Midterm Grade Final Grade = Quiz . 25% + Lab. Exercise . 25% + Final Exam * 50% Total Final Grade = 1/3 Midterm Grade + 2/3 Final Grade List of Components: [1] Quiz [2] Lab. Exercise Select: [3] Exam Grade (Prelim. Midterm. Final) Search for a grade

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!