Midterm Flashcards
Sequential Diagrams
Flowchart - diagram of actions including individual actions and decision points
Decomposition Diagrams
function chart, hierarchy charts. overall function, process involved and activities, tasks. Describes the function breakdown or decomposition of a higher level.
IPO/HIPO Chart
Input, Processing, Output
Steps in program Development
DODTCR - Define, Outline, Develop, Test, Code, Run
Source code
Written by programmer
Object version
machine code that is native to the machine
Compiler
translates source code to object code
Maintenance Criteria
UMPTREU - Understandable, Modifiable, Portable, Testable, Reliable, Efficient, Usable.
Structure chart purpose
function, process, activities, tasks
Cohesin
refers to internal content of module, one simple piece of work, controls subordinate modules or one simple piece of work
Coupling
relationship between modules. Can be isolated in relation to other modules, relationship to other modules is only through data reference
4 Divisions
Identification, Environment, Data, Procedure
Identification division
mandatory entries: program-id, Environment division, Data division, Procedure division
Environment division
establishes the working environment for the program
Data division
defines and describes the file, record and field structure to be used in program
Procedure division
contains all executable instructions for: input, output, data manipulation, arithmetic operations, conditional operations, stop run
Division structure
division, sections, paragraphs, sentences, clauses
Configuration section
option for documentation
input-output section
required if external file is used as input/output. used to identify the files used in the program, references filename in program to file referenced by OS. Select statement used to identify name of file in program, assign statement used to identify and reference the name through the OS.
file types can be:
line sequential, indexed or relative, filetype is the organization clause
File section
describes file, record and field structures for input and output files through file description paragraph(FD).
Working storage section
other record and field structures not directly associated with a file. Working fields, flags, accumulation fields, counters. Also used to describe output (print) lines when more than one type of print line is required.
Screen section
declare full screen formats for input or output
Elementary items
lowest level of data definition, always have PICTURE clause, highest level number
group items
composed of elementary items or group items, no PICTURE clause, size is = total elementary/ group items contained