Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

consider the following progrm statements
MOVE 0 TO SW.NO.OF.REC
PERFORM PRI-OUT UNTIL SW=1
DISPALY NO.OF.REC
STOP RUN
PRE-OUT
READ IN-FILE AT END
MOVE 1 TO SW
WRITE OUO-REC FROM IN-REC
ADD 1 TO NO.OF REC
if the IN-FILE contains 1000 records what value will be
displayedafter the
PERFORM is over?assume that N0.OF.REC has PIC 9(4)
a.1000
b.1001
c.1
d.none of the above since there is a syntex error

Answer Posted / divakar

correct ans is D.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2567


What is the difference between PIC 9.99 and 9v99 in COBOL?

1307


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2517


Name the divisions, which are available in a cobol program?

1215


When is inspect verb is used in cobol?

1232


What is a scope terminator give example?

1090


What are the pertinent COBOL

2550


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1138


What is the LINKAGE SECTION used in COBOL?

1509


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2519


what are decleratives in cobol?

2241


How do we get current date from system with century in COBOL?

1357


What is the difference between PIC 9.99 and PIC9v99?

1319


What is the difference between next sentence and continue in cobol programing language?

1195


Write a cobol program making use of the redefine clause.

1146