1. Calculate the distance (dissimilarity) between two dataobjects with three nominal attributes: color, shape, and taste.Object 1 (O1) has values (‘red’, ‘round’ ,’sweet’) and Object 2(O2) has values (‘black’, ‘round’, ‘bitter’). Showcalculations.
1. Write a PL/SQL function CALCULATE_TAX. This function shouldhave two parameters: price and tax (tax is a percentage, forexample, 8%). The function should return the tax amount for a givenprice and a given tax percentage. For example,CALCULATE_TAX(100.00, 5) returns 5.00.
Expert Answer
An answer will be send to you shortly. . . . .