COMP 1701
1. What is an algorithm?: A set of steps used to complete a task.
2. What are the main parts of an algorithm?: Input ’Instructions ’Output.
3. What parts of an algorithm are mandatory?: Instructions and a purpose.
4. What is the input in a recipe algorithm?: Ingredients.
5. What is the output in a recipe algorithm?: The completed dish.
6. What is the purpose of a recipe algorithm?: To make food.
7. What is the input in a math function algorithm?: Values.
8. What is the output in a math function algorithm?: The final answer.
9. What does it mean for an algorithm to be clear?: Someone else can follow the steps.
10. What does finite mean in algorithms?: The algorithm does a specific job and stops when
finished.
11. What does complete mean in algorithms?: It works for all possible inputs.
12. What makes an algorithm efficient?: It achieves its purpose with minimal time, steps, and
resources.
13. What makes an algorithm effective?: How well it achieves its purpose.
14. What is one sign of a higher-level algorithm or language?: It usually requires fewer
lines of code.
15. What does high code mean:
16. What is tracing in programming?: Following an algorithm step by step.
17. Tracer log***:
18. What is volatile memory?: Memory that needs power to store data.
Example: ram
19. What is non-volatile memory?: Permanent storage that does not need power.
Example: Hard disks and flash memory.
20. What is a computer program?: A set of instructions for the CPU to execute.
21. What is a high-level programming language?: A language closer to natural language and
easier to understand.
22. What is a low-level language?: A language closer to binary with more direct CPU control.
23. What is machine code?: The computer's native binary language.
24. What is assembly language?: A more readable form of machine code.
1/4
1. What is an algorithm?: A set of steps used to complete a task.
2. What are the main parts of an algorithm?: Input ’Instructions ’Output.
3. What parts of an algorithm are mandatory?: Instructions and a purpose.
4. What is the input in a recipe algorithm?: Ingredients.
5. What is the output in a recipe algorithm?: The completed dish.
6. What is the purpose of a recipe algorithm?: To make food.
7. What is the input in a math function algorithm?: Values.
8. What is the output in a math function algorithm?: The final answer.
9. What does it mean for an algorithm to be clear?: Someone else can follow the steps.
10. What does finite mean in algorithms?: The algorithm does a specific job and stops when
finished.
11. What does complete mean in algorithms?: It works for all possible inputs.
12. What makes an algorithm efficient?: It achieves its purpose with minimal time, steps, and
resources.
13. What makes an algorithm effective?: How well it achieves its purpose.
14. What is one sign of a higher-level algorithm or language?: It usually requires fewer
lines of code.
15. What does high code mean:
16. What is tracing in programming?: Following an algorithm step by step.
17. Tracer log***:
18. What is volatile memory?: Memory that needs power to store data.
Example: ram
19. What is non-volatile memory?: Permanent storage that does not need power.
Example: Hard disks and flash memory.
20. What is a computer program?: A set of instructions for the CPU to execute.
21. What is a high-level programming language?: A language closer to natural language and
easier to understand.
22. What is a low-level language?: A language closer to binary with more direct CPU control.
23. What is machine code?: The computer's native binary language.
24. What is assembly language?: A more readable form of machine code.
1/4