Flow Chart

Cards (8)

  • What is the purpose of clearly marking the start and end of a program?
    To define the program's boundaries
  • What does the 'wait' command do in a program?
    Pauses the program for a set time
  • How would you check if a switch is 'on' or 'off' in a program?
    By using a decision structure
  • What are the components of a flow chart for a program?
    • Start and end markers
    • Process shapes
    • Decision shapes
    • Flow lines connecting components
  • What happens when a motion sensor activates a light?
    The light stays on for 15 seconds
  • What occurs if no further motion is sensed after the light is activated?
    The light turns off automatically
  • How long does the light stay on after being activated by motion?
    15 seconds
  • What is the relationship between the shapes in a flow chart?
    They represent different types of actions or decisions