Problem Solving: Unit 1 Flashcards
- What is an algorithm?
a precise method for solving a problem.
- What is a sequence?
an ordered set of instructions.
- What are the three points of considering whether an algorithm is successful or not?
- accuracy.
- consistency.
- efficiency.
- What is a high-level programming language?
a programming language that is similar to natural human language.
- What is variable? identifier?
- a ‘container’ used to store data. The data stored in a variable is referred to as a value. The same variable can store different values during a program and each time a program is run.
- What is pseudocode?
what is a flowchart?
- a structured, code-like language that can be used to describe an algorithm is pseudocode.
- The flowchart shows an algorithm as a diagram, using different symbols.
- Who is a developer?
- developer is a person whose job it is to create new software.
- what is the arithmetic operator?
- an operator that performs a calculation on two numbers.
- What is constant?
- a container that holds a value that never changes.
11 .Explain what a flowchart is and how it represents an algorithm.
A flowchart is a graphical representation of an algorithm using various shapes and arrows to depict the sequence of steps required to solve a problem. It helps visualize the flow of control and decision-making processes in an algorithm
Discuss the importance of analyzing algorithm efficiency.
Analyzing algorithm efficiency helps in understanding how resources such as time and memory are utilized by an algorithm.
It assists in choosing the most suitable algorithm for a specific problem,
ensuring optimal performance and resource utilization.