Page 116 - AIS access_chang_ingraham
P. 116

114    CHAPTER 5 ACQUISITION/PAYMENT BUSINESS PROCESS




     KEVTERMS


     Acquisition/Payment                  Nz (null-to-zero) function           AutoNumber
     business process




     QUESTIONS AND PROBLEMS FOR REVIEW


                       MULTIPLE-CHOICE QUESTIONS
                  5.1  When we convert an REA diagram (a conceptual model) into a relational database,
                       (a) We should implement all relationships, regardless of maximum cardinalities, by posting the pri-
                          mary key of one entity into the other entity's table as a foreign key.
                       (b) We should implement a 1:1 (one-to-one) relationship with a separate table.
                       (c) We should implement a l:N (one-to-many) relationship by posting the key of the many entity
                          table into the one entity table.
                       (d) We should implement a l:N (one-to-many) relationship by posting the key of the one entity table
                          into the many entity table.
                  5.2 A company purchases unique (i.e., one-of-a-kind) inventory. The company purchases multiple items
                      from its supplier as part of the same purchase to take advantage of lower shipping costs. The cardi-
                      nality relationship (based on maximum cardinalities) between purchase and inventory is:
                       (a) 1:0
                       (b) l:N
                       (c) 1:1
                       (d) N:N
                       (e) None of the above.
                  5.3  What is the purpose of the Nz (null-to-zero) function?
                       (a) The Nz function enables Access to treat null values as if they are zeroes for calculation purposes.
                       (b) The Nz function enables Access to treat non-null values as if they are null or zero for calcula-
                          tion purposes.
                       (c) The Nz function only affects Access calculations when there are both non-null and null values.
                       (d) The Nz function is only used for complex Access calculations.
                       (e) None of the above.




     PROBLEMS


                  5.1  Dan Tragg has asked you to calculate the total purchases of each inventory item as of October 31,
                       2006. Create a query to do this. Your query should include the Inventory rD, quantity, unit cost, and
                       total dollar amount.
                  5.2  There are many items of inventory listed in the Inventory Table. It is hard to keep remembering the
                       item numbers when you are ordering goods. It might make the Purchase Order more user-friendly if
                       we incorporated a pull-down menu for the Purchase Order Form. Revise the Purchase Order
                      Form to make the InventoryID a combo box. In addition, add a total to the Purchase Order Cost
                       column to provide information for internal decision makers.
                  5.3  Calculate the balance account payable by supplier as of October 31, 2006.
   111   112   113   114   115   116   117   118   119   120   121