


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Question:
What is a computer program? A set of instructions that tells a computer what to do, similar to a recipe.
Question:
What are the three basic parts of a program? Input, Process, Output.
Question:
What does 'Input' refer to in programming? Getting information into the program, such as typing on a keyboard or clicking a
Answer:
button.
Question:
What does 'Process' mean in the context of a program? Doing something with the input information, like calculating or changing data.
Question:
What is 'Output' in programming? The results shown or saved by the program, such as displaying text on a screen.
What is an algorithm? A step-by-step plan for solving a problem, written in plain language.
Question:
What is algorithmic thinking? Breaking down a problem into clear, simple steps to solve it.
Question:
What is a variable in programming? A labeled box that holds information, allowing the program to remember values.
Question:
What must you understand before solving a problem? What information you get (Input), what question you are answering, and what
Answer:
answer you give back (Output).
Question:
What makes a good algorithm? It must be clear, doable, and finishing (it should eventually stop).
Question:
How do you test an algorithm? By using different inputs to ensure it works correctly under various conditions.
Question:
What is pseudocode? Writing the steps of an algorithm in English, not in a programming language.
Question:
What are the steps in algorithm design? Understand what you need, break it into smaller pieces, write pseudocode, and
Answer:
test it.
What should you do before writing code? Plan the algorithm and write it in pseudocode.
Question:
What is the process of calculating an average in pseudocode?
Answer:
Get scores, add them together, divide by the number of scores, and show the result.
Question:
What does 'efficient' mean in the context of algorithms? An algorithm that solves a problem faster, especially with large amounts of data.
Question:
What is the significance of testing algorithms with unusual inputs?
Answer:
To ensure the algorithm works correctly under all possible scenarios.
Question:
What is the relationship between algorithms and programming?
Answer:
Algorithms are the steps written in English, while programming is the algorithm written in code.
Question:
What is an example of a simple algorithm? Finding the biggest number in a list by comparing each number.
Question:
What is the goal of algorithmic thinking? To break problems into manageable steps for effective problem-solving.