Home / Worksheets / Grade 11 / Science / Grade 11 Programming Fundamentals Worksheet

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.

Grade 11 Science Computer ScienceProgramming
Use This Worksheet

Includes

Multiple ChoiceTrue / FalseFill in the BlanksShort AnswerMatchingImage

Topics

CSTA K-12.3A-AP-18CSTA K-12.3A-AP-19programmingcomputer sciencegrade 11data typescontrol structuresOOP
8 sections · Free to use · Printable
← More Science worksheets for Grade 11

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?

a

Integer

b

Boolean

c

Array

d

Float

2. What is the primary purpose of an 'if-else' statement in programming?

a

To repeat a block of code multiple times.

b

To make decisions and execute different code based on conditions.

c

To store a collection of values.

d

To define a new function.

1. All programming languages are compiled before execution.

T

True

F

False

2. Object-Oriented Programming (OOP) promotes code reusability through inheritance.

T

True

F

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.

Programming code example

Based on the image, what general type of programming language would you classify this as (e.g., imperative, declarative, object-oriented)? Justify your answer.