Charcteristics of data types and data structures relevant to selected software tools Flashcards

1
Q

Character

A

A character data type holds a single letter, number or symbol and is usually stored in 2 bytes of memory

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

Text(string)

A

A text data type consists of a string of characters. The amount of memory used to store the string depends on its length (2 bytes x length of string)

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

Integer

A

An integer is a whole number which can be used for mathematical calculations. An integer is usually stored in 4 bytes of memory

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

Floating point (or decimal)

A

A floating point number is a number with a fractional part or decimal which can take up to 12 bytes of memory. A floating point number is split into two parts:the mantissa and exponent

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

Boolean

A

A data type which holds only two possible values and only requires 1 byte memory

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

Array

A

An array is a collection of data items generally of the same data type. Each item in the array is allocated an address

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

Record

A

A record is a collection of data items of different data types. Each element of a record is called a field

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

File

A

A file data structure can hold numerous data items, arrays or records

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