# Programming Languages > Ninth graders build programming knowledge by exploring the main kinds of programming languages - block, scripting, compiled, and more - what each is good for, and how they differ. **Computer Science** | **Grade 9** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g9-cs-programming-languages.html* Ninth graders explore the landscape of programming languages, from block-based and scripting languages to compiled ones, learning what each is good for and why so many exist. **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… - Name kinds of **languages**. - Tell **compiled from interpreted**. - Match a language to a **job**. - See why many exist. There are hundreds of programming languages, and that is on purpose. What are the main kinds, how do they differ, and how do you pick the right one for a job? ## Explore the Languages Project this and open each card to explore the main kinds of programming languages and what each is good for. ## 50 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — So Many Languages Python, JavaScript, Scratch, C++. Why are there hundreds of programming languages instead of just one? #### 👩‍🏫 Teacher Moves - Name languages students know. - Ask why so many. - Set the goal. #### 🎒 Student Actions - Think. - Share. - Get ready. ### Use — Explore the Languages Students explore kinds of languages. #### 👩‍🏫 Teacher Moves - Send students to Explore the Languages. - Open each card. - Name its use. #### 🎒 Student Actions - Explore. - Read. - Say it. ### Modify — Pick the Right Tool Students match a language to a task. #### 👩‍🏫 Teacher Moves - Pick a project idea. - Choose a fitting language. - Say why it fits. #### 🎒 Student Actions - Pick. - Choose. - Say. ### Create — Language Guide Students build a quick guide. #### 👩‍🏫 Teacher Moves - List four languages. - Note what each is good for. - Make a one-page guide. #### 🎒 Student Actions - List. - Note. - Make. ### Reflect — Right Tool, Right Job Students reflect on choosing a language. #### 👩‍🏫 Teacher Moves - What is the difference between compiled and interpreted? - Why do different jobs need different languages? - 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. Compare programming languages and their uses. Create programs in a chosen language. Explain how languages become instructions a computer runs. Choose appropriate tools for a computing task. ## One lesson, every learner ### Multilingual Learners - Language picture cards. - Sentence frame: “___ is good for ___ .” - Explore one kind at a time. ### Support & Access - Start with block vs typed. - Show a short snippet of each. - Add one kind at a time. ### Stretch & Extend - Compare syntax across languages. - Research a language's history. - Match languages to real products. ### What to gather - 📽️Projector / board - 🖼️Language cards - 💻Explore the Languages - 📜Sample code snippets - ✏️Pencils - 🎫Exit-ticket slips ### Key terms - **programming language**: a language used to write instructions for a computer - **syntax**: the rules for how code must be written - **compiled language**: one translated to machine code before it runs - **interpreted language**: one run line by line as it executes - **block-based**: coding by snapping visual blocks together - **scripting language**: a quick-to-write language like Python - **high-level**: a language that reads more like human language - **machine code**: the low-level instructions the CPU runs ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Create: a language guide. Have students pick four programming languages, note what each is good for, and make a one-page guide they can use when choosing a language for a project. A printable programming-languages worksheet is in the Computer Science library. ## Check your understanding **1. What does “programming language” mean?** - a language used to write instructions for a computer *(correct)* - the rules for how code must be written - one translated to machine code before it runs - one run line by line as it executes “programming language” means: a language used to write instructions for a computer **2. Which word means: “the rules for how code must be written”?** - programming language - syntax *(correct)* - compiled language - interpreted language “syntax” means: the rules for how code must be written **3. What does “compiled language” mean?** - a language used to write instructions for a computer - the rules for how code must be written - one translated to machine code before it runs *(correct)* - one run line by line as it executes “compiled language” means: one translated to machine code before it runs **4. Which word means: “one run line by line as it executes”?** - programming language - syntax - compiled language - interpreted language *(correct)* “interpreted language” means: one run line by line as it executes **5. What does “block-based” mean?** - coding by snapping visual blocks together *(correct)* - a language used to write instructions for a computer - the rules for how code must be written - one translated to machine code before it runs “block-based” means: coding by snapping visual blocks together **6. Which word means: “a quick-to-write language like Python”?** - programming language - scripting language *(correct)* - syntax - compiled language “scripting language” means: a quick-to-write language like Python ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g9-cs-programming-languages.html All lessons: https://lessonplans.k12academics.com/