Algorithm Design Flashcards
1
Q
Computer Algorithm
A
An algorithm that can be executed by a computer
2
Q
Algorithm
A
A step by step procedure for solving a problem or performing a task
3
Q
What must algorithm steps include?
A
A clear starting and end point
Produces a reliable output based on an appropriate input
4
Q
DIV
A
Integer division eg. 17 div 3 = 5
5
Q
MOD
A
Remainder division eg. 17 mod 3 = 2