User Defined Data Types Flashcards

1
Q

User defined data types

A
  • To create a new data type
  • To allow data types not available in a programming language to be constructed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Advantages of UDTs

A
  • Ability to self-document user data structures
  • Let’s user to group data of different types in a single variable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Disadvantage of UDT

A
  • Only possible if a programming language offers support for the construct
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define non composite data types

A

A single data type test does not reference any other data type

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

Enumerated data type

A
  • Defines a list of possible values.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Pointer data type

A

Used to reference a memory location

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

Composite user defined data type

A
  • Data type defined from reference to at least one data type.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Record data type

A
  • Collection of related values with different data types.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Set data type

A
  • Supports mathematical operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Class

A

Gives the properties and methods for an object

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