Data Types Flashcards
(5 cards)
1
Q
Bool
Used for: (3)
No. Of bits
Man and min value
A
XIC, XI0, OTE
I bit
Max = 1 , min = 0
2
Q
Integer
Can be broken to, no. Of bits
Max value
Min value
A
INT
Can be broken to 16 distant Booleans
Max = 2^15-1
Min = 2^15 x-1
3
Q
DINT
Bits
Max value
Min value
Sign
A
Double integer
32 bits
Max = 2^31-1
Min = 2^31-1
One bit is used for sign of the number, o = positive and 1 = negative
4
Q
SINT
Bits
Max
Min
A
Short integer
Max = 2^7-1
Min = -2^7
5
Q
Real data type
Storage
What does it store
A
Provides 4 bytes of storage for numbers using floating point notation
It stores the real value data using decimal point