Difference between revisions of "Algorithms"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(What is an Algorithm)
(What is an Algorithm)
Line 1: Line 1:
 
=What is an Algorithm=
 
=What is an Algorithm=
 
An algorithm is a set of instructions designed to perform a specific task. They would normally be written in pseudocode, because they are designed for human use and understanding so they should never be written in a specific programming language. That would make it a program and not an algorithm.
 
An algorithm is a set of instructions designed to perform a specific task. They would normally be written in pseudocode, because they are designed for human use and understanding so they should never be written in a specific programming language. That would make it a program and not an algorithm.
 +
 +
Part of the analysis and design phase of a project is to specify the algorithms required. The implementation stage of a project will convert the pseudocode into the programming language of choice.
  
 
=Analysis and design of algorithms=
 
=Analysis and design of algorithms=

Revision as of 08:57, 23 April 2021

What is an Algorithm

An algorithm is a set of instructions designed to perform a specific task. They would normally be written in pseudocode, because they are designed for human use and understanding so they should never be written in a specific programming language. That would make it a program and not an algorithm.

Part of the analysis and design phase of a project is to specify the algorithms required. The implementation stage of a project will convert the pseudocode into the programming language of choice.

Analysis and design of algorithms

https://www.youtube.com/watch?v=L_PrAWzUp3M&list=PLCiOXwirraUCDWr2XWh7Wg69D7q1Jw6ac&t=2s&index=1

Hand tracing algorithms

https://www.youtube.com/watch?v=CwLnL–66tY&list=PLCiOXwirraUCDWr2XWh7Wg69D7q1Jw6ac&t=3s&index=2

Converting Pseudo code to high level code

https://www.youtube.com/watch?v=ZKQijtMqt_I&index=3&list=PLCiOXwirraUCDWr2XWh7Wg69D7q1Jw6ac

Algorithm Testing and Feedback

https://www.youtube.com/watch?v=OUdTc1Wzh-k&list=PLCiOXwirraUCDWr2XWh7Wg69D7q1Jw6ac&index=4