HELLOOO !!!

Please read, comment, then follow my blog :)

Senin, 26 November 2012

Macam-macam Tipe Data


1. Macam-macam Tipe Data

Bahasa
Pemrograman
TIPE DATA


STRING
NUMERIK
LOGIKA
ARRAY
RECORD
BASIC
String
Karakter


Numerik Integer :
-          Byte
-          Shortint
-          Integer            
-          Word
-          Longint

Numerik Real :
-          Real

0 .. 255
-128 .. 127
-32768 .. 32767
0 .. 65535
-2147483648


1E-38.. 1E+38
Boolean
(True or False)
-
-
PASCAL
String
Karakter

















2..256
Bilangan Bulat :
-          Shortint
-          Integer
-          Longint

Byte
Word

Bilangan Pecahan :
-          Real
-          Single
-          Double
-          Extended

-          Comp

-128..127
-32768..32767
-2147483648.. 2147483647
0..255
0.. 65535


2.9e-39.. 1.7e38
1.5e-45.. 3.4e38
5.0e-324.. 1.7e308
3.4e-4932.. 1.1e4932
-9.2e18.. 9.2e18

Boolean
(True or False)
ByteBool
WordBool
LongBool


V. BASIC




















String
65.400
Numerik Integer :
- Byte
- Integer
- Long

- Single



Numerik Real:
- Double







- Currency




0..255
-32.768..32.767
2.147.483.648..2.147.483.647
-3,402823E38.. -1,401298E-45 ;
1,401298E45..3,402823E38

-1.79769313486232E308.. -4,94065645841247E-324 ;
494065645841247E-324..1.79769313486232E308
-922.337.203.685.477,5808.. 922.337.203.685.477,5807




Boolean
(True or False)
-
-
C/C++
char
Signed : -128..127

Unsigned:
0.. 255
Numerik Integer :
- short int (short)






-    Int




-    long int (long)




Numerik Real :
-          float
-          double
-          long double

signed:
-32768..32767

unsigned:
0..65535


signed:
 -2147483648..2147483647
signed:
-2147483648.. 2147483647

unsigned:
 0..4294967295

3.4e +/- 38
1.7e +/- 308

1.7e +/- 308
Boolean
(True or False)
-
-
COBOL
Character
Edited character

-          Numeric fixed-point binary
-          Numeric fixed-point packed decimal
-          Numeric fixed-point zoned decimal
-          Numeric floating-point
-          Edited numeric
-          Edited floating-point



Table
Variable-length table
 Array Index
Group
JAVA
Char
Bilangan decimal dari 0000 s.d FFFF
Numerik Integer :
-          Byte
-          Short
-          Int


-          Long




Numerik Real :
-          Float
-          Double

-128..127
-32768..32767
-2147483648..2147483648
-9223372036854775808..9223372036854775808


-3.4x108..3.4x108
-1.7 x10308..1.7 x10308
Boolean
(True or False)













1 komentar: