Our Lady of the Rosary College S.2 Computer Literacy Lesson 8 Storage Unit Mr. Ku Heung Chin
The unit of memory How does computer store the character ‘ A ’ ? Computer can only ‘ read ’ binary digit (0 or 1). Computer will change a character into 8 binary digit, e.g. A: The coding standard is ASCII. D0100 C B A H G F E
Bits and Bytes Each binary digit is 1 bit How many bits in one character? –Ans: 8 bits Each character need 1 Byte of memory. How many bits in 1 Byte? –Ans: 8 bits
KB / MB / GB / TB UnitAbbreviationValue ByteB8 bits = 1 byte KilobyteKB2 10 = 1024 bytes MegabyteMB2 20 = 1024 KB (about 1 million bytes) GigabyteGB2 30 = 1024 MB (about 1 billion bytes) TerabyteTB2 40 = 1024 GB (about 1 trillion bytes)
Main Memory It stores data and instruction to be executed by the CPU. Random Access Memory (RAM) Read Only Memory (ROM)
RAM vs ROM RAMROM Data can be read from and written to it. Data can only read from it. Its contents cannot be overwritten. It is used to store program and data. It is used to store programs designed by the manufacturer that configure and control the basic operations of a computer. (BIOS) It is volatile (content will be lost when power off ) It is non-volatile (content will remain unchanged when power off)
Secondary storage Magnetic storage devices –Floppy disk drive –Hard disk Optical storage devices –CD-ROM –CD-RW –DVD-ROM –DVD-RW
Floppy Disk Drive Small capacity.(1.2MB / 1.44MB) Read/write speed is very slow.
Hard Disk High capacity (80 GB ~ 500 GB) Fastest processing speed. eMWG3fwiEU&eurl eMWG3fwiEU&eurl eMWG3fwiEU&eurl
CD-ROM / CD-RW Compact Disc Read-Only Memory. –650 MB ~ 800MB –Can write only once Compact Disc Re-Writable –can re-write data for many times
DVD / DVD-RW Digital Versatile Disc / Digital Video Disc –4.7GB – 8.5GB
Main Memory vs Secondary Storage Properties / StatesMain MemorySecondary Storage Power is offData disappear. (It is volatile) Data is still present. (It is non-volatile) Size (in MB)SmallLarge Price (in MB)CostlyRelatively cheap Relatively easy to remove NoYes
Other Storage Devices Memory Cards –Smart Media (SM) –Compact Flash (CF) –Secure Digital Card (SD) –Memory Stick (MS) –xD-Picture Card (XD)
The End Thanks for coming!!