Sei sulla pagina 1di 2

HiLCoE CS744 Problem Set 1

HiLCoE
CS744 - Database Technology Lab
Problem Set-1
03/04/2020
Assessment: 10% of the final grade

Instruction: The answer for the problem set is submitted in soft copy through the course portal.
There is an instruction in pdf format on the course portal that shows you the steps on how to
submit your assignment. The answer should be prepared in SQL script in .sql file format. You
make sure that the answer script runs successfully. A group of minimum three max four
students are allowed to work on this problem set. On the top of the answer sheet the name of
the group members should be clearly stated. The dead line to submit the soft copy of the
answer sheet is on April 15, 2020 at 6 PM.

A cinema house in Addis called cinema ABC would like to launch a digital film distribution and
would like to maintain a database of the films under its collection. A film is described in ISAN (a
unique alphanumeric international numbering systems for audiovisual identification) title,
genre and stars. The first and second name of the actor or actress is described in full name. In a
given film at least two at most three main actors or actress name is registered. A film studio
has a name and address. Address is described in city and postal code. A Film studio produces
many films. The films are owned by these giant film producing companies. The database is to be
implemented in object relational database. Object Association would be used for implementing
any association that would be identified in the business model. The appropriate object
constraints should be put in place to keep data integrity.

1. You are provided with a starter file that provide you the hint on the objects types that
you expected to consider for the implementation of the requirement.
2. Implement reg_studio member procedure that takes as parameter the name and
address of the studio and register the studio information.
3. Implement register_film member procedure whose parameters are the attributes
of the film type and that register films.
4. Implement standalone procedure getFilm that takes studio name as a parameter and
displays the studio that produced the films and the information about the films.
5. Provide the appropriate customized constructor without parameter for the appropriate
types and instantiated the instances based on that parameter.
6. Register two film studio records and record two films that they produced for each
studios and your getFilm procedure expected to produce the records as the sample
output below.
HiLCoE CS744 Problem Set 1

The following is the sample output of the application

NOTE: Plagiarism of one’s working adversely affects your mark.

Potrebbero piacerti anche