Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Data Representations
3.1 Bit & Byte
Bit represent each 0 and 1 in binary system. Bit lower case 'b' .
Byte - to represent letters, numbers and special characters, bits are
combined into groups.
8 bits 1 byte
1 byte represents one character or letter or value (Letter Y)
8 bits can represent 256 different data because, 28 = 256.
Step 2.
Step 4.
After processing, the binary
code for the capital letter D is
converted to an image, and
displayed on the output
device.
Step 3.
The signal for the capital letter
D is converted to its ASCII
binary code (01000100) and is
stored in memory for
processing.
4
Unit
Binary Digit
1 Nibble/ word
1 Byte
1 Kilobyte
1 Megabyte
1 Gigabyte
1 Terabyte
1 Petabyte
1 Exabyte
1 Zettabyte
1 Yottabyte
1 Brontobyte
1 Geopbyte
=
=
=
=
=
=
=
=
=
=
=
=
=
1 Bit
4 Bits
8 Bits
1024 Bytes
1024 Kilobytes
1024 Megabytes
1024 Gigabytes
1024 Terabytes
1024 Petabytes
1024 Exabytes
1024 Zettabytes
1024 Yottabytes
1024 Brontobytes
Memory
Memory Devices
(RAM,ROM,PROM,EPROM)
volatile memory
Loses its contents when
computer's power
is turned off
nonvolatile
memory
Does NOT lose its
contents when
computers power is
turned off
9
9
10
Most
common
type
Must be
refreshed
constantly
Static
RAM
(SRAM)
Dynamic
RAM
(DRAM)
Do not have to
be refreshed
as often as
DRAM
Faster and
more reliable
than DRAM
chips
11
Summary:
1. SRAM is static (Dont refreshed periodically) while DRAM is Dynamic (refreshed
periodically)
2. SRAM consists of Transistor while DRAM made up of Transistors & Capacitor
3. SRAM consumes less power than DRAM
4. SRAM is more expensive than DRAM
5. SRAM is faster compared to DRAM
6. Cheaper DRAM is used in main memory while SRAM is commonly used in
cache memory
12
13
CMOS
To store information about the computer such as:
The type of disk drives, keyboard and
monitor.
The current date and time, and other startup
information.
Use battery power to retain information even
when the power to the computer is turned off.
14
Types of ROMs
Programmable ROM (PROM)
Erasable programmable ROM (EPROM)
Electrically erasable PROM (EEPROM)
15
3.3.4 Cache
Helps speed computer processes by storing
frequently used instructions and data.
Also called memory cache.
16
4.1What is USB?
USB (universal serial bus) port can connect
up to 127 different peripherals together
with a single connector type (USB hub)
18
Storage
19
What is storage?
Holds data, instructions, and information for future use
Storage medium is physical material used for storage
Also called secondary storage
20
Speed
People prefer whichever that is fast, but the problem is, it
will cost more. The fastest storage is RAM Hard Disk
CD USB Flash Drive, Floppy and Magnetic Tape. The
speed is usually measured by access time.
Access time
Refers to the average time needed to locate data on the
medium. Measured in ms for secondary storage, ns for
RAM.
Cost
The faster the storage device , the more expensive it is.
21
4.2.1 Diskettes
shutter
shell
liner
3 -inches
magnetic
coating
metal hub
flexible thin film
4.2.1 Diskettes
Disk drive - device that holds,
spins and reads data from and
writes data to a diskette.
A diskette is inserted into a slot,
called the drive gate or drive
door.
24
25
26
Track
is narrow
recording band
that forms full
circle on disk
Sector
stores up to
512 bytes
of data
27
28
29
lens
pit
0
prism
Step 1.
Laser diode
shines a light
beam toward
disc.
laser
diode
lightsensing
diode
lens
land
Step 2.
If light strikes
a pit, it
scatters. If
light strikes a
land, it is
reflected back
toward diode.
1
prism
laser
diode
lightsensing
diode
Step 3.
Reflected light is
deflected to a
light-sensing
diode, which
sends digital
signals of 1 to
computer.
Absence of
reflected light is
read as digital
signal of 0.
30
31
32
02/13/16
33