Grade 11 Programming Fundamentals Worksheet
A worksheet covering fundamental concepts in programming for Grade 11 science students, including data types, control structures, and object-oriented programming.
Includes
Topics
Programming Fundamentals
Name:
Date:
Score:
Read each question carefully and provide the best answer. Show your work where applicable.
1. Which of the following is NOT a fundamental data type in most programming languages?
Integer
Boolean
Array
Float
2. What is the primary purpose of an 'if-else' statement in programming?
To repeat a block of code multiple times.
To make decisions and execute different code based on conditions.
To store a collection of values.
To define a new function.
1. All programming languages are compiled before execution.
True
False
2. Object-Oriented Programming (OOP) promotes code reusability through inheritance.
True
False
1. A is a named storage location that holds a value.
2. The process of finding and fixing errors in a program is called .
3. A loop executes a block of code a specific number of times.
1. Briefly explain the difference between a high-level and a low-level programming language.
2. Describe one advantage of using functions in programming.
Match each programming concept on the left with its definition on the right.
1. Algorithm
a. A blueprint for creating objects.
2. Class
b. A step-by-step procedure to solve a problem.
3. Loop
c. A control structure that repeats a block of code.
Observe the image below, which depicts programming code.
Based on the image, what general type of programming language would you classify this as (e.g., imperative, declarative, object-oriented)? Justify your answer.