Mr Al Gorithms Flashcards
1
Q
What steps can you take to interpret algorithms
A
1) Looking out for identifier names e.g. variables and subroutines
2)identifying the inputs and outputs
3)looking for code comments
2
Q
A
3
Q
What 3 things you should look for while correcting an algorithm
A
1)Incorrect Operators e.g. <
2)Incorrect identifiers e.g. O == 0
3)missing processes e.g. missing lines
4
Q
What 2 things can you do to help complete an algorithm
A
1) interpreting the algorithm
2)drawing a trace table
5
Q
What is a sort algorithm
A
A sort algorithm is a set of instructions to arrange a data set into a particular order
6
Q
A