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 piece of code

01 GROSS-PAY
05 BASIC-PAY PIC 9(5)
05 ALLOWENCES PIC 9(3)
if BASIC-PAY has a value 1000 and ALLOWENCES has a value
of 250,what will be
displayed by the statement
DISPLAY GROSS-PAY
a.1250
b.01000250
c.01250
d.1.250

Answers were Sorted based on User's Feedback



consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05..

Answer / tarun nigam

Since the over all PIC of Gross-Pay is 9(8). The value of
Gross Pay would be 01000250 i.e. the answer (B) is correct

Is This Answer Correct ?    10 Yes 0 No

consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05..

Answer / rama krishna

b. since PIC 9(5) = 01000
and PIC 9(3) = 250

Hence the result is 01000250

Is This Answer Correct ?    6 Yes 0 No

consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05..

Answer / ajith

(b)

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More COBOL Interview Questions

CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?

1 Answers  


What is IMPACT analysis?

2 Answers   IBM,


what is the use of comp2 ? where can we use it with example ?

3 Answers   Covansys,


What is the size of s9(19)comp3? explain

8 Answers  


What is COMP SYNC?

3 Answers  


What is the difference between Call and a Link?

0 Answers  


if one main program ,n -subprograms are then which call you follow ?why reasonuhg

4 Answers   UHG,


If you were passing a table via linkage, which is preferable - a subscript or an index?

3 Answers   TCS,


Can we move X(7) to S9(7) COMP?

1 Answers  


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

0 Answers  


maximum of how many screens we can open in emulator

2 Answers  


what is meaning by design document? who can repared for this?

5 Answers   TCS,


Categories