Home / Worksheets / Grade 9 / Science / Introduction to Programming

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.

Grade 9 Science Computer ScienceProgramming
Use This Worksheet

Includes

Multiple ChoiceFill in the BlanksTrue / FalseShort AnswerWord Bank

Topics

CSTA.L3A.AP.01CSTA.L3A.AP.02programmingcomputer sciencegrade 9coding
7 sections · Free to use · Printable
← More Science worksheets for Grade 9

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

A type of computer virus

b

A step-by-step procedure for solving a problem

c

A programming language

d

A piece of computer hardware

2. Which of the following is an example of a high-level programming language?

a

Binary

b

Assembly language

c

Python

d

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.

T

True

F

False

6. Comments in code are ignored by the compiler or interpreter.

T

True

F

False

7. Briefly explain the difference between a compiler and an interpreter.

Use the words below to complete the sentences.

variable
loop
conditional
syntax

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.