Machine-translated by Google. Questions are authored in English.
Top

Discussion

Consider the following statements about frames.

1. Slots may carry default values.

2. Frames support inheritance along is-a links.

3. Procedures may be attached to slots.

Which of the statements given above is or are correct?

  • A.1 and 3 only
  • B.1, 2 and 3
  • C.1 and 2 only
  • D.2 and 3 only

Answer: B

All three are genuine features: defaults express typical values, inheritance shares structure down a hierarchy, and attached demons compute values on access. Together they make frames a richer representation than rules for describing objects, which is why the two are usually combined rather than chosen between. The overridable default is also what makes frame reasoning non-monotonic.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.