Question: 3 Study the following flowchart: START t = 0, er- INPUT num No No IS num >= ? r-r+ 1 IS r > 2? Yes

 3 Study the following flowchart: START t = 0, er- INPUT

num No No IS num >= ? r-r+ 1 IS r >

3 Study the following flowchart: START t = 0, er- INPUT num No No IS num >= ? r-r+ 1 IS r > 2? Yes Yes t.t + num na n + 1 No IS E > -507 Yes t_n OUTPUT a &" and " &r STOP (a) Give the output from the system when the following data is entered: -3 4 126 20 -1 12 Show your working by completing the trace table, or showing your working through the algorithm. Output: Working: n [6] (b) A section of the flowchart has been written as the following pseudocode: input num if num > then -p+1 endir (1) State three different types of test data, [3] (1) For each type of test data identified in part (0), give an example of the test data that could be used to test the pseudocode algorithm. 2 2 [3] 3 Study the following flowchart: START t = 0, er- INPUT num No No IS num >= ? r-r+ 1 IS r > 2? Yes Yes t.t + num na n + 1 No IS E > -507 Yes t_n OUTPUT a &" and " &r STOP (a) Give the output from the system when the following data is entered: -3 4 126 20 -1 12 Show your working by completing the trace table, or showing your working through the algorithm. Output: Working: n [6] (b) A section of the flowchart has been written as the following pseudocode: input num if num > then -p+1 endir (1) State three different types of test data, [3] (1) For each type of test data identified in part (0), give an example of the test data that could be used to test the pseudocode algorithm. 2 2 [3]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Lets work through the problem step by step a Trace Table and Output Given the inputs 3 4 12 6 20 1 1... View full answer

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!