Question: Question 3 An algorithm is described by the flowchart seen below (Figure 2). Given that x = 54 and y = 63, complete the table

 Question 3 An algorithm is described by the flowchart seen below
(Figure 2). Given that x = 54 and y = 63, complete

Question 3 An algorithm is described by the flowchart seen below (Figure 2). Given that x = 54 and y = 63, complete the table to show the results obtained at each step when the algorithm is applied San Leto Ne Yes Na 8-1-41-0 Figure 2: Flowchart for Question 3 x y Is x even? X=0? Table 2: Answers for Question 3 Detailed Brief for Individual/Group Assessment Task A Question 1 Figure 1 (see below) illustrates a network of paths which can be taken by hikers within a national park. The numbers on each arc reflect the amount of time taken (in minutes) to walk along the corresponding path. For example, it takes 24 minutes for a hiker to walk directly from location to locations 34 11 Figure Metwork of paths and time in to cover routes within the national park a You are required to use Dijkstra's algorithm to identify the quickest route from location to location T. State the quickest route you identified and the time taken to cover that route (7 marks) b. Explain how you determined the quickest route from your labelled diagram. (2 marks) Question 2 Joe is currently investigating a series of bank options to identity which one is offered for the highest interest on his savings. He wants to develop a program according to the following requirements: The number of banks to be compared is entered and stored as a variable. The money to be saved is entered and stored as a variable. The interest is then entered and stored as a variable The interest is calculated by dividing the money to be saved by 100 and then multiplying this by the interest rate The total is calculated by adding the money to be saved) to the interest The total is then the output The program should loop for the entered number of bank accounts Table 1: Journs to select a bank for having 1 2 3 4 5 6 7 You are required to develop an algorithm, using a flowchart which meets Joe's requirements

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 Databases Questions!