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


77 I pic 99 value 5
Perorm para-A I times.

Para -A.
move 10 to I.

How many times the para-A will be executed.?

Answers were Sorted based on User's Feedback



77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A ..

Answer / rana

Only 5 Times as it won't take the 10 which is intialized in
Para-A.

Is This Answer Correct ?    16 Yes 4 No

77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A ..

Answer / raghunathareddy

perform para-1 5 times

Is This Answer Correct ?    3 Yes 2 No

77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A ..

Answer / sivaram

It goes into loop since the variable takes the 10 in it
every time when it performs.Generally the variable should be
decremented by 1 for correct results.

Is This Answer Correct ?    4 Yes 4 No

77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A ..

Answer / prasanna

5 times

Is This Answer Correct ?    1 Yes 1 No

77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A ..

Answer / kiran

5 times

why bcoze once para-A I times executed,initially the value
of i=5;

5 time para -A executed

Is This Answer Correct ?    0 Yes 0 No

77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A ..

Answer / gowtham

Hi, I have executed above code and it performed 6 times. SO the answer is 6 times.

Is This Answer Correct ?    0 Yes 0 No

77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A ..

Answer / chinna

Please confirm which ans is correct ?
why it wont take I = 10?
can any one give explanation ?

Thanks ,

Is This Answer Correct ?    1 Yes 2 No

77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A ..

Answer / suputhru

Para -A.
move 10 to I.
display I.

it will move 10 to I upto 5 times.
10 20 30 40 50.

it will execute 5 times only.

Is This Answer Correct ?    3 Yes 4 No

77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A ..

Answer / prachi

when it will execute perform statement for the first time,
the value in i is 5..Then it is moving 10 to i ..So when it
will execute the perform 2nd time...that time the value of
i is 10..so Para-A will be performed 11 times...
Please let me know my ans is correct or not...

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More COBOL Interview Questions

.How to add one input & one Out file in existing cobol program. how approach tell me step by step.

2 Answers   Syntel,


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

0 Answers   IBM,


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

0 Answers   Infosys,


Why occurs cannot be used in 01 level in COBOL?

0 Answers   Arigo Infotech,


how do u link sub pgm to main pgm ?

2 Answers   TCS,


What divisions, sections and paragraphs are mandatory for a COBOL program?

8 Answers   Arigo Infotech,


How can you declare the file ?

1 Answers   Wipro,


how can we code index in an array of cobol pgm?

1 Answers   Wipro,


What is SET TO TRUE all about, anyway?

5 Answers  


How many maximum number of procedures can we write in one COBOL program?

5 Answers  


what is the use of keep and pass in disp

1 Answers  


What is rmode(24)

0 Answers  


Categories