A paragraph PARA-X is to be executed when none of the data names
A, B and C have value of 1. Which of the following will
achieve this ?
(a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X
(B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X
(C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X
(C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X
Answer Posted / vel
Answer is d. b is wrong as 'NOT' priority is Higher
than 'AND', 'NOT' will be assigned with A alone.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What are the different rules for performing sort operation?
How you can characterize tables in cobol?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What are declaratives and what are their uses in cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Which mode is used to operate the sequential file?
Have you used comp and comp-3 in your project? And how?
Explain about different table spaces.
What is a report item?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is comp-1 and comp-2?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the difference between next sentence and continue in cobol programing language?