nerdexam
IBM

000-349 · Question #20

Refer to the Exhibit. The Exhibit shows the group view for an input type tree that defines a purchase order (PO) file. The component rule on the Record component:

The correct answer is D. identifies the beginning of a new PO. A component rule on a repeating Record component can use a conditional expression to detect when a new instance of that component begins, guiding the parser to correctly segment each purchase order. The question tests understanding of component rule behavior in type trees.

Design

Question

Refer to the Exhibit. The Exhibit shows the group view for an input type tree that defines a purchase order (PO) file. The component rule on the Record component:

Options

  • Aselects the last PO record
  • Bidentifies the end of the PO file
  • Ccounts the number of PO records
  • Didentifies the beginning of a new PO

How the community answered

(22 responses)
  • B
    5% (1)
  • C
    9% (2)
  • D
    86% (19)

Why each option

A component rule on a repeating Record component can use a conditional expression to detect when a new instance of that component begins, guiding the parser to correctly segment each purchase order. The question tests understanding of component rule behavior in type trees.

Aselects the last PO record

Selecting only the last PO record requires a terminal or end-of-group condition, which is the opposite of a rule that fires at the beginning of each new record.

Bidentifies the end of the PO file

Identifying the end of the PO file is handled by a terminator property or a rule defined at the File type level, not by a component rule scoped to the Record type.

Ccounts the number of PO records

Counting PO records is an occurrence or quantifier function, not the role of a component rule that evaluates positional or content-based conditions to identify structural boundaries.

Didentifies the beginning of a new POCorrect

In a type tree, a component rule on the Record type uses a lookahead or match condition to signal that a new PO record is starting, telling the parser to begin a fresh instance of the Record component when the condition is satisfied. This pattern is standard for handling repeating records where a leading field value or marker distinguishes the start of each new entry in the file.

Concept tested: Type tree component rule identifying new record start

Topics

#component rule#group view#purchase order#type tree

Community Discussion

No community discussion yet for this question.

Full 000-349 Practice