Introduction to Programming
This worksheet introduces fundamental concepts in computer programming for grade 9 science students, covering basic definitions, control structures, and common programming elements.
Includes
Topics
Introduction to Programming
Name:
Date:
Score:
Read each question carefully and answer to the best of your ability. For multiple choice questions, circle the correct option. For fill-in-the-blanks, write your answer in the space provided. For short answer questions, provide a concise explanation.
1. What is an algorithm?
A type of computer virus
A step-by-step procedure for solving a problem
A programming language
A piece of computer hardware
2. Which of the following is an example of a high-level programming language?
Binary
Assembly language
Python
Machine code
3. A is a set of instructions that a computer can understand and execute.
4. The process of finding and fixing errors in a program is called .
5. All programming languages are the same.
True
False
6. Comments in code are ignored by the compiler or interpreter.
True
False
7. Briefly explain the difference between a compiler and an interpreter.
Use the words below to complete the sentences.
8. A statement allows a program to execute different code blocks based on whether a condition is true or false.
9. A is a storage location paired with an associated symbolic name, which contains some known or unknown quantity of information.