Programming Fundamentals Flashcards
What’s an algorithm?
Step by step set of instructions for solving a specific problem.
What does decomposition mean(algorithms)
The breaking down of a complex problem into smaller, manageable sub problems
What’s abstraction?
The simplifying of a problem by focusing on essential aspects and ignoring unnecessary details.
How do you interpret pseudocode?
Look for control structures (if, while, for)
Understand variable assignments
Follow logical flow of steps
What’s pseudocode used for?
To represent an algorithm without the use for programming languages.
Why do we use algorithms?
To solve specific problems.
Define efficiency in terms of programs:
Efficiency is how well an algorithm performs in terms of time taken and space used.