CIS133C - Data Structures

The structure of data . . .
  • A BIT is the smallest addressible unit and contains ones or zeros which denote an on or off electrical charge. Doesn't that sound like the binary numbering system?
Enter a positive decimal number in the first box, click the equal sign, and you will see the binary equivalent in the second box . . .
to base

  • A BYTE consists of eight bits and represents a character such as a lower case 'z' or the digit '4'.
One byte:

  • A FIELD consists of a series of bytes representing data.
A field of ten bytes:
BYTE1BYTE2 BYTE3BYTE4 BYTE5BYTE6 BYTE7BYTE8 BYTE9BYTE10

  • A RECORD is made up of one or more fields.
A record of seven fields:
FIELD1FIELD2 FIELD3FIELD4 FIELD5FIELD6FIELD7

  • A FILE contains records.
A file of three records each with six fields:
REC1,FIELD1REC1,FIELD2 REC1,FIELD3REC1,FIELD4 REC1,FIELD5REC1,FIELD6
REC2,FIELD1REC2,FIELD2 REC2,FIELD3REC2,FIELD4 REC2,FIELD5REC2,FIELD6
REC3,FIELD1REC3,FIELD2 REC3,FIELD3REC3,FIELD4 REC3,FIELD5REC3,FIELD6




TOP OF
PAGE

HOME
PAGE

CLASS
WORK


AS400
PAGE

COBOL
BOOKS

COBOL
NOTES

COBOL
LINKS

HOME
EMAIL

WORK
EMAIL


HTML help from . . .

Free JavaScripts provided by The JavaScript Source

1