CIS133C CLASS 4
Structured design . . .
- Control structures:
- Sequence is the execution of one unconditional action after another.
- Selection is the execution of either of two actions, depending on a condition.
- Iteration is the repetition or looping of statements.
- Design tools:
- PSEUDOCODE
- FLOW CHARTS
- HIERARCHY CHARTS
- 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 . . .
- A BYTE consists of eight bits and represents a character such as a lower case 'z' or the digit '4'.
- A FIELD consists of a series of bytes representing data.
A field of ten bytes:
BYTE1 | BYTE2 |
BYTE3 | BYTE4 |
BYTE5 | BYTE6 |
BYTE7 | BYTE8 |
BYTE9 | BYTE10 |
- A RECORD is made up of one or more fields.
A record of seven fields:
FIELD1 | FIELD2 |
FIELD3 | FIELD4 |
FIELD5 | FIELD6 | FIELD7 |
A file of three records each with six fields:
REC1,FIELD1 | REC1,FIELD2 |
REC1,FIELD3 | REC1,FIELD4 |
REC1,FIELD5 | REC1,FIELD6 |
REC2,FIELD1 | REC2,FIELD2 |
REC2,FIELD3 | REC2,FIELD4 |
REC2,FIELD5 | REC2,FIELD6 |
REC3,FIELD1 | REC3,FIELD2 |
REC3,FIELD3 | REC3,FIELD4 |
REC3,FIELD5 | REC3,FIELD6 |
HTML help from . . .
Free JavaScripts provided by
The JavaScript Source
Thanks to . . .
|