algorithm most important Flashcards
What is an algorithm?
An algorithm is a set of step-by-step instructions to resolve a problem.
What are algorithms used for?
Algorithms are used to plan out the solution to a problem.
How can an algorithm be represented?
An algorithm can be represented both as a flowchart and pseudocode.
What is a flowchart?
A flowchart is a diagram that represents a set of instructions.
What is the correct symbol for a process instruction in a flowchart?
A rectangle is how a process is represented in a flowchart.
What is the correct symbol for an input in a flowchart?A parallelogram is used to show both an input and an output in a flowchart.
A parallelogram is used to show both an input and an output in a flowchart.
What is the correct symbol for an output in a flowchart?
A parallelogram is used to show both an input and an output in a flowchart.
What links each instruction in a flowchart?
Each instruction is linked together with an arrow, to show the direction of flow.
What is the correct symbol for a decision in a flowchart?
A diamond is used to show a decision in a flowchart.
What is pseudocode?
Pseudocode is a way of describing a set of instructions that doesn’t use specific syntax.