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...

Move Zeroes to I
move 5 to j
perform para1 varying I from 10 by -2 until I = 0
display j.
para1.
Add 5 to j.
What’ll be the value after execution of display stmt.
A) 35
B) 40
C) 30
D) 25
please explain how?

Answer Posted / suputhru

Gaayathri is right!!!
para1 will be performed only 5 times
J is 5+(5*5) equals 30


correct answer is c) 30

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which mode is used to operate the sequential file?

1166


Why occurs cannot be used in 01 level in COBOL?

1137


What are the different rules of SORT operation?

1107


In which area will you utilize 88 level items in cobol?

1125


How do you get the data to code the BMS macro?

1942


What do you understand by psb and acb?

1087


What is the difference between structured cobol programming and object alternativelyiented cobol?

1220


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1089


how do you reference the variable block file formats from cobol programs

1210


What are literals?

1098


How do get the result of your program directly on your pc?

2313


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

1129


What is the difference between goback, stop run and exit program in cobol?

1549


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2438


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3205