Chapter 16 Data representation Flashcards

1
Q

Which are the User defined data types?

A

Non-Composite user-defined data types

Composite user-defined data types

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

Why is it important to use user-defined data types?

A

To define the type of data is crucial in bigger codes for eviting errors

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

What data types are non-composite user-defined data types?

A

Enumerated data type - containing a list of possible values

Pointed data type - used to reference a memory location

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

What data types are composite user-defined data types?

A

Record data type - can contain data that have different data types when these form a coherent whole.
Set data type - allows a program to create sets and to apply the mathematical operations defined in set theory

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

What is a binary file?

A

A file coded in binary code that can be easily read by a computer.

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

What is a record?

A

A collection of fields containing data values

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

What is a sequential file?

A

A sequential file is similar to serial files but the records are ordered.

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

What does file access mean?

A

The editing or viewing of a file

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

How do you differenciate negative numbers from positive ones?

A

By looking at the first number. If the first number is 1 than the number is negative and if it is 0 than it is positive.

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