Database
Database
Database
company. The company sells motorcycles which have an engine number and
cost; cars which have a chassis number, an engine number, seating capacity and
cost; trucks which have chassis number, an engine number and cost.
Q2] Map the following ER diagram to a relational database. Give the relation
names and attributes in them. Also mention the primary key and foreign keys if
any for each table.
Q3] Given the dependency diagram shown in the following figure, (the primary
key attributes are underlined)
Q5] The tourism department wishes to computerize its data. The information
consists of monuments of tourist interest, their location and history. Monuments
are classified according to historical, religious and architecture importance. The
list of facilities available at each sport is also available. These give (i) living
accommodation in terms of hotels, their names, category and the number of
rooms available and (ii) local transport facilities in terms of service provider
name, tours with their tariff and timing. Arrive at an E-R diagram by identifying
the entities, relationships, attributes, primary keys and cardinality