Data types Flashcards

1
Q

What are data types?

A

Data types are application programs that can only process and store data appropriately if the data items are given the correct data type.

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

Name two types of data.

A

Anything from: String data type, number/numerical data type, currency data type, date/time data type, Boolean data type and arrays.

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

What is string data type?

A

the string data type consists of a string, or sequence of characters. A string can include the alphabetic letters (A to Z and a to z), numerals (0 to 9), punctuation and other symbols, such as @ or #.

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

What is numerical data type?

A

A numerical data type consists entirely of numbers (0 to 9), representing the digits of a number and possibly a single decimal point. There are two main types of numerical data: integer and real or decimal.

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

What is currency data type?

A

The currency data type consists of an amount of a specified currency whose value is usually displayed with a currency symbol, such as £ and two decimal places.

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

What is date/time data type?

A

The date/time data type consists of a real number representing a date alone, a time alone or a date and time.

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

What is Boolean data type?

A

The Boolean data type consists of the values True or False. They can be displayed as True/False, Yes/No or On/Off.

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

What is a data structure?

A

A data structure is a more complex data type that consists of a number of data items of one or more data types. A record of itself is a data structure, with its fields as the data items.

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

What is arrays data type?

A

An array is a data structure that consists of a number of data items of a single type. These data items are called the elements of the array.

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