{"base":{"id":"cs8-15","subject":"Systems","title":"RAM and ROM","scene":"chip","steps":[{"mode":"ram","eyebrow":"RAM","title":"The working memory","body":"RAM is the computer's fast working memory. Programs and files are copied from storage into RAM while you use them. Open programs, save your work, then switch the power off.","actions":[{"id":"open","label":"Open a program"},{"id":"save","label":"Save work"},{"id":"power","label":"Switch the power off"}]},{"mode":"boot","eyebrow":"ROM","title":"Instructions that never vanish","body":"RAM is empty when a computer is switched on. ROM holds the start-up instructions and keeps them with the power off. Switch on and watch the start-up.","actions":[{"id":"power","label":"Switch on"}]},{"mode":"ramsize","eyebrow":"How much RAM?","title":"When memory is full","body":"More RAM lets more programs run at once. When RAM is full, the computer has to swap data with slow storage. Open programs, then change the amount of RAM.","controls":[{"id":"ram","label":"RAM size","min":4,"max":16,"step":4,"value":8,"unit":"GB"}],"actions":[{"id":"open","label":"Open a program"},{"id":"close","label":"Close one"}]},{"mode":"quiz","eyebrow":"Check yourself","title":"Where is it kept?","body":"A washing machine must know its wash programs the moment it is switched on, every time.","question":"Which memory should hold them?","options":["RAM","ROM","The screen"],"answer":1,"right":"Correct. ROM is non-volatile and is read at start-up, so the programs are always there.","wrong":"Not quite. Which memory keeps data with the power off?","look":"ram"}],"more":[{"type":"cards","id":"ideas","eyebrow":"Popular idea vs science","title":"Common mix-ups","items":[{"tag":"Popular idea","title":"\"My saved photos are in RAM.\"","body":"Saved files are in storage (SSD, hard disk, memory card). RAM only holds what is in use right now."},{"tag":"Popular idea","title":"\"ROM is empty until you install apps.\"","body":"ROM is filled with start-up instructions when it is made."},{"tag":"Popular idea","title":"\"Switching off only pauses RAM.\"","body":"RAM is volatile: switching off wipes it. That's why you must save."}]},{"type":"cards","id":"compare","eyebrow":"Side by side","title":"RAM, ROM and storage","items":[{"tag":"RAM","title":"Working memory","body":"Fast · read and write · volatile (lost when off) · holds the OS and open programs."},{"tag":"ROM","title":"Start-up memory","body":"Read-only · non-volatile · small · holds the boot instructions."},{"tag":"Storage","title":"Long-term","body":"Slower than RAM · non-volatile · large · holds all your files and programs."}]},{"type":"cards","id":"devices","eyebrow":"Everyday devices","title":"Where RAM and ROM are used","items":[{"tag":"Laptop","title":"Both","body":"RAM: open apps and browser tabs. ROM: start-up code."},{"tag":"Washing machine","title":"Both","body":"RAM: the cycle you chose and the time left. ROM: the wash programs."},{"tag":"Games console","title":"Both","body":"RAM: the game you are playing. ROM: start-up code."}]},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Desk and cupboard","items":[{"title":"Memory model","time":"10 minutes","need":["A small table (RAM)","A cupboard or shelf (storage)","Some books","A sticky note (ROM)"],"steps":["Write 'how to start' on a sticky note and stick it to the table: that's ROM.","Fetch books from the shelf to the table when you 'use' them: that's loading into RAM.","When the table is full, you must return a book before taking another: RAM is full.","Clear the table completely: power off! Which things survived?"],"why":"The table is fast to reach but cleared at power-off. The shelf keeps everything. The note is always there.","safety":"No safety risks."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Six more questions","questions":[{"question":"What does volatile mean?","options":["Very fast","Lost when the power is off","Read-only"],"answer":1,"right":"Correct. RAM is volatile.","wrong":"Not quite. What happens to RAM at power-off?"},{"question":"Which memory holds the programs you are using right now?","options":["ROM","RAM","A USB cable"],"answer":1,"right":"Correct. Open programs are copied into RAM.","wrong":"Not quite. Which is the working memory?"},{"question":"What is stored in ROM in a laptop?","options":["The start-up instructions","Your homework","Your music"],"answer":0,"right":"Correct. ROM starts the computer.","wrong":"Not quite. What must be ready at switch-on?"},{"question":"Why does unsaved work disappear in a power cut?","options":["ROM deleted it","The screen broke","It was only in RAM"],"answer":2,"right":"Correct. RAM loses everything without power.","wrong":"Not quite. Where was the unsaved work?"},{"question":"A computer slows down with many apps open. Most likely cause?","options":["ROM is full","The keyboard","RAM is full"],"answer":2,"right":"Correct. Data is swapped with slow storage.","wrong":"Not quite. Which memory fills up with open apps?"},{"question":"Which is non-volatile?","options":["ROM","RAM","Both are volatile"],"answer":0,"right":"Correct. ROM keeps its data without power.","wrong":"Not quite. Which keeps start-up code?"}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can explain…","items":["the difference between memory and storage","what RAM does and why it is volatile","what ROM holds and why it is non-volatile","what happens when a computer starts","why more RAM helps run more programs"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"RAM","meaning":"Random-access memory: fast working memory, lost at power-off."},{"word":"ROM","meaning":"Read-only memory: keeps start-up instructions without power."},{"word":"volatile","meaning":"Loses its data when the power is off."},{"word":"non-volatile","meaning":"Keeps its data without power."},{"word":"boot","meaning":"Start a computer and load its operating system."},{"word":"storage","meaning":"Long-term places to keep files, such as an SSD."}]},{"type":"sources","id":"sources","title":"Sources","items":["BBC Bitesize GCSE Computer Science: Primary and secondary storage"]}]},"overlay":null}