Skip to content
HeadTeacher.ng
Lesson Notes

Lesson Note on Basic Programming II: Algebraic Expression Notations in BASIC for SSS 2

A lesson note on Basic Programming II for SSS 2 covers BASIC notation for algebraic expressions, including roots, brackets, fractions and exponent forms.

Published Reading7 min Comments0

Class: Senior Secondary School 2 (SS2 / SSS2)
Term: Third Term
Week: 5
Age: 16 years
Duration: 45 minutes
Subject: Computer Studies
Curriculum Theme: Programming Concepts
Previous Lesson: Basic Programming II: Built-in Functions and Basic Notations.
Topic: BASIC PROGRAMMING II
Subject Matter: Basic notation, basic notation of algebraic expressions (square root form, bracket expansion, fraction notation, exponent notation, sine expression)

Specific Objectives

By the end of the lesson, pupils should be able to:

Cognitive Domain:

  • Define BASIC notation for algebraic expressions.
  • Identify different standard algebraic expressions.
  • State the rules for converting standard algebraic expressions to BASIC notation.

Affective Domain:

  • Appreciate the importance of correct notation in programming.
  • Develop an interest in writing accurate program statements.

Psychomotor Domain:

  • Convert various standard algebraic expressions into their equivalent BASIC notation.
  • Write BASIC statements for given mathematical formulas.

Social Domain:

  • Collaborate with peers to solve problems involving BASIC notation.

Reference Materials

The following resources were used in planning this lesson:

  • Senior Secondary Schools Education Curriculum
  • State Unified Scheme of Work
  • Oyewole, A. (2018). Comprehensive Computer Studies for Senior Secondary Schools 2. Learn Africa Plc.

Instructional Materials

The teacher will teach this lesson with the aid of:

  • Worked examples sheet
  • Whiteboard and markers
  • Calculator
  • Computer system (optional, for demonstration)

Rationale for the Lesson

This lesson helps pupils understand how to translate mathematical expressions into a format that computers can process. Mastering BASIC notation is fundamental for writing correct programs that involve calculations, which is an important skill in computer programming.

Prerequisite/Previous Knowledge

Pupils have a basic understanding of algebraic expressions and fundamental arithmetic operations. They also have an introductory knowledge of BASIC programming concepts.

Lesson Content/Board Summary

BASIC NOTATION OF ALGEBRAIC EXPRESSIONS

Introduction to BASIC Notation

BASIC (Beginner’s All-purpose Symbolic Instruction Code) is a programming language that uses specific symbols and rules to represent mathematical operations and expressions. Translating standard algebraic expressions into BASIC notation is essential for writing computer programs that perform calculations.

Rules for BASIC Notation

The following rules guide the conversion of algebraic expressions to BASIC notation:

  • Operators:
    • Addition: +
    • Subtraction: -
    • Multiplication: * (asterisk, not ‘x’)
    • Division: / (forward slash)
    • Exponentiation: ^ (caret) or **
  • Order of Operations (BODMAS/PEMDAS): BASIC follows the standard order of operations. Parentheses () are used to group expressions and override this order.
    • Brackets/Parentheses
    • Orders (Exponents)
    • Division and Multiplication (from left to right)
    • Addition and Subtraction (from left to right)
  • Functions: Many mathematical functions have specific BASIC equivalents.
    • Square Root: SQR(X) or X^0.5
    • Sine: SIN(X) (X in radians)
    • Cosine: COS(X) (X in radians)
    • Tangent: TAN(X) (X in radians)
    • Absolute Value: ABS(X)
  • Implicit Multiplication: In algebra, 2x means 2 * x. In BASIC, multiplication must always be explicitly stated, e.g., 2 * X.

Examples of BASIC Notation

Example 1: Bracket Expansion and Exponent Notation

Convert the expression (a + b)² / c into BASIC notation.

Solution:

Step 1: Identify the components and operations. We have addition, exponentiation, and division.

Step 2: Convert the addition within the bracket: (A + B).

Step 3: Apply the exponentiation: (A + B)^2.

Step 4: Perform the division: (A + B)^2 / C.

Therefore, (a + b)² / c in BASIC notation is (A + B)^2 / C.

Example 2: Fraction Notation and Square Root

Convert the expression √(x + y) / z into BASIC notation.

Solution:

Step 1: Identify the components and operations. We have addition, square root, and division.

Step 2: Convert the addition within the square root: (X + Y).

Step 3: Apply the square root function: SQR(X + Y).

Step 4: Perform the division: SQR(X + Y) / Z.

Therefore, √(x + y) / z in BASIC notation is SQR(X + Y) / Z.

Example 3: Sine Expression with Multiple Operations

Convert the expression 5sin(A) + B * C into BASIC notation.

Solution:

Step 1: Identify the components and operations. We have multiplication (implicit), sine function, addition, and another multiplication.

Step 2: Convert the sine function: SIN(A).

Step 3: Apply the implicit multiplication: 5 * SIN(A).

Step 4: Convert the second multiplication: B * C.

Step 5: Perform the addition: 5 * SIN(A) + B * C.

Therefore, 5sin(A) + B * C in BASIC notation is 5 * SIN(A) + B * C.

Teaching Methods/Instructional Techniques

Discussion, Lecture, Demonstration, Question and Answer, Visual Aids

