Skip to main content

7th & 8th Graders Code In Python

In their first computer science project of the year, our 7th and 8th graders took a big step in their journeys as programmers -- moving from block-based to text-based coding. In previous STEM projects, students have used tools that allow them to snap together code "blocks" to make things happen. In this unit, they were responsible for typing commands to tell the computer how to execute actions. The image below shows the difference between text-based coding and block-based coding.

Image result for block based text based coding

While there are many different text-based coding languages, our 7th & 8th graders learned skills in Python, due to its beginner-friendly nature. Still, making this transition is not easy, so students were provided with resources and modules to work through that allowed them to have some starting directions and then challenged them to stretch their thinking by generating their own additions and modifications.

Here's a look at a project, called "Turtle Race," in action: https://trinket.io/python/b0e28100c2

Finally, here are a few photos of work completed by students in Python.












Comments

Popular posts from this blog

Welcome to DCS STEM!

"Q" -- our STEM class mascot Welcome to the DCS STEM homepage. On this page, you can learn about STEM class, see student projects, and discover what students in different sections of class are exploring. Take a look at our class principles below -- these ideas guide our work in all of our STEM activities.

5th & 6th Graders Invent Baby Products!

 During their fall STEM classes, 5th and 6th graders acted as inventors and entrepreneurs as they devised and created prototypes of innovative baby and toddler products. Students began their work by developing a list of potential challenges or problems facing babies and new parents and then selected a problem to try to remedy with a new invention. After developing their concept and thinking about the features of their products, students then built prototypes and created advertisements for their inventions. Finally, students presented their work to their classmates and tried to convince Ms. Hewes that their items would help make her life as a new parent easier.  With thoughtful and creative ideas ranging from RFID-enabled baby gates, diaper-changing robots, self-walking strollers, and a wide variety of educational games and toys, it wouldn't be surprising to see some of these products on store shelves someday!  

1st & 2nd Graders Build Gourd Gatherers!

During the fall harvest season, our 1st and 2nd graders worked on creating baskets that could be used to transport gourds from one point to another. Given a kit of materials, students brainstormed possible ways to use the items to build a basket that included both a space where the gourds could be inserted and held in place and a sturdy handle that would allow the user to carry the gourds.  As you'll see in the photos below, students created a wide variety of successful basket designs!