What is a Smart House?
What smart tech do you have at home?
|
|
Research and planningYou will now design your own smart device and create a Python program to simulate it in action.
Work with a partner to share the work load and check that your plans will work. Do some RESEARCH first. Try THIS SITE You will need initial ideas and at least one flowchart before you start programming. You can see the link between flowcharts and code HERE. |
Smart house simulator
The code on the right is a very basic simulator for turning lights on and off.
Run it so you can see it in action. Click Show Code and then click on main.py Copy the code and paste it into an offline Python editor (Thonny) which you will find in the Computer Science apps folder on the Desktop. Add comments to the code to explain each line is doing. Remember that comments begin with a # Copy, paste and change the code so the program also simulates the ideas you had in the planning phase. |
|
Yes or No Extension Task
Keywords
Keyword revision with Quizlet - click the logo to start
TESTING TIME!
Typing test for speed and accuracy - your teacher will tell you how to access this.
Spelling Test
The test will open in a new window, Do NOT look back on this page. This is a test |
Knowledge check
Your target is 80%.
Take your time, don't rush and go back over your answers before you click submit. |