Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

American Public School Finance

Authors: William A. Owings, Leslie S. Kaplan

1st Edition

0495807834, 9780495807834

Students also viewed these Databases questions

Question

Why are people willing to work overtime when they work remote

Answered: 1 week ago