Data and Data Types Flashcards

1
Q

what is atomic data?

A

the smallest unit of data that a computer program can define

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

what is compound data?

A

data that acts as a collection for other pieces of data (ex. a list)

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

what is integer data?

A

whole numbers

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

what is floating-point data?

A

real numbers that are not necessarily whole numbers

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

what is boolean data?

A

data that can only be one of two values: True or False

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

what are strings?

A

sequences of characters (letters of the alphabet, digits, and punctuation) and are usually used to store text

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

what are lists?

A

sequences of data items

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

what is a literal?

A

a number or string written right into the program by the programmer

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

how is a string literal specified?

A

by enclosing a sequence of characters with a pair of single or double quotes

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