IT 231: IT and Applications (BBA)
By the end of this session, you will be able to:
Needs power to keep its data. Switch off, and the data is gone.
Holds what you're working on right now: open browser tabs, the game you're playing, a document you haven't saved.
Keeps its data with no power at all.
Holds what must survive: saved files, photos, installed apps, and the instructions a computer needs to start up.
Power cut test: The power goes off while you're typing an assignment. What's lost, and what's safe?
Everything since your last save is lost, because it was only in volatile memory. The saved file is safe, because it's on non-volatile storage.
Click each memory type to assign it to the correct category.
Click a property card. Select SRAM or DRAM, then reveal the answer.
| SRAM (Static RAM) | DRAM (Dynamic RAM) | |
|---|---|---|
| One bit is stored in | A flip-flop made of about 6 transistors | 1 transistor and 1 tiny capacitor |
| Refresh needed? | No. It holds data while powered | Yes. The capacitor leaks, so every cell is recharged many times a second |
| Speed | Fastest | Slower |
| Cost and size per bit | High, and it takes lots of chip space | Low, so many bits fit in a small space |
| Where you find it | CPU cache (L1, L2, L3) | Main memory: the DDR4 or DDR5 sticks |
"Static" means it stays put. "Dynamic" means it must be constantly refreshed.
A high-end desktop CPU has about 36 MB of L3 cache, but the PC has 32 GB of RAM, about 900 times more. Why not build all 32 GB from fast SRAM?
Computers use a little expensive SRAM for speed, and a lot of cheap DRAM for space.
Read the description, then click the matching ROM type to reveal if you are correct.
| Type | How it's written | Can it be erased? |
|---|---|---|
| Mask ROM | Built into the chip at the factory | Never |
| PROM | Written once by the user with a programmer device | Never |
| EPROM | Written electrically | Yes, under UV light through the window, out of the circuit |
| EEPROM | Written electrically | Yes, electrically, byte by byte, in the circuit |
| Flash | Written electrically | Yes, electrically, in large blocks, which makes it fast and cheap |
Each step made ROM easier to change. Today "read-only" memory is updated whenever you install a firmware update.
Flash is the youngest member of the ROM family, and the one you use every day:
All your apps, photos and messages
Fast storage with no moving parts
The BIOS/UEFI in a PC, and the software inside routers, TVs and cars
Each row shows an attribute. Click the correct winner — RAM or ROM.
| Attribute | RAM | ROM |
|---|
Phone shops and websites often list a phone as "8/128" or "8 GB RAM, 128 GB ROM".
Quick check: A friend's phone says "Storage full" but runs smoothly. Which number is the problem?
The 128 GB, the flash storage. Deleting old videos fixes it. Buying more RAM wouldn't help.
Click the steps in the correct order from power-on to OS ready.
Your sequence (click to add):
| 1. Power on | RAM is empty, because it's volatile. The CPU needs instructions from somewhere that survived the night. |
| 2. Firmware runs | The CPU reads the BIOS/UEFI from the flash chip (non-volatile). |
| 3. POST | The Power-On Self-Test checks the CPU, RAM and drives. A beep or error here means faulty hardware. |
| 4. Bootloader | The firmware finds the bootloader on the SSD and copies it into RAM. |
| 5. Operating system | The bootloader copies the OS kernel from the SSD into RAM, which starts drivers and services. |
| 6. Ready | Your apps load from storage into RAM and run there. |
Non-volatile memory starts the computer, and volatile memory runs it.
Three customers walk into a shop in Putalisadak, Kathmandu's computer market. What should each one buy?
The motherboard decides which RAM fits. Check its manual or spec sheet before you buy.
Short answer
Long answer
Revise the answers in the full note linked on the last slide.
Questions before we wrap this hour?
Next: Unit 3 · Session 5 — Storage Devices
Read first, then revise with this deck: