M2: Primitive Data Types & Number Systems

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

12 Terms

1
New cards

bit

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

2
New cards

byte

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

3
New cards

short

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

4
New cards

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.

5
New cards

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.

6
New cards

float

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

7
New cards

double

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

8
New cards

boolean

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

9
New cards

char

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

10
New cards

binary number

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

11
New cards

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.

12
New cards

decimal number

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

Explore top flashcards