Americas
Europe
Q1RE
Expert-verifieda.) Define the term algorithm.
b.) What are the different ways to describe algorithms?
c.) What is the difference between an algorithm for solving a problem and a computer program that solve this problem?
a) An algorithm is a finite set of set of rules or instructions that are used to solve a problem or perform a computations.
b) Computer language, pseudocode
c) An algorithm gives a finite set of instruction to solve a problem, while a computer program will use one or more algorithms to solve the problem but will thus not necessarily use the same algorithm each time this problem is solved.
An algorithm is a finite set of rules or instructions that are used to solve a problem or perform a computation.
An algorithm can be described using a computer language or using pseudocode.
An algorithm gives a finite set of instructions to solve a problem, while a computer program will use one or more algorithms to solve the problem but will thus not necessarily use the same algorithm each time this problem is solved.
94% of StudySmarter users get better grades.
Sign up for free