What do you feel makes a good program?

Answers were Sorted based on User's Feedback



What do you feel makes a good program?..

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

What do you feel makes a good program?..

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

Post New Answer

More COBOL Interview Questions

01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?

5 Answers   Amdocs,


what is S04E error in jcl?

11 Answers   IBM, L&T,


select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself

2 Answers  


How to Pass table from a cobol program to another cobol program and how to use that table in called program

8 Answers   Patni, SunGard,


How can I tell if a module is being called DYNAMICALLY or STATICALLY?

3 Answers   CTS,






what is the diff b/w select stsmt and cursor ?

2 Answers  


what will happen if i give program name and member name as different? program runs successful or w'll abend?

5 Answers   CTS,


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

0 Answers   Cap Gemini,


01 a pic s9(5) occupies how many bytes ?

9 Answers   Wipro,


study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level

4 Answers   TCS,


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  


There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.

1 Answers   Mind Tree,


Categories