COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
TCS,
1 6460OCCURS clause is used in the DATA DIVISION on data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49
TCS,
13 20781Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
TCS,
7 15602Consider the following COBOL entries 05 X PIC 99 VALUE 10. ADD 40 X TO X. COMPUTE X = 3 * X - 40. The result in X is
TCS,
12 19328given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
TCS,
2 8613The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND
10 33359The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above
TCS,
3 9974Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
4 9211Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above
TCS,
7 15112Which 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
TCS,
7 10182
What is an in line perform? When would you use it? Anything else you wish to say about it.
Have you used comp and comp-3 in your project? And how?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the difference between PIC 9.99 and PIC9v99?
What is redefines clause in COBOL?
What are literals?
how to access the file from prodution from changeman tool and to submit a file to production
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is inspect in cobol ?
What rules are followed by the search verb.
Explain how to differentiate call by context by comparing it to other calls?
Write a program to explain size error.
What is the Purpose of Pointer in the string?