# Operators & Expressions > Ninth graders learn the operators that build expressions in code — arithmetic (+, %), comparison (==, >), and logical (and, or, not). Operators let programs… **Computer Science** | **Grade 9** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g9-cs-operators.html* Ninth graders learn the operators that build expressions in code — arithmetic (+, %), comparison (==, >), and logical (and, or, not). Operators let programs calculate and make decisions. They match operators to meanings, then evaluate expressions. **Copy link** works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment. ## Everything you need before the bell rings ### Learning Objectives Students will be able to… - Use **arithmetic** operators. - Use **comparison** operators. - Use **logical** operators. - Evaluate expressions. How do programs calculate and compare values? ## Match the Operator Project this and match each operator to what it does — tap the operator, then tap the meaning. ## 55 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — More Than Math How does code decide if you “win” or compute a score? #### 👩‍🏫 Teacher Moves - Pose the question. - Share ideas. - Set the goal. #### 🎒 Student Actions - Think. - Share. - Get ready. ### Use — Operators Students learn. #### 👩‍🏫 Teacher Moves - Send students to Match the Operator. - Match each one. - Note == compares, = assigns. #### 🎒 Student Actions - Match. - Say. - Note it. ### Modify — Evaluate It Students practice. #### 👩‍🏫 Teacher Moves - Evaluate 7 % 3. - Evaluate 5 > 2. - Evaluate True and False. #### 🎒 Student Actions - Modulo. - Compare. - Logic. ### Create — Create Students apply. #### 👩‍🏫 Teacher Moves - Write an expression. - Use a comparison in an if. - Combine with and/or. #### 🎒 Student Actions - Write. - Compare. - Combine. ### Reflect — Reflect Students close. #### 👩‍🏫 Teacher Moves - What does == do? - What does % do? - Complete the exit ticket. #### 🎒 Student Actions - Say it. - Say it. - Complete the exit ticket. ## Built to the standards you report on Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students. Use operators and expressions in programs. Design and develop programs. Evaluate program correctness. Reason about computation. ## One lesson, every learner ### Multilingual Learners - Operator/meaning cards. - Frame: "== checks if ___." - Evaluate examples. ### Support & Access - Match + and ==. - Use 3 operators. - Use examples. ### Stretch & Extend - Use order of operations. - Combine logical operators. - Write a formula in code. ### What to gather - 📽️Screen / board - ➕Operator cards - 💻Match the Operator - 📋Expression worksheet - 📓Notebooks - 🎫Exit-ticket slips ### Key terms - **operator**: a symbol that performs an action - **expression**: code that evaluates to a value - **arithmetic**: + - * / operators - **comparison**: ==, >, < operators - **logical**: and, or, not - **modulo**: % — the remainder - **assignment**: = stores a value - **evaluate**: compute the result ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Reflect: operators & expressions. Have students write and evaluate expressions. A printable expression worksheet is in the CS library. ## Check your understanding **1. What does “operator” mean?** - a symbol that performs an action *(correct)* - code that evaluates to a value - + - * / operators - and, or, not “operator” means: a symbol that performs an action **2. Which word means: “code that evaluates to a value”?** - evaluate - logical - operator - expression *(correct)* “expression” means: code that evaluates to a value **3. What does “arithmetic” mean?** - + - * / operators *(correct)* - ==, >, < operators - % — the remainder - a symbol that performs an action “arithmetic” means: + - * / operators **4. Which word means: “==, >, < operators”?** - evaluate - arithmetic - comparison *(correct)* - expression “comparison” means: ==, >, < operators **5. What does “logical” mean?** - + - * / operators - a symbol that performs an action - ==, >, < operators - and, or, not *(correct)* “logical” means: and, or, not **6. Which word means: “% — the remainder”?** - comparison - modulo *(correct)* - expression - assignment “modulo” means: % — the remainder ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g9-cs-operators.html All lessons: https://lessonplans.k12academics.com/