How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.
7 28867consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
3 8855consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
5 12662what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C
3 14411what if any ,is the syntex error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
5 9922Post New TCS COBOL Interview Questions
What is the latest windows operating system?
Explain how do I take good portraits?
What is complete binary tree in data structure?
What are the advantages Information System Architecture Framework in term of analysis and system design
What is the difference between single-quoted and double-quoted strings in php?
What is google jobs?
What is a singleton pattern? How do you use it?
Explain modules in node js?
How do you declare a constant?
Describe the usage of
Explain the difference between silicon controlled switch (scs) and gate turn-off switch (gto)?
Which popular office suite is available free for both microsoft and linux?
Can migrate the one ORACLE DATA INTEGATOR studio to another ORACLE DATA INTEGATOR studio?
What is the difference between mongodb and cassandra?
What is the difference between inline, inline-block, and block?