10. Quiz Questions

10.1. Question 1: Properties/methods of a model class

Which of the following are properties or methods of a model class Book? Select one or more:

☐ Book.retrieveAll ☐ Book.update ☐ Book.destroy ☐ Book.save

☐ Book.load ☐ Book.instances ☐ Book.add

10.2. Question 2: Using the output element

In which CRUD use case does the user interface include an HTML output element? Select one or more:

☐ Retrieve/list all ☐ Update ☐ Delete ☐ Create

10.3. Question 3: Entity tables

Which of the following tables represent entity tables for a model class Book? Select one or more:

  1. Key

    Value

    1

    [ "006251587X", "Weaving the Web", 2000 ]

    2

    [ "0465026567", "Gödel, Escher, Bach", 1999 ]

    3

    [ "0465030793", "I Am A Strange Loop", 2008 ]

  2. Key

    Value

    1

    { isbn:"006251587X", title:"Weaving the Web", year:2000 }

    2

    { isbn:"0465026567", title:"Gödel, Escher, Bach", year:1999 }

    3

    { isbn:"0465030793", title:"I Am A Strange Loop", year:2008 }

  3. Key

    Value

    006251587X

    { isbn:"006251587X", title:"Weaving the Web", year:2000 }

    0465026567

    { isbn:"0465026567", title:"Gödel, Escher, Bach", year:1999 }

    0465030793

    { isbn:"0465030793", title:"I Am A Strange Loop", year:2008 }

  4. Key

    Value

    006251587X

    [ "006251587X", "Weaving the Web", 2000 ]

    0465026567

    [ "0465026567", "Gödel, Escher, Bach", 1999 ]

    0465030793

    [ "0465030793", "I Am A Strange Loop", 2008 ]