COMPUTE X = A * B - C * D and
COMPUTE X = (A * B) - (C * D)
(a) Are not the same
(b) Are same
(c) Syntactically wrong
(d) Will yield a run time error



COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are s..

Answer / guest

b

Is This Answer Correct ?    19 Yes 0 No

Post New Answer

More COBOL Interview Questions

Write a cobol program making use of the redefine clause.

0 Answers  


i need a small 3d program using inline and outline.

0 Answers  


What is COMP-1? COMP-2?

4 Answers   CitiGroup,


Difference between array and sub-script ?

0 Answers   HCL,


Discuss about changing dataset name in proc.

0 Answers  


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

0 Answers  


What is the difference between subscript and index?

1 Answers  


What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,


what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 57397 is moved to pic $$,$$9.

5 Answers  


What is the Linkage section? What is the Use and Why the parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9 (4) COMP." any reason?.Please let me know any one... Cheers,Prasad

8 Answers   Syntel,


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

8 Answers   Arigo Infotech,


tell me about examine inspect and evaluate ?

2 Answers   CTS,


Categories