Data Representation and Storage
Data Representation and Storage
Management :
Data representation and storage
1
Computers store
Information
Numbers
Characters
Sound
Pictures etc. in Binary format i.e. 0 or 1
1 2
0 23/10/2024
QUESTION
3
ASCII
Code Standard Code for Information Interchange
American
Each character gets represented in a standard character set as
a single 7 bit binary code.
Up to a 128 different characters and simple communications
protocols can be stored. It is an sufficient amount for all
characters on a standard keyboard as well as some control
codes.
It is the basic code usedCharacter
in mostASCII
computers to allow
ASCII Decimal
communication between computers. (bin) (hex)
1 36 A 1000001 41 65
l t + you B 1000010 42 66
s s A
th en r.
p re rd c te C 1000011 43 67
le a
o h ar a
p y b …
x am e ke ê” c
E t h a “ a 97
On l see z
l
Wi special
characters
numbers
!
ASCII Code
Unicode
Was developed after ASCII to be able to compromise for
more than 110 000 characters
The first 128 characters of Unicode corresponds one-to-one
with the ASCII.
Unicode 6.3 is the latest version with 110 187 characters it
represents and was released in September 2013.
UTF -8
Is an upgrade of Unicode mostly used in HTML documents
6
. Open a Word Document
. Click on INSERT / SYMBOL
The wanted
character
The code that
represents
the character
Different
systems used
for character
representatio
7
n
Graphics
8
Overview of different primitive
data types and their storage
Different programming languages make use of
different primitive data types to store data used in the
programming.
Examples are
Integer
Real / Floating-Point
Text/String
Boolean
9 23/10/2024
Integers
Integers are whole numbers with which different mathematical
manipulations can be done.
The difference is simply that long integers can store larger numbers.
10 23/10/2024
Floating-Point Representation
Fraction Exponent
+5.240789 +03
The biggest problem is that accuracy can not be reliable. Some programs can
only store up to a certain amount of exponents and fractions where other programs
can store more accurately.
String/Text Variables
In Delphi we can set up the amount of characters we
would like the string to consist of. (This will be discussed in Grade 11)
Yes / No
True / False
13 23/10/2024
Overview of data structures
My
Documen
ts
Pictures Music
New
Old
15
When we want to retrieve information from the internet there
are also a hierarchy from where the data comes from. This
data structure usually consists of databases being saved and
connected all over the world to be able to retrieve a lot of
information.
Data
Highest level Warehous
es
Database
s AD
colle ata Ware
ction hous
of di of differe e is large
conn fferent nt
Files ecte data databas
to pr dt so es
oduc ogether urces
repo
rts o e large a to be abl
ware r que mou e
h ou r i es. T nts of
crea
Bytes te pa ses are a hese da
ttern ls ta
s in v o used t
of re a o
sear rious fie
ch. lds
Lowest level Bits
16
Complete worksheet
17