Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
24 Cards in this Set
- Front
- Back
Flowcharting Standard Process:
|
Input Data, process/computation, output
|
|
3 kinds of flow charts
|
Sequential
Selection/decision loop,repetition, iteration |
|
Flowcharting Guidelines
Review Pg. 105 of Packet |
yes do it now!
|
|
Decision Diamonds are tests of equality and either return true or false?
|
true!
|
|
you should generally use long variable names when flowcharting.
|
false!
short-it allows you to keep them compact and easy to draw |
|
variable names SHOULD NOT be separated by spaces
|
true
|
|
flowcharts should always include a legend to show sort variable and their associated meanings
|
true
|
|
Programs usually consist of 5 fundamental "flow control patterns"
|
false!! 3
Sequence Selection/Decision Iterating/Repetition/(loop) |
|
flow control patterns regardless of which they are, always have 1 input and 1 output
|
true
|
|
the various flow control patterns cannot be combined to solve a prolbem or create a program
|
false! ANY program can be written using 1 or all of these combined in some way
|
|
goto
|
obsolete programming control feature that allowed programmers to jump all over their flowchart--made it very confusing and difficult to maintain and update programs . goto is a bad practice because it removes the linear movement through a program
|
|
conceptually every If-Then statement has __ parts. What are they?
|
4
diamond (logical Test) true branch (do-if-true) false branch (do-if-false) end (represented by the connection circle) Every diamond has 1 corresponding connection circle |
|
the ____ loop is the most common type of repetition structure
|
while loop
|
|
inputs can come from ___ sources.
|
2--distinguised on the flowchart by "input" (from user) and "Input from setupe" (previously stored from computer)
Users or from data stored in a setup section (computer) |
|
what are the 2 kinds of inputs?
|
Initial
Control--Input entered ATER algorithim has began |
|
to get loop termination condition correct, it can be helpful to track teh changing values of variables within the algo with one or more test cases
|
true--called a loop termination table
|
|
Review Narratives & corresponding Flow Charts--Pay attention/memorize the symbols for each part of the flowchart
|
<b>yes do it now!
pg.116-119 in packet |
|
Where does flowcharting fit in to system dev?
|
Analysis
Design Implementation |
|
FlowCharting Sequence
|
START
Input Perform Algorithm Output END |
|
Algorithm is
|
the Logic & Calculations and how and when things are supposed to happen to produce the desired output using the input
|
|
Do the Practice Flowcharting Problems from Blackboard
|
<b>yes do it now!
|
|
Inputs can sometimes be includes with outputs?
|
true!
outputs need a logical association with something the user can understand. inputs placed with outputs have () placed around them to distinguish them |
|
3 types of output exist for flowcharts
|
Display
Prompt |
|
although variables can be included in input/output symbols, in ordert o keep the flowchart simple and compact, field labels are NOT included. These are added after flowcharting, when the algo in the flowchart is dev. into a physical system.
|
true
|