Previous Lesson
PDF

Objective

By the end of this lesson, you will be able to understand and apply basic arithmetic concepts in coding.

Materials and Prep

  • Pen or pencil
  • Blank paper
  • Calculator (optional)
  • No prior knowledge required

Activities

  1. Activity 1: Introduction to Arithmetic in Coding

    Start by explaining that arithmetic is an important part of coding. It helps us perform calculations and manipulate numbers in our programs. Ask the student to think of a simple calculation they would like to perform, such as adding two numbers.

    Once they have chosen a calculation, guide them through writing a simple code snippet to perform the calculation. For example, if they want to add 5 and 3, they can write:

    result = 5 + 3;

    Explain that the result variable will store the sum of 5 and 3, which is 8. Encourage the student to experiment with different calculations and see the results.

  2. Activity 2: Arithmetic Operators

    Introduce the basic arithmetic operators used in coding: addition (+), subtraction (-), multiplication (*), and division (/). Explain what each operator does and how it can be used to perform calculations.

    Ask the student to come up with their own arithmetic expressions using these operators. For example, they can try:

    result = 10 - 4;

    Encourage them to explore different combinations of numbers and operators to see the results.

  3. Activity 3: Order of Operations

    Explain the concept of order of operations in arithmetic. Teach the student the acronym PEMDAS (Parentheses, Exponents, Multiplication and Division from left to right, Addition and Subtraction from left to right).

    Provide them with some arithmetic expressions and ask them to solve them using the correct order of operations. For example, they can try:

    result = 4 + 3 * 2;

    Guide them through the steps of solving the expression correctly to get the result of 10.

Third Grade Talking Points

  • "Coding is like giving instructions to the computer to perform tasks."
  • "Arithmetic is important in coding because it helps us perform calculations and manipulate numbers in our programs."
  • "We can use arithmetic operators like addition, subtraction, multiplication, and division in coding."
  • "The order of operations tells us the sequence in which different arithmetic operations should be performed."
  • "We can use parentheses to change the order of operations and prioritize certain calculations."

Ask a question about this lesson

Loading...

Related Lesson Plans

How to Learn Any TikTok Dance: Easy Step-by-Step Tutorial Guide for Beginners

Master trending TikTok dances with this easy-to-follow, step-by-step guide! Learn how to choose a dance, break down move...

How to Roller Skate for Beginners: Easy Step-by-Step Lesson on Safety, Balance, Gliding & Stopping

Master the roller skating basics with our easy-to-follow guide for beginners! Learn essential safety tips, how to balanc...

Learn Cheer Basics: Easy Guide to Motions, Jumps & Your First Cheer for Beginners

Learn fundamental cheerleading basics! This beginner's guide covers warm-ups, sharp arm motions (High V, Low V, T), a ba...

Step-by-Step Gel-X Tutorial for Beginners: Create Your First Nail Art Set

Learn to apply flawless Gel-X nails at home with our complete lesson plan for beginners. This guide covers everything fr...

Blog Writing 101: Learn How to Structure Posts, Brainstorm Ideas, and Write Engaging Introductions for Beginners

Start your blogging journey with this comprehensive beginner's guide. Learn the essential anatomy of a successful blog p...

Easy Procreate Animation Tutorial for Beginners | A Step-by-Step Lesson Plan

Learn to bring your drawings to life with this easy Procreate animation lesson plan for beginners. Our step-by-step guid...