Which of the following EDITind and PICTURE symbols is to be
used if a
minus(-) is to appear before the value if the value is
-ve and a plus(+)
is to appear before the value if the value is +ve?
(a) +
(b) -
(c) + OR
(d) It is not possible

Answers were Sorted based on User's Feedback



Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / ad

+

Is This Answer Correct ?    2 Yes 0 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / guest

Correct answer is +. If we used + than it will print + for
positive value and - for negative value.

Is This Answer Correct ?    2 Yes 0 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / guest

+

Is This Answer Correct ?    2 Yes 0 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / dev

only option (a) is correct as per the requirement

Is This Answer Correct ?    1 Yes 0 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / swappy

Answers #1 and #3 are correct. "+" is used to display +ve
as well as -ve sign. "-" is used to display a -ve sign when
the no. is -ve.

Is This Answer Correct ?    1 Yes 1 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / islam

correct answer is (b) -

Is This Answer Correct ?    0 Yes 2 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / saikat

+ and - both are correct.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More COBOL Interview Questions

How many bytes will be allocated for the following record description entries? 01 REC-A. 05 A PIC S9(4). 05 B PIC XXXBXXX. 05 C PIC ____9.99. 05 D PIC S9(5) COMP-3. 05 E PIC 9(3) COMP.

16 Answers   IBM, TCS,


what is the use of filler in cobol programing?

4 Answers   MAT,


How you can characterize tables in cobol?

0 Answers  


Why we are using comp and comp-3 in real time projects?

4 Answers   IBM,


How can you pass values from COBOL program to non-COBOL programs?

2 Answers  






How do you define a sort file in JCL that runs the COBOL program?

6 Answers   Syntel,


what is MSGLEVEL?

1 Answers   IBM,


what are the diferences b/w sub-script and index?

4 Answers  


record length in spool?

2 Answers   Infosys,


I want ALL jcl ERROR cods

1 Answers  


How many variables can be declared in w-s section.?

2 Answers  


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

0 Answers  


Categories