In a COBOL program it is possible to specify another entry point at which a program will begin running by using the ENTRY label in the called program, it is called as?

  1. (1) Dynamic entry point

  2. (2) Alternate entry point

  3. (3) Static entry point

  4. (4) Normarl enrty Point


Correct Option: B
Explanation:

To answer this question, the user needs to know about COBOL programs, entry points, and the use of the ENTRY label.

The ENTRY label in a COBOL program is used to specify another entry point at which a program will begin running. This allows the program to be executed from different starting points within the same program. The use of an alternate entry point enables a program to be divided into smaller, more manageable components.

Now, let's go through each option and explain why it is right or wrong:

A. (1) Dynamic entry point: This option is incorrect. Dynamic entry point refers to the ability of a program to call another program or subroutine at run time, rather than at compile time.

B. (2) Alternate entry point: This option is correct. The use of the ENTRY label in a COBOL program specifies an alternate entry point at which a program will begin running.

C. (3) Static entry point: This option is incorrect. A static entry point is a fixed starting point within a program that is determined at compile time.

D. (4) Normal entry point: This option is incorrect. There is no such term as a normal entry point in COBOL programming.

Therefore, the answer is: B. (2) Alternate entry point

Find more quizzes: