Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


s9(18) comp-3:: What is the size of memory it takes
internally?

Answers were Sorted based on User's Feedback



s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / shaan

Answer would be 18+1/2=9.5 rounded to 10 bytes.

Is This Answer Correct ?    20 Yes 2 No

s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / vijay

IT TAKES ONLY 10 BYTES

(18/2)+0.5+0.5=10 BYTES

Is This Answer Correct ?    5 Yes 0 No

s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / shaan

Well since comp-3 items are packed decimal items,2 digits
will be stored in each byte and the last nibble(4 bits) will
contain the sign.

Is This Answer Correct ?    4 Yes 1 No

s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / vinodquestion

Thanks shaan, And what is for sigh decimal numbers
representation for same comp 3? i.e internal representation
of signed decimal number

Is This Answer Correct ?    0 Yes 1 No

Post New Answer



More COBOL Interview Questions

How to recover a deleted source physical file from library?

1 Answers   HCL,


consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

4 Answers   TCS,


What is SET TO TRUE all about, anyway?

5 Answers  


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


what is a zoned decimal data type and how it will be stored?

2 Answers   IBM,






What do you do to resolve SOC-7 error?

2 Answers   Sun Life, Wipro,


Write a program to enter and display the names of students in a class using the occurs clause.

0 Answers  


using redefine can you redefine lower variable size to higher variable size?

3 Answers   Patni,


How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one

9 Answers   IBM,


What is report-item in COBOL?

0 Answers   Arigo Infotech,


How is sign stored in Packed Decimal fields and Zoned Decimal fields?

6 Answers   ABC, HCL, TCS,


what happens if parmparameter passes zero bytes to the program

0 Answers   HSBC,






Categories