07 - Flowcharts

 1. A flowchart is a diagram that represents a set of instructions. Flowcharts normally use standard symbols to represent the different instructions.



 2. A diamond with two branches is used to show the …
Note: A question is specified in the
diamond. The next step in the sequence is based on the
answer to the question which is “Yes” or “No”.

  process making step in a flowchart

  connector step in a flowchart

  A diamond must never be used in a flowchart

  decision making step in a flowchart.

 3. ______are used to connect the steps in a flowchart, to show the flow or sequence of the problem solving process


  process rectangles



 4. Trace the flowchart's logic to predict the output if A = 845 and B = 247.

  A = 182

  Sum = 25

  Sum = 247

  Sum = 1092

 5. Trace the flowchart's logic to find the profit or loss when CP(Cost Price) = 325 and SP (Selling Price) = 458
Note: If the selling price is more than the cost price, a profit has been made!

  Profit = 133

  Profit = 10

  Loss = 133

  Loss = 10

 6. Analyse the logic of the flowchart and predict what it's function/purpose is.

  A loop that counts from count = 1 to count = 10

  Multiplication table for the number n - e.g. 12

  A program that takes a number N (e.g. 12) and adds it to the number 10, and does so 10 times

  A program that counts from 1 to 12

 7. Can you fill in the blanks for #1, and #3

  #1 Stop #3 Loop

  #1 Decision #3 Sequence

  #1 - Loop #3 Sequence

  #1 -Decision, #3 Loop

 8. Analyse the image with flow Chart symbols and definitions. Are all the explanations correct?

  No, 3 and 4 are the wrong way around

  All of them are incorrect

  Yes, they are all perfect descriptions!

  No, 1 and 2 are the wrong way round

 9. Explain the nature of the loop (iteration) taking place in this flow chart.

  There is no loop in this flowchart

  The program will go on forever until it is halted manually by the user

  The program will only stop if it has reached the end of the loop / already repeated 7 times

  There are several loops in this flowchart and each one loops 10 times

 10. Do the flowchart and the pseudocode match up? Why or why not?
num = 7
for x = 1 to num
    print x  = x + 1

  No, line 3 should be print x * num

  No, line 1 should be num = -1

  No, line 2 should be for x = 7 to end

  Yes, they match up perfectly