A simple Python program to determine if two words are anagrams
- Subject:
- Algorithms and Programming
- Computer Science
- Material Type:
- Activity/Lab
- Assessment
- Homework/Assignment
- Author:
- Ronald Sparks
- Date Added:
- 05/25/2022
A simple Python program to determine if two words are anagrams
These modules are designed to help you get familiar with Python while exploring interactive narrative design, where we put together stories that leave space for the reader to explore, make choices, and engage with the events of the story in a participatory way. Each module in this course follows the same format:Backstory: Unpack the context around the module, set up catalyzing questions to guide the inquiry throughout the module, and establish goals and objectives for your engagement with the moduleGuided Inquiry: Step through a sequence of tutorials and hands-on activities designed to help you learn the basic ideas presented in the modulesPrompt: A tightly-bounded, focused activity designed to facilitate sustained engagement with the ideas presented in the moduleCatalyzing Questions: A series of questions intended to provoke reflection & to put the module’s content in contextEach module is intended to support between 30 and 60 minutes of focused, sustained engagement. You may find it suits you to leave the module in the middle and return to your work; that’s totally fine. Work at your own pace, and don’t hesitate to reach out to your facilitators if you run into any problems.
Suffolk Public Schools is the host of an annual robotics challenge sponsored by Penn State and the US Department of Defense. ActiVAtED Learning Host Tom Landon traveled to Suffolk to talk to Christine Lafferty and John Littlefield to learn more.
In this lesson sequence, students will work in teams to learn the MakeCode and Micro:Bit Development platform. They’ll develop basic programming skills, implementing input, output, variables, and conditional control structures. At the end of the sequence, students will compete in a “puzzle box” challenge, attempting to create a puzzle using their Micro:Bit, code, and craft supplies and earning points based on how challenging their puzzle is to solve.
This lesson introduces 9-12 grade students to the Python random library. The program will choose a random number using functions from the Python random library in a set number range. The program will prompt the player to choose a number in the given range and keep track of the number of guesses the player makes. If the player guesses higher than the chosen number, it will give the player a message that their guess is too high. If the player guesses lower than the chosen number, it will give the player a message their guess is too low. The program will continue to prompt the player for guesses until they guess the correct number.
Sensors are part of most modern day technologies. They are integrated into our vehicles, appliances, buildings, and phones. Touch sensors trigger doors to open, motion sensors detect moving vehicles or pedestrians, and heat sensors supply an extra level of safety to our stoves. Sensors are integral to how we interact with technology and are becoming more common in the systems around us.In this lesson, students will explore some of the sensors used in transportation. They will make their own touch sensor and program a sign to display a message or warning when their sensor is triggered.
A simple calculator in Python to add, subtract, multiply and divide