20.01.2017 Views

The other instructor loves the Visual Flowchart you produced. But he would really like it to be able to handle multiple students instead of just one at a time

The other instructor loves the Visual Flowchart you produced. But he would really like it to be able to handle multiple students instead of just one at a time

The other instructor loves the Visual Flowchart you produced. But he would really like it to be able to handle multiple students instead of just one at a time

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Buy <strong>he</strong>re:<br />

http://student.land/<strong>t<strong>he</strong></strong>-<strong>o<strong>t<strong>he</strong></strong>r</strong>-<strong>instruc<strong>to</strong>r</strong>-<strong>loves</strong>-<strong>t<strong>he</strong></strong>-visual-flo<br />

wchart-<strong>you</strong>-<strong>produced</strong>-but-<strong>he</strong>-<strong>would</strong>-<strong>really</strong>-<strong>like</strong>-<strong>it</strong>-<strong>to</strong>-<strong>be</strong>-<strong>able</strong><br />

-<strong>to</strong>-<strong>handle</strong>-<strong>multiple</strong>-<strong>students</strong>-<strong>instead</strong>-<strong>of</strong>-<strong>just</strong>-<strong>one</strong>-<strong>at</strong>-a-<strong>time</strong>-<br />

1/<br />

Using <strong>Visual</strong> Logic Version 2.2.10.267<br />

<strong>T<strong>he</strong></strong> <strong>o<strong>t<strong>he</strong></strong>r</strong> <strong>instruc<strong>to</strong>r</strong> <strong>loves</strong> <strong>t<strong>he</strong></strong> <strong>Visual</strong> <strong>Flowchart</strong> <strong>you</strong> <strong>produced</strong>. <strong>But</strong> <strong>he</strong> <strong>would</strong> <strong>really</strong> <strong>like</strong> <strong>it</strong> <strong>to</strong> <strong>be</strong><br />

<strong>able</strong> <strong>to</strong> <strong>handle</strong> <strong>multiple</strong> <strong>students</strong> <strong>instead</strong> <strong>of</strong> <strong>just</strong> <strong>one</strong> <strong>at</strong> a <strong>time</strong>. He has asked <strong>you</strong> <strong>to</strong> expand <strong>t<strong>he</strong></strong><br />

program so th<strong>at</strong> <strong>multiple</strong> <strong>students</strong> and <strong>t<strong>he</strong></strong>ir test scores and results can <strong>be</strong> s<strong>to</strong>red.<br />

Starting w<strong>it</strong>h a valid flowchart from Week Three (<strong>you</strong> may start w<strong>it</strong>h <strong>t<strong>he</strong></strong> Week Three example<br />

posted), arrays will need <strong>to</strong> <strong>be</strong> added. Arrays must <strong>be</strong> used so <strong>t<strong>he</strong></strong> flowchart logic can keep track<br />

<strong>of</strong> mulltiple <strong>students</strong>, each w<strong>it</strong>h up <strong>to</strong> five test scores and a final. So, cre<strong>at</strong>e and use arrays for<br />

<strong>t<strong>he</strong></strong> student's names, tests scores and final test scores. <strong>T<strong>he</strong></strong> arrays must <strong>be</strong> <strong>able</strong> <strong>to</strong> s<strong>to</strong>re <strong>at</strong> least<br />

ten <strong>students</strong> and <strong>t<strong>he</strong></strong>ir various scores. Individual test scores or <strong>t<strong>he</strong></strong> average scores can <strong>be</strong> s<strong>to</strong>red<br />

in <strong>t<strong>he</strong></strong> array. If <strong>t<strong>he</strong></strong> first option is selected, <strong>t<strong>he</strong></strong> test scores array will need <strong>to</strong> <strong>be</strong> five <strong>time</strong>s <strong>t<strong>he</strong></strong> size<br />

<strong>of</strong> <strong>t<strong>he</strong></strong> student name array.<br />

<strong>T<strong>he</strong></strong> following logic midific<strong>at</strong>ions will need <strong>to</strong> <strong>be</strong> added:<br />

1. Cre<strong>at</strong>e an outer loop based on <strong>t<strong>he</strong></strong> name input. <strong>T<strong>he</strong></strong> loop control should <strong>be</strong> based on <strong>t<strong>he</strong></strong> size<br />

<strong>of</strong> <strong>t<strong>he</strong></strong> array (do not go past <strong>t<strong>he</strong></strong> end <strong>of</strong> <strong>t<strong>he</strong></strong> array).


2. A decision st<strong>at</strong>ement <strong>just</strong> after <strong>t<strong>he</strong></strong> name entry will c<strong>he</strong>ck <strong>to</strong> see if <strong>t<strong>he</strong></strong> flowchart should<br />

continue. A blank name ("" - two sets <strong>of</strong> double quotes) will cause <strong>t<strong>he</strong></strong> input logic <strong>to</strong> end (name<br />

entry sentinel value).<br />

3. <strong>T<strong>he</strong></strong> test score entry logic does not change, except for <strong>t<strong>he</strong></strong> use <strong>of</strong> arrays for <strong>t<strong>he</strong></strong> test scores or<br />

average.<br />

4. Once all input is completed (no output until all input is finis<strong>he</strong>d), <strong>t<strong>he</strong></strong> flowchart output should<br />

display <strong>t<strong>he</strong></strong> <strong>t<strong>he</strong></strong> name, <strong>t<strong>he</strong></strong> test average, <strong>t<strong>he</strong></strong> final test score, and <strong>t<strong>he</strong></strong> correct letter grade (up <strong>to</strong><br />

<strong>one</strong> point will <strong>be</strong> added back <strong>to</strong> <strong>you</strong>r score if <strong>you</strong> add + and - letter grade logic). not changed.<br />

5. Loops are required w<strong>he</strong>n using arrays. This is for both <strong>t<strong>he</strong></strong> input and <strong>t<strong>he</strong></strong> output. You can<br />

modify last week's <strong>Visual</strong> Logic flowchart or cre<strong>at</strong>e a new <strong>one</strong>.<br />

Please subm<strong>it</strong> <strong>t<strong>he</strong></strong> .vls file and metaflowchart.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!