An algorithm is
a. The inputs and outputs of a program
b. The part of the computer that does the processing
c. A finite set of steps to solve a problem
d. A complete computer program
c. A finite set of steps to solve a problem
You might also like to view...
What error will you get if there is something wrong with the formula in a calculated field?
A) #NAME! B) Invalid expression C) Invalid syntax D) #FORMULA!
Consider the following database schema:
1. Supplier(SName, ItemName, Price)—supplier SName sells item ItemName at Price
2. Customer(CName, Address)—customer CName lives at Address.
3. Order(CName, SName, ItemName, Qty)—customer CName has ordered Qty of item ItemName from supplier SName.
4. Item(ItemName, Description)—information about items.
(a) Draw the E-R diagram from which the above schema might have been derived. Specify the keys.
(b) Suppose now that you want to add the following constraint to this diagram: Every item is supplied by some supplier . Modify the diagram to accommodate this constraint. Also show how this new diagram can be translated back to the relational model.
(c) Repeat parts (a) and (b) in UML.