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

given the following:
77 A PIC 9V9 VALUE 9.5
77 B PIC 9 VALUE 9.
77 C PIC V9 VALUE 0.8
77 D PIC 9
77 E PIC 9
77 F PIC 9V999
what are the contenta of D E nad F after the following
statements are
executed:
COMPUTE F ROUNDED=A+C/B
MULTIPLY A BY C GIVING E
ADD B C A GIVING D ROUNDED
a.F=9.589 E=8 D=1
b.F=9.589 E=8 D=9
c.F=9.589 E=7 D=9
d.F=9.589 E=7 D=1

Answer Posted / amaranatha reddy

this is AMAR(amaran.akg@gmail.com)9043264468

the correct ans: " C "
we 've 4 options, in that no need to check "f" value

next,about "E"

E pic 9(1)
A*C=E
9.5*0.8=7.6[9(1)=7]
hence E=7

now we go C&D for our solution

about "D":
---------

D=B+C+A=9+0.8+9.5=19.3

according to question

"D" i rounded
as per our answer data trunk-ed occur

for numeric literals data assigning is from right to left
-------------
(for integer positions)&left to right(for decimal positions)
------------------------------------------------------------

so Value of "D"=9

--------
hence solution is\ ""C"" \
----------

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between cobol and cobol-ii?

1197


HOw can I get the negative sign while deduct high value from low value

2213


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1606


What is a SSRANGE and NOSSRANGE?

1417


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1110


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

2064


What are the rules of the move verb?

1197


What is report-item in COBOL?

1098


What is link edit in cobol?

1155


What is the usage of comp fields in cobol?

1136


) How do u handle errors in BMS macro?

1911


What is perform what is varying?

1115


example for sub strings ? and refernce modifications whit output pls

2271


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3097


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

1192