Instructional Procedures

Step 1: Introduction

Time: 5 minutes
Teaching Skill: Set Induction
Teacher’s Activity: The teacher greets the pupils and asks them to recall basic algebraic expressions and their components (variables, operators, constants). The teacher then introduces the topic: “BASIC Notation of Algebraic Expressions.”
Pupils’ Activity: Pupils respond to the teacher’s questions and listen attentively.
Learning Point: Pupils recall prior knowledge of algebra, which connects to the new topic.

Step 2: Explanation of BASIC Notation

Time: 10 minutes
Teaching Skill: Explanation/Demonstration
Teacher’s Activity: The teacher explains what BASIC notation is and why it is important in computer programming. The teacher introduces the basic arithmetic operators in BASIC (+, -, *, /, ^) and emphasizes the importance of explicit multiplication.
Pupils’ Activity: Pupils listen and take notes, asking questions for clarification.
Learning Point: Pupils understand the fundamental concept and basic operators of BASIC notation.

Step 3: Notation for Arithmetic Operations and Brackets

Time: 7 minutes
Teaching Skill: Explanation/Demonstration
Teacher’s Activity: The teacher demonstrates how to convert simple algebraic expressions involving addition, subtraction, multiplication, division, and exponents, highlighting the use of parentheses to control the order of operations.
Pupils’ Activity: Pupils observe the examples and try simple conversions on their own.
Learning Point: Pupils learn to correctly apply BASIC operators and parentheses.

Step 4: Notation for Fractions and Square Roots

Time: 7 minutes
Teaching Skill: Demonstration/Practice
Teacher’s Activity: The teacher explains how to represent fractions using division (e.g., A/B) and how to use the SQR() function or exponentiation (e.g., X^0.5) for square roots, providing clear examples.
Pupils’ Activity: Pupils practice converting expressions involving fractions and square roots.
Learning Point: Pupils gain proficiency in handling fractions and square roots in BASIC notation.

Step 5: Notation for Trigonometric Functions

Time: 7 minutes
Teaching Skill: Explanation/Illustration
Teacher’s Activity: The teacher introduces common trigonometric functions like SIN(), COS(), and TAN() in BASIC, explaining that angles are typically in radians. The teacher provides examples of expressions combining these functions with other operations.
Pupils’ Activity: Pupils learn about trigonometric functions in BASIC and their usage.
Learning Point: Pupils can convert expressions with trigonometric functions into BASIC notation.

Step 6: Worked Examples and Practice

Time: 7 minutes
Teaching Skill: Guided Practice
Teacher’s Activity: The teacher presents a variety of algebraic expressions (e.g., from the worked examples sheet) and guides the pupils through their conversion into BASIC notation, encouraging them to explain their steps.
Pupils’ Activity: Pupils actively participate in solving the examples and ask questions where they need help.
Learning Point: Pupils apply the learned rules to a range of complex expressions.

Step 7: Evaluation/Review

Time: 5 minutes

Teaching Skill: Questioning/Assessment

Teacher’s Activity: The teacher evaluates the learning by asking the following questions:

  1. Define BASIC notation for algebraic expressions.
  2. Convert the algebraic expression (x + y) * (x – y) into BASIC notation.
  3. State the BASIC notation for the square root of a variable ‘P’.
  4. Convert the expression (a + b) / (c * d) into BASIC notation.

Pupils’ Activity: Pupils answer orally and in writing.

Learning Point: Pupils demonstrate understanding of the lesson.

Step 8: Conclusion

Time: 2 minutes
Teaching Skill: Summarization
Teacher’s Activity: The teacher summarizes the key points of the lesson, reiterating the importance of correct notation in programming. The teacher assigns homework, asking pupils to convert a few given algebraic expressions into BASIC notation.
Pupils’ Activity: Pupils listen to the summary and copy down the homework assignment.
Learning Point: Pupils consolidate their understanding and prepare for further practice.

Lesson Keywords

  • BASIC – Beginner’s All-purpose Symbolic Instruction Code, a programming language.
  • Notation – A system of symbols and rules used to represent information.
  • Algebraic Expressions – Combinations of variables, constants, and operators.
  • Operators – Symbols representing mathematical operations (+, -, *, /, ^).
  • Exponent – A number indicating how many times a base number is multiplied by itself.
  • Square Root – A number that, when multiplied by itself, gives the original number.
  • Sine – A trigonometric function used in mathematics.

Differentiation

For struggling learners, the teacher will provide simpler expressions and offer one-on-one guidance, breaking down conversions into smaller steps. Advanced learners will be given more complex expressions involving multiple functions and nesting, and encouraged to explore other BASIC mathematical functions.

Note for teachers using this lesson plan

Ensure pupils understand the concept of operator precedence and the critical role of parentheses. Emphasize that implicit multiplication in algebra must be explicit in BASIC. Practical demonstration on a computer (if available) can significantly enhance understanding.

Export this post
Lesson Note on Basic Programming II: Algebraic Expression Notations in BASIC for SSS 2
About the author

Royal Alikor

Royal Alikor is an educator with six years of classroom teaching and three years of elementary school leadership experience. He develops and reviews practical, curriculum-aligned learning materials for Nigerian schools.

Community Join the conversation Open discussion +