CIS133C CLASS 4


Structured design . . .
  • Control structures:
    1. Sequence is the execution of one unconditional action after another.
    2. Selection is the execution of either of two actions, depending on a condition.
    3. Iteration is the repetition or looping of statements.

  • Design tools:
    1. PSEUDOCODE
    2. FLOW CHARTS
    3. HIERARCHY CHARTS
    4. WARNIER/ORR


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'.
A 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

books
page

links
page

class
work

class
notes

cobol
notes

AS400
page

home
email

work
email


HTML help from . . .

Free JavaScripts provided by The JavaScript Source

Thanks to . . .

1