What do you feel makes a good program?
Answers were Sorted based on User's Feedback
Answer / raghunandan modak
A program that follows a top down approach. It is also one
that other programmers or users can follow logically and is
easy to read and understand.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / suresh babu
A good program should have the qualities like:
1. Correctness: It is the most important of the qualities.
A program that fails to produce correct results is
worthless.
2. Readability: Readability means the program shoud be
written in such a way that if a person wants to read and
understand the program, it shoud be possible for him to do
so without much difficulty. It is the primary objective of
structured programming.
3. Portability: A portable program is the one that can be
executed on different machines(with different compilers)
without any change or with only minor changes if required.
| Is This Answer Correct ? | 0 Yes | 0 No |
what are the diferences b/w sub-script and index?
i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2
wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..
How can we increase the size of an existing PDS to include more no. of modules. I tried the answer posted by Jagan(TSO PDS 'pds name') but did not find it working. The answer posted by kamal i know very well. Please suggest me a answer so that we don't need to delete the existing PDS and still we can change the size as well.
What is the default value of DISP parameter?
What is sqlca and why is it needed in any cobol-db2 program?
WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH
what is the difference between Plan & package?
What is the different between index and subscript?
What are the divisions in a cobol program?
what is subscript in cobol?give realtime example?
01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.