Question: i and ii 2. The algorithm is to find the smallest of three numbers X, Y, Z. i) Based on the given algorithm below (Figure

 i and ii 2. The algorithm is to find the smallest

i and ii

2. The algorithm is to find the smallest of three numbers X, Y, Z. i) Based on the given algorithm below (Figure 1), draw the flowchart (1 mark) Step 1: Read the numbers X, Y, Z. Step 2: If (X Z) SMALL = Z Step 4: Print The smallest number is ", SMALL. Step 6: Stop. Figure 1 ii) Given X = 10, Y = 20 and Z= 5, trace the execution of the flowchart Fill up Table 1 below with the traced output. Table 1 (2 marks) Step X Y Z BIG 1 10 20 30 2 3 2

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!