nerdexam
IBM

000-349 · Question #12

Which statement about syntax items is true:

The correct answer is A. They must have a restriction list. Syntax items in IBM Transformation Extender type trees are required to have a restriction list that explicitly defines which character values the syntax item is allowed to represent.

System Management

Question

Which statement about syntax items is true:

Options

  • AThey must have a restriction list.
  • BThey have a maximum length of 1 byte.
  • CThe value must come from the input data.
  • DThey cannot be used as variable initiators.

How the community answered

(17 responses)
  • A
    82% (14)
  • C
    6% (1)
  • D
    12% (2)

Why each option

Syntax items in IBM Transformation Extender type trees are required to have a restriction list that explicitly defines which character values the syntax item is allowed to represent.

AThey must have a restriction list.Correct

A syntax item represents a specific marker character such as a delimiter or structural indicator used in the data stream, and a restriction list is mandatory because it defines precisely which character values are valid for that item. Without a restriction list, the parser would have no basis for recognizing the syntax item when scanning the data stream, making the type tree definition incomplete. The restriction list is therefore a required element of any valid syntax item definition, not an optional enhancement.

BThey have a maximum length of 1 byte.

Syntax items do not have a universal maximum length of 1 byte; the length is determined by the character encoding and the specific type tree definition in use.

CThe value must come from the input data.

A syntax item's value is not required to originate from input data; it is defined as a fixed or constant value within the type tree itself and is not derived from the incoming data stream.

DThey cannot be used as variable initiators.

Syntax items can be used as variable initiators to signal the start of a data structure, which is a valid and common use of syntax items in type tree construction.

Concept tested: Syntax items requiring mandatory restriction lists

Source: https://www.ibm.com/docs/en/transformation-extender

Topics

#syntax items#restriction list#type tree#data definition

Community Discussion

No community discussion yet for this question.

Full 000-349 Practice