M2: Primitive Data Types & Number Systems

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

bit

1 / 11

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

12 Terms

1

bit

A binary digit that can be a 0 or a 1.

New cards
2

byte

8 bits. A keyword meaning a data type with an integer value from -128 to 127.

New cards
3

short

"16 bits. A keyword meaning a data type with an integer value from -32,768 to 32,767"

New cards
4

int

32 bits. A keyword meaning a data type with an integer value from -2,147,483,648 to 2,147,483,647, about -2 billion to 2 billion.

New cards
5

long

64 bits. A keyword meaning a data type with an integer value from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.

New cards
6

float

32 bits. Keyword meaning a floating-point type with a mantissa and exponent used to save space.

New cards
7

double

64 bits. Keyword meaning a floating-point type with a mantissa and exponent typically used to store a floating-point value.

New cards
8

boolean

Keyword meaning a data type with 2 values, true and false.

New cards
9

char

16 bits. Keyword meaning a data type to store a single Unicode character with a numerical value between 0 and 65535.

New cards
10

binary number

A number in base 2, using the digits 0-1, and each digit's place is weighed by increasing powers of 2.

New cards
11

hexadecimal number

A number in base 16, using the digits 0-9 and A-F, and each digit's place is weighed by increasing powers of 16.

New cards
12

decimal number

A number in base 10 using the digits 0-9 and each digit's place is weighed by increasing powers of 10.

New cards

Explore top notes

note Note
studied byStudied by 635 people
... ago
4.8(5)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 11 people
... ago
4.5(2)
note Note
studied byStudied by 21 people
... ago
5.0(1)
note Note
studied byStudied by 93 people
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (32)
studied byStudied by 47 people
... ago
4.0(1)
flashcards Flashcard (22)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (500)
studied byStudied by 24 people
... ago
5.0(1)
flashcards Flashcard (90)
studied byStudied by 2 people
... ago
4.0(1)
flashcards Flashcard (118)
studied byStudied by 9 people
... ago
4.0(1)
flashcards Flashcard (25)
studied byStudied by 2 people
... ago
4.0(1)
flashcards Flashcard (30)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (88)
studied byStudied by 559 people
... ago
5.0(1)
robot