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
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the difference between static call & Dynamic call?
if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
What is difference between comp & comp-4?
I have a sequential file. How do I access a record in this sequential file randomly in my program ?
What are all the divisions of a COBOL program?
We have 3 programms A,B,C.In the middle of the program A the controls goes to program B and in the middle of the program B control wants to go program C,after completion of program C again control comes to program B and again after completion of program B control comes to program A.How the process will takes and what are the controls we use for that process.If it is possible anybody of you explain with example?
Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.
What is an in line PERFORM? When would you use it? Anything else to say about it?
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?
How many bytes do a s9 (7) comp-3 field occupy?
What is the compute verb? How is it used?