Interview questions and answers for cobol pdf


















Interview Questions. About Me. A True B False Find which one of the following is not correct A The environment division is the most machine dependent division among all the divisions B In Most compilers the environment division must contain the configuration section.

A The SET verb can be used to set one or more indexes to a particular value B The SET verb can be used to move the current value of an index to one or more identifiers C The verb can be used to increment one or more identifiers by a positive integral value D The verb can be used to decrement one or more indexes by a positive integral value Which of the following statements are false?

A A more efficient code is generated if indexing rather than subscripting is used B Indexing is a must, if search verb is to be used on a table C Relative indexing is allowed but relative subscripting is not allowed D A perform statement with varying option can manipulate a subscript but it cannot manipulate an index Which of the following may not take place when a file on Tape is opened in INPUT mode?

A It positions the tape at the first record B It checks whether the retention period for the file has expired or not and if period is expired then prints an error message C It allocates buffers to the file to store user records D It checks the title of the file to ensure the opening of the correct file Which of the following does not provide options to set up special procedures for handling input-output errors or exceptions in COBOL?

This is necessary for the students in order to have in-depth knowledge of the subject so that they can have better employment opportunities in the future. It is a large and multi-user computer device that helps to perform TIPS per second.

Traditionally, mainframes were related to instead of distributed computing, Distinction is blurring smaller between traditional centralized computing and distributed computing because small computers become additional powerful and mainframes become additional multi-purpose. If you meant SDSF, it stands for system display and search facility. These tables are usually required during the testing of the production environment. It is used for the clearing of the different values of the catalog columns.

Since this column is already equipped with default values, the end result may not be as expected. JCL is the management language for running programs in a very batch atmosphere. Foreign keys are properties of a particular table having matching entries to a primary key in some other table. This results in the formation of a relation between the two tables.

Multiple indexes are two indexes, one each for a column of the same table. Composite index is only one index, which consists of combined values of 2 columns of a table. The aim of the keyword UPDATE in a very pointer is to let the information server apprehend that the program will update or delete any row that it fetches. Which one is the mandatory division among them? Data division, environment division, identification division, and procedure division. Out of these, identification is the most important and mandatory division.

The symbol refers to the array arrangement when the displacement in the absence of bytes from the beginning of the start. A minimal distinction is there in the way they work.

They both help to extend design in a program. COMP fields, for the most part, are utilized for ideal utilization of room and for speed handling of arithmetic activities. We can utilize SET to dole out an incentive to 88 level variables. But the program may bomb some of the time in case the field is utilized as a part of number-crunching computations.

On the off chance that the program name is eluded explicitly in the CALL articulation then it is considered as a Static call and if a working stockpiling variable alludes in the CALL explanation then it is considered as a Dynamic call.

The DBD only allows entry to one object at a particular time. Lock contention is said to happen when more than one object seeks permission for execution simultaneously. It determines the location of the program, which is called the EXEC statement. It is not possible to use it for catalogued procedures. It determines the dataset in which the program exists. It applies only to one step and not the entire job. Search on a sorted array. Compare the item to be searched with the item at the center.

The linkage section is used to pass data from one program to another program or to pass data from a procedure to a program. Global variables are accessible only to the batch program whereas external variables can be referenced from any batch program residing in the same system library. Pic 9v99 is a three position Numeric field with an implied or assumed decimal point after the first position. These are options for a compiler to find the subscript out of range.

COMP-1 is a Single precision floating point and uses four bytes. COMP2 is the double precision floating number and uses eight bytes. PIC 9. The Purpose of Pointer is to specify the leftmost position within receiving field where the first transferred character will be stored. If it matches, it is good to go with the value else repeat the process with the left half or the right half depending on where the item lies. If it exists in the load module, then it is called statically.

For ease of reading, it is suggested coding practice to always make scope terminators explicit. So, it is important that the file must be opened in I-O mode for conducting rewriting function. Next Sentence is the collection of sentences that always ends with.

Thus, there are several inbuilt functions in this programming language which finds application in many verticals. Make sure you have all the basic and advanced knowledge before appearing for your interview to grab your dream job. Thank you. What is responsive web design and why is it important? COBOL supports three data types in it programming structure. It is a special register that has the length of an elementary item or a group.

Following are the features of COBOL as a means of business language: It can be compiled, executed and brought together on various machines. It can handle large volumes of data and it is a business-oriented application. It offers several debugging and testing tools for business users as it has several versions that make it easy to debug.

It is a structured language. It is a logical way of programming and helps us to write the code logically. In this, first objects are identified and then the functions and procedures are written. It is a natural way of programming.



0コメント

  • 1000 / 1000