Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
3 views

Assignment -01

The document outlines the first assignment for a Database Systems course, due on November 28, 2024, which requires students to deliver a well-organized hard copy. It includes multiple questions that involve drawing ERDs and mapping schemas for databases related to an airport and a car dealership, as well as SQL operations and discussions on database concepts. Additionally, it covers challenges with file processing, the database design life cycle, characteristics of the database approach, advantages of using DBMS, and data model differences.

Uploaded by

muhammedtarek160
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Assignment -01

The document outlines the first assignment for a Database Systems course, due on November 28, 2024, which requires students to deliver a well-organized hard copy. It includes multiple questions that involve drawing ERDs and mapping schemas for databases related to an airport and a car dealership, as well as SQL operations and discussions on database concepts. Additionally, it covers challenges with file processing, the database design life cycle, characteristics of the database approach, advantages of using DBMS, and data model differences.

Uploaded by

muhammedtarek160
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Database Systems Course

Assignment #01
Due to (28 November 2024 )
Instructions:
1. It will be delivered as a hard copy.
2. The well-organized document will be appreciated
3. The same group of Mini-Project will deliver the assignment.
4. It will be delivered during the LAB
5. Delay after deadline never allowed

Question (1)
Draw ERD and the mapping Schema for the following database
Computer Sciences Department frequent fliers have been complaining to
Dane County Airport o icials about the poor organization at the airport. As a
result, the o icials decided that all information related to the airport should be
organized using a DBMS, and you have been hired to design the database.
Your first task is to organize the information about all the airplanes stationed
and maintained at the airport. The relevant information is as follows: Every
airplane has a registration number, and each airplane is of a specific model.
The airport accommodates a number of airplane models, and each model is
identified by a model number (e.g., DC-10) and has a capacity and a weight. A
number of technicians work at the airport. You need to store the name, SSN,
address, phone number, and salary of each technician. Each technician is an
expert on one or more plane model(s), and his or her expertise may overlap with
that of other technicians. This information about technicians must also be
recorded. Tra ic controllers must have an annual medical examination. For
each tra ic controller, you must store the date of the most recent exam. All
airport employees (including technicians) belong to a union. You must store the
union membership number of each employee. You can assume that each
employee is uniquely identified by a social security number.
The airport has a number of tests that are used periodically to ensure that
airplanes are still airworthy. Each test has a Federal Aviation Administration
(FAA) test number, a name, and a maximum possible score. The FAA requires
the airport to keep track of each time a given airplane is tested by a given
technician using a given test. For each testing event, the information needed is
the date, the number of hours the technician spent doing the test, and the score
the airplane received on the test.
Question (2)
Draw ERD and the mapping Schema for the following database
A car dealership sells both new and used cars, and it operates a service facility.
Base your design on the following business rules:
A salesperson may sell many cars, but each car is sold by only one salesperson.
A customer may buy many cars, but each car is bought by only one customer.
A salesperson writes a single invoice for each car he or she sells. A customer
gets an invoice for each car he or she buys. A customer may come in just to
have his or her car serviced; that is, a customer need not buy a car to be
classified as a customer. When a customer takes one or more cars in for repair
or service, one service ticket is written for each car. The car dealership
maintains a service history for each of the cars serviced. The service records
are referenced by the car’s serial number. A car brought in for service can be
worked on by many mechanics, and each mechanic may work on many cars. A
car that is serviced may or may not need parts (e.g., adjusting a carburetor or
cleaning a fuel injector nozzle does not require providing new parts).
Question (3)
Find the mapping relational database schema for the following ERD:
Question (4)
Find the mapping relational database schema for the following ERD:
Question (5)
For the following relational database schema :

Write the SQL to perform the following operations:


1. Create “BOOK_LOANS” and “BOOK_COPIES”
2. Retrieve the Titles of All Books
3. Find All Copies of a Book in Di erent Library Branches
4. Find the name of author of the book has Title = “Database Management
Systems”
5. Find the name and phone number of borrower who borrow the book
title= ”Fundamental of Database Systems”
Question (6)
1. List with a brief description Challenges with File Processing.
2. List with a brief description Database design life cycle.
3. List with a brief description Main Characteristics of the
Database Approach.
4. List with a brief description Advantages of using DBMS.
5. What are the di erences between logical, conceptual and
physical data models?
6. On case of UPDATE & DELETE, what are several actions can be
taken in case of integrity violation.

You might also like