Edexcel curriculum (2015)
PythonBinary/HexData representationCompressionEncryptionWhat is a computer?Working computerHardwareOperating systemComputer processesThe CPUMemoryInput devicesOutput devicesData storageInside the CPUStored programF-D-E cycleCPU componentsNetworksLAN, WAN and PANNetwork topologiesNetwork addressingProtocolsError detectionThe internetThe world wide webHTML and CSSClient-server modelVPNsSQLImpactEthical issuesMicrocontrollersComp modelsEmerging trendsVirtual machinesModels and simsAlgorithms |
Models and simulatorsModel VS Simulation
•Computer Model – This a mathematical description of a problem. •Simulation – Using the model to predict the likely behaviour of a real life system. •E.G. Model – Creating a flight simulator game. •Simulation – Playing the game a certain way – like stalling the plane to see when it crashes. What other scenarios could we create using a computer model?
Profit / loss based models for businesses. Car Racing games, Physics engines representing real world physics, Traffic flow simulations in large cities, models to show where bullets and other projectiles might have originated from in a crime scene.
Python challenge
Create a program in python that simulates a bathtub filling with water. The bath has two taps and a plug hole. Its capacity is 275 litres. The plug hole drains the bath at a rate of 20 litres per minute. The cold tap has a capacity of 14 litres per minute; the hot tap a capacity of 11 litres per minute. The program should calculate how long it will take to fill the bath if (a) both taps are on fully and the plug is in (b) if the hot tap is on fully, the cold tap is half on and the plug is in (c) both taps are on fully and the plug is out. |