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

How will 128 be saved in s9 (3) comp-3
How will 12 be saved in s9 (2) comp

Answer Posted / kavithachandrashekar

comp-3 is stored as (n+1)/2 where n is number of digits.Since here n is 3 for numeric 128,(3+1)/2=2 bytes.

12 8C here c represents positive(D for negative)

Comp is stored as n/2,where n is number of digits.Since n is 2 for numeric 12,(2)/2=1 byte(1/2 word)
12 is saved as 12.

Is This Answer Correct ?    7 Yes 7 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?

1588


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1211


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

3232


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1342


What is the compute verb? How is it used?

1143


How you can characterize tables in cobol?

1201


Explain how you can characterize tables in cobol?

1063


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1241


) how do u code after getting data?

2150


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1115


Which Search verb is equivalent to PERFORM…VARYING?

1041


How do you differentiate between cobol and cobol-ii?

1207


What are different data types in cobol?

1316


What is perform what is varying?

1166


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1203