Numerical Datatypes and File Formats Flashcards

1
Q

Range of int8 (approximate okay)

A

-2^7 to 2^7-1 (-128 to 127)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Range of int16 (approximate okay)

A

-2^15 to 2^15-1 (-32,768 to 32767)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Range of int32 (approximate okay)

A

-2^31 to 2^31-1 (approx +- 2.1 billion)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Range of int64 (approximate okay)

A

-2^63 to 2^63-1 (approx +- 9 billion billion)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Range of uint8 (approximate okay)

A

0 to 2^8-1 (0 to 255)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Range of uint16 (approximate okay)

A

0 to 2^16-1 (0 to 65,535)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Range of uint32 (approximate okay)

A

0 to 2^32-1 (0 to approx 4.3 billion)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Range of uint64 (approximate okay)

A

0 to 2^64-1 (0 to approx 18 billion billion)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Range of float16 (approximate okay)

A

sign bit, 5 bits exponent, 10 bits numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Range of float32 (approximate okay)

A

sign bit, 8 bits exponent, 23 bits numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Range of float64 (approximate okay)

A

sign bit, 11 bits exponent, 52 bits numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe CSV

A

Tabular data
columns separated (usually) by commas
rows on separate lines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe JSON

A

JavaScript Object Notation
More flexible than CSV, but less legible
Looks like Python code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe XML

A

eXtensible Markup Language
Looks similar to HTML
Becoming less popular (yay!)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly