Introduction to Programming
This worksheet introduces fundamental concepts of computer programming for 7th-grade science students, covering algorithms, variables, loops, and conditional statements.
Includes
Topics
Introduction to Programming
Name:
Date:
Score:
Read each question carefully and answer to the best of your ability. This worksheet covers basic programming concepts.
1. What is a set of step-by-step instructions that tells a computer how to perform a task?
A variable
An algorithm
A loop
A conditional
2. Which of the following is used to store data in a computer program?
A function
A variable
A loop
A comment
3. A is a sequence of instructions that is repeated until a certain condition is met.
4. An 'if-then-else' statement is an example of a statement.
5. All computer programs are written in the same programming language.
True
False
6. Debugging is the process of finding and fixing errors in a computer program.
True
False
7. Describe in your own words what an algorithm is and give a simple real-life example.
8. Explain the difference between a 'for' loop and a 'while' loop in programming.