Numerical Datatypes and File Formats Flashcards
Range of int8 (approximate okay)
-2^7 to 2^7-1 (-128 to 127)
Range of int16 (approximate okay)
-2^15 to 2^15-1 (-32,768 to 32767)
Range of int32 (approximate okay)
-2^31 to 2^31-1 (approx +- 2.1 billion)
Range of int64 (approximate okay)
-2^63 to 2^63-1 (approx +- 9 billion billion)
Range of uint8 (approximate okay)
0 to 2^8-1 (0 to 255)
Range of uint16 (approximate okay)
0 to 2^16-1 (0 to 65,535)
Range of uint32 (approximate okay)
0 to 2^32-1 (0 to approx 4.3 billion)
Range of uint64 (approximate okay)
0 to 2^64-1 (0 to approx 18 billion billion)
Range of float16 (approximate okay)
sign bit, 5 bits exponent, 10 bits numbers
Range of float32 (approximate okay)
sign bit, 8 bits exponent, 23 bits numbers
Range of float64 (approximate okay)
sign bit, 11 bits exponent, 52 bits numbers
Describe CSV
Tabular data
columns separated (usually) by commas
rows on separate lines
Describe JSON
JavaScript Object Notation
More flexible than CSV, but less legible
Looks like Python code
Describe XML
eXtensible Markup Language
Looks similar to HTML
Becoming less popular (yay!)