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

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

1644


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2630


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5426


What is the LINKAGE SECTION used in COBOL?

1599


What type of SDLC u followed? Why?

2048


How are the next sentence and continue different from each other?

1338


Can a Search can be done on a table with or without Index?

1330


i want a program using by if, evaluate , string, unstring, perform, occurs?

4800


How do you differentiate between cobol and cobol-ii?

1280


What are the different types of condition in cobol and write their forms.

1152


What are literals?

1183


What rules are to be followed while using the corresponding options?

1125


What is the difference between external and global variables in COBOL?

1540


Whats the difference between search & search ALL?

6661


Describe the cobol database components?

1218