Flowcharts and Pseudocode: Quick and Easy Concepts Quiz Quiz

  1. Identifying Start/End Symbol

    Which flowchart symbol is typically used to represent the Start or End of a process?

    1. Oval (terminator)
    2. Rectangle
    3. Diamond
    4. Parallelogram
    5. Ovale
  2. Understanding Assignment in Pseudocode

    In pseudocode, what does the statement 'total u003C- 0' do?

    1. Assigns 0 to total
    2. Compares total to 0
    3. Adds 0 to total and stores in 0
    4. Outputs the value 0
    5. Divides total by 0
  3. Decision Symbol Recognition

    Which flowchart symbol is used for a Yes/No decision point?

    1. Diamond
    2. Rectangle (process)
    3. Parallelogram (I/O)
    4. Oval (start/end)
    5. Diamand
  4. Tracing a Simple For Loop

    Given the pseudocode 'FOR i FROM 1 TO 3 DO PRINT i END FOR', what is the output order?

    1. 1, 2, 3
    2. 0, 1, 2
    3. 3, 2, 1
    4. 1, 2, 3, 4
    5. 2, 3, 4
  5. Input/Output Symbol

    In a flowchart, which symbol represents input or output operations such as 'Read x' or 'Display x'?

    1. Parallelogram
    2. Rectangle
    3. Diamond
    4. Pentagon
    5. Paralellogram
  6. Evaluating a Simple If Statement

    For the pseudocode 'SET x u003C- 7; IF x u003E 10 THEN PRINT 'High' ELSE PRINT 'Low' END IF', what will be printed?

    1. Low
    2. High
    3. Error
    4. 7
    5. True
  7. Meaning of Flow Lines

    What do the arrows connecting symbols in a flowchart indicate?

    1. The flow of control from one step to the next
    2. Where data is permanently stored
    3. The exact programming language syntax
    4. Network connections between computers
    5. The number of times to loop
  8. Pseudocode Readability Practice

    Which of the following is a good best practice to keep pseudocode easy to read?

    1. Use consistent indentation to show structure
    2. Avoid any whitespace
    3. Randomly capitalize keywords
    4. Write the whole algorithm on one long line
    5. Replace keywords with emoji
  9. Process/Action Symbol

    Which flowchart symbol is used to represent a process or action like 'Calculate total'?

    1. Rectangle
    2. Triangle
    3. Diamond
    4. Parallelogram
    5. Trapezoid
  10. Swapping Two Variables

    Which pseudocode correctly swaps the values of a and b using a temporary variable?

    1. temp u003C- a; a u003C- b; b u003C- temp
    2. temp u003C- b; b u003C- a; a u003C- b
    3. a u003C- b; b u003C- a; temp u003C- a
    4. temp u003C- a; b u003C- a; a u003C- temp
    5. swap(a, b)