1/15
A set of QUESTION_AND_ANSWER flashcards covering definitions, symbols, examples, and activities from the lecture on algorithms and flowcharts.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is an algorithm?
A step-by-step procedure to solve a problem or perform a task; in programming, it’s like a recipe that a computer follows to achieve a specific outcome.
In programming, an algorithm is like a __.
recipe — a clear set of instructions that a computer follows to achieve a specific outcome.
What is a flowchart?
A visual representation of an algorithm that uses symbols and arrows to show the flow of steps in a process.
Why are flowcharts useful?
They make logic easy to follow, help spot errors before coding, and improve communication and planning.
Which symbol represents the start or end of a flowchart?
Oval (terminator).
Which symbol represents input/output in a flowchart?
Parallelogram.
Which symbol represents a process (an action) in a flowchart?
Rectangle.
Which symbol represents a decision in a flowchart?
Diamond.
What is the purpose of arrows in a flowchart?
They are flowlines that show the direction of flow.
What is the flowcharting tip about Start and End symbols?
Every flowchart should start with a Start symbol and end with an End symbol.
What are the steps in the example algorithm for making coffee?
What is the topic of the example flowchart?
Making a Sandwich.
In the sandwich flowchart, what is the sequence after Start?
Get bread → Add filling → Close sandwich → End.
What are the benefits of planning before coding mentioned in the lesson?
Planning with an algorithm or flowchart makes code easier to understand, helps reduce bugs and logic errors, and saves time during development.
What does the activity require students to do?
Choose an everyday task, write a simple algorithm with at least 5 steps, and draw a flowchart of the same task.
Which everyday tasks are suggested for the activity?
Brushing your teeth, ordering food online, logging in to your school account, or making scrambled eggs.