# Question: Give a type definition for a scalar type called CIRCLE

Give a type definition for a scalar type called CIRCLE, what selectors and The-operators apply to this type? Also:

a. Define a set of read only operators to compute the diameter, circumference, and area of a given circle.

b. Define an update operator to double the radius of a given circle (more precisely, to update a given Circle variable in such a way that its circle value is unchanged except that the radius is twice what it was before).

a. Define a set of read only operators to compute the diameter, circumference, and area of a given circle.

b. Define an update operator to double the radius of a given circle (more precisely, to update a given Circle variable in such a way that its circle value is unchanged except that the radius is twice what it was before).

## Answer to relevant Questions

Give some examples of types for which it might be useful to define two or more distinct possible representations. Can you think of an example where distinct possible representations for the same type have different numbers ...What do you understand by the term cardinality?Give Tutorial d formulations for the following updates to the suppliers-parts-projects data-base;(a) Insert a new shipment with supplier number S1, part number P1, project number J2, quantity 500.(b) Insert a new supplier ...Union, intersection, product, and natural join are all both commutative and associative. Verify these claims.Get part numbers for parts supplied by a supplier in London to a project in London.Post your question