2.2.2 Data Types Flashcards

1
Q

What are all data types?

A

Integer
Boolean
Real (or float)
Character
String
Casting

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

What is integer and what is its Pseudocode?

A

A whole number with no decimal point.
int

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

What is Boolean and what is its Pseudocode?

A

Digital data - can present those with a decimal point
bool

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

What is real(or float) and what is its Pseudocode?

A

All numbers, including those with a decimal point
real (or float)

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

What is Character and what is its Pseudocode?

A

A single letter, number or symbol
char

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

What is string and what is its Pseudocode?

A

A collection of alphanumeric data characters and symbols. Usually enclosed in quotation marks
str

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

What is Casting?

A

The conversion of one data type into another, or converting a number into string

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