Midterm Flashcards

(64 cards)

1
Q

Sequential Diagrams

A

Flowchart - diagram of actions including individual actions and decision points

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

Decomposition Diagrams

A

function chart, hierarchy charts. overall function, process involved and activities, tasks. Describes the function breakdown or decomposition of a higher level.

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

IPO/HIPO Chart

A

Input, Processing, Output

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

Steps in program Development

A

DODTCR - Define, Outline, Develop, Test, Code, Run

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

Source code

A

Written by programmer

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

Object version

A

machine code that is native to the machine

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

Compiler

A

translates source code to object code

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

Maintenance Criteria

A

UMPTREU - Understandable, Modifiable, Portable, Testable, Reliable, Efficient, Usable.

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

Structure chart purpose

A

function, process, activities, tasks

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

Cohesin

A

refers to internal content of module, one simple piece of work, controls subordinate modules or one simple piece of work

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

Coupling

A

relationship between modules. Can be isolated in relation to other modules, relationship to other modules is only through data reference

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

4 Divisions

A

Identification, Environment, Data, Procedure

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

Identification division

A

mandatory entries: program-id, Environment division, Data division, Procedure division

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

Environment division

A

establishes the working environment for the program

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

Data division

A

defines and describes the file, record and field structure to be used in program

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

Procedure division

A

contains all executable instructions for: input, output, data manipulation, arithmetic operations, conditional operations, stop run

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

Division structure

A

division, sections, paragraphs, sentences, clauses

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

Configuration section

A

option for documentation

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

input-output section

A

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.

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

file types can be:

A

line sequential, indexed or relative, filetype is the organization clause

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

File section

A

describes file, record and field structures for input and output files through file description paragraph(FD).

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

Working storage section

A

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.

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

Screen section

A

declare full screen formats for input or output

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

Elementary items

A

lowest level of data definition, always have PICTURE clause, highest level number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
group items
composed of elementary items or group items, no PICTURE clause, size is = total elementary/ group items contained
26
types of PIC
Numeric PIC 9 Alphabetic PIC A Alphanumeric PIC X
27
MOVE
move data from one field to another. Must be used with compatible fields
28
PERFORM
used to execute specific portions of code
29
READ
used to bring in data/records from external file
30
WRITE
used to output data/records to external file. You write a record, not file
31
OPEN
make file accessible for either input or output
32
CLOSE
close an external file once processing is complete
33
STOP RUN
terminates execution of program
34
Do files have to be open before being read or written to
yes
35
sequential files
can be input or output NOT BOTH. Records physically ordered one after another
36
numeric field move to numeric field, receiving field will pad which side with zeros
left most position
37
where will alphabetic or alphanumeric fields be padded
the right most position
38
is numeric to alphanumeric moves valid
only if integer
39
does numeric data have a decimal point or assumed decimal point
assumed decimal point
40
does V consume a byte
no
41
movement of data in numeric fields
right to left before (V), left to right after (V), v is aligned with sending field
42
TO
adds to field, included in arithmetic expression
43
GIVING
gives result in field, not included in arithmetic expression
44
ROUNDED
allows rounding to lowest order byte of declared field where the result will be stored
45
**
exponent
46
ON SIZE ERROR
flag whether the result is too large for target field to handle. If error occurs – subordinate statement will be preformed
47
Fields involved in arithmetic expressions
must not be edited fields, must be examined for zero, large enough to handle results, need to have a sign noted if positive and negative values are expected
48
Signed field
character S in picture field denotes signed numeric value, S does not consume a byte. Allows output editing with + or -, recognition of positive and negative values from calculations or input.
49
Editing fields
only with printed output record structures. Cannot be moved to non-edited fields. Cannot be used in arithmetic instructions. Difference between numeric and edited numeric field
50
$
doesn’t move, change position on output, occupies 1 byte. Ex pic $9999 = $1234. Moves to fill the least significant zero. Ex. Pic $$$9 – value in= 0034 value out = bb$34. B=blank
51
.
decimal point, lines up with assumed decimal position (V). decimal values move left to right, int move right to left
52
,
comma, consumes a byte.
53
*
asterisk, replaces all leading zeros and insignificant edit characters such as commas.
54
Z
Blanks all leading zeros.
55
+ and -
can be fixed (after, placed in least significant position) or floating (before).
56
CR and DB
used to indicated negative value, print if field is negative otherwise print two blank spaces. Consume 2 bite positions.
57
relational operator
expresses the comparison or test to be made between to operands (ex. >, =,
58
hierarchy for conditional statements
brackets, relation conditions, NOT, AND, OR
59
AFTER/BEFORE ADVANCING PAGE
allows for carriage control
60
ADVANCING .. LINE
must be numeric constant or numeric value
61
INITIALIZE IDENTIFIER
identifier can be a group or elementary item. Sets items to default values
62
REPLACING
specify type of field and replacing value
63
ACCEPT
allows for data to be entered at the keyboard.
64
DISPLAY
display field name or literal on screen.