Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
on size error option if after an arithmetic expression the result exceeds the highest value which can be accommodated in the result this error is
move correspondingit is frequently required to move some of the data items of one group to some other data items in the other group if the names of
go to stop runthe go to verb is used to completely transfer the control to elsewhere in the programits form is as shown belowgo to procedure-nameas a
display statement the function of the display statement is just opposite to that of the accept statement it is used to display the low-volume
example of accept statementfor illustration accept flag-a can be specified to read the value of the flaga from the console it may be keep in mind
close statementwhen the processing of a file is completed then the file may be closed this is completed with the help of the close-verb the form of
example of write statementillustrationi write trans-record after advancing 3 linesthis write statement specified that the trans-record is a record
write statementthe write statement verb releases a record in an output file the syntax for the write statement can be unlike depending on the output
example of read statementillustrationread old-master at end move zero to end-of-recordsas a result of this statement generally the next record from
read statementthe aim of this verb is to make available the next logical record from the input file it is important to note the meaning of the next
example of open statementillustrationthe open input transaction old-master output new-masterthe illustration represents that there are two input
compute verbthe compute verb is very powerful all the evaluations performed by the other 4 verbs can also be completed easily by using the compute
illustration of divide verba divide 5 into aif the value of a is 20 then after execution of this statement the value of a will be 4 the older value
illustration of multiply verba multiply a by bin this situation the value of a amp b will be multiplied and the product will be stored in b
illustration of subtract verba subtract a from bthis illustration means that the value of a will be subtracted from the value of b and the subtracted
example of add verba add a to bthis illustration represents that the value of a will be added to the value of b and the result will be stored in
arithmetic verbsmost of the problems need some computations to be performed on the input or intermediate data that are numeric in nature the
rules of move verb the data movement is managed by the rules which are as shown belowa the contents of the identifier - 1 or the value of the
filler clauseconsider the statements as shown below1 01 f pic x80 value all -this
value clausethe value clause defines the preliminary value of the data itemnormally initialization will be completed just before the first statement
edit characters for numeric datathe characters below can be used in the picture clause to indicate the editing z
picture specificationthe size of a group item is equivalent to the total of the sizes of all the subordinate elementary items the group item class is
point locationthe position of the decimal point is the other characteristic which can be specified in the case of the numeric data items if the
sign - picture clausethe numeric data item can be signed or unsigned if a numeric data is regarded as unsigned then during the execution these