In the syntax WORD(xxxx) what do xxxx specifies?

  1. (a) starting characters of the name of the reserved-word table

  2. (b) ending characters of the name of the reserved-word table

  3. (c) alternate characters of the name of the reserved-word table

  4. (d) All of the above


Correct Option: A
Explanation:

To solve this question, the user needs to know the syntax of the WORD function.

The WORD function is used in COBOL programming language to check if a given word is a reserved word or not. The syntax of the WORD function is:

WORD(word-to-be-checked, length-of-word-to-be-checked)

The xxxx in the given syntax WORD(xxxx) specifies the word to be checked for being a reserved word.

Option A, B, and C are incorrect because they do not specify the correct explanation for xxxx in the syntax WORD(xxxx).

Option D is incorrect because only option A is partially correct and option B and C are incorrect.

Therefore, the correct answer is:

The Answer is: A

Find more quizzes: