Data Types and Checks Flashcards

1
Q

Integers

A

Whole numbers

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

Floats

A

Numbers that allow a decimal point

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

Boolean

A

True or False ONLY

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

Strings

A

Pieces of text

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

Length Checks

A

Used to determine if the data is long enough (i.e. Checking a phone number is not too long or too short)

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

Range Checks

A

Used to determine that the data is not exceeding a maximum or minimum value

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

Prescence Checks

A

Used to determine that something has been entered and that the data is not empty

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

Type Checks

A

Used to determine the right data type is being used (i.e. Not using String for Integers.)

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

Format Check

A

Used to determine that the data is in the correct format (i.e. Using @ and .com for emails)

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

Count-Controlled Loop

A

Used when the number of iterations in a loop is going to occur

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

Record Data Structure

A

A data structure that stores multiple fields/attributes, where each field can be a different type of data (i.e. dictionaries in Python can store multiple data types)

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