Question

In: Computer Science

Databases Terrier Television wants to create a database of its TV series recordings. Each Series consists...

Databases

Terrier Television wants to create a database of its TV series recordings. Each Series consists of 13 episodes. Actors may appear in more than one series. Terrier TV wants the database to be searchable be series, episode and actor.

  1. Why would a relational database be the most appropriate solution for this?
  2. List the tables and attributes for when the database is implemented in Access and identify the primary key and the foreign key for each table.

Solutions

Expert Solution

First Part:

A relational database be the most appropriate solution for the given situation due to the following reasons:

(i) Relational database will provide a simple and easily understandable model.

(ii) It will provide non-repetitive accurate data.

(iii) It will provide easy and effective data access.

(iv) The integrity of the database will be most secured if relational database is used.

(v) It will provide flexibility.

(vi) The database will be normalized as relational database removes redundancy.

(vii) Any modification for the future can be made easily.

(viii) Relational database will provide a very good security.

Second Part:

The tables and attributes will be following (primary keys are underlined):

Actor (actor_id, actor_first_name, actor_last_name, age, gender)

Casting (series_id, episode_id, actor_id (FK), role)

In the casting table, both the attributes series_id and episode_id will form a composite primary key as both are required to uniquely identify every entry of the table. the actor_id will be a foreign key which will refer to the primary key of the table Actor (actor_id).

Direction (director_id, director_name)

TV_Series (series_id, episode_id, episode_name, duration, rating, date_of_release)

In the TV_Series table, both the attributes series_id and episode_id will form a composite primary key as both are required to uniquely identify every entry of the table.

Please comment in case of any doubt.
Please upvote if this helps.


Related Solutions

Requirements. A television channel has decided to create a simple database to register payment information about...
Requirements. A television channel has decided to create a simple database to register payment information about its most successful show ‘TheVoiceLondon’. In this show, there are contenders that compete to represent the UK in Eurovision. These contenders are coached by famous artists (namely the coaches). Contenders can be formed by a group of participants or a single participant. Both coaches and participants are paid based on the number of shows they attend. For each coach and participant, the database stores...
1.14. A service facility consists of two servers in series (tandem), each with its own FIFO...
1.14. A service facility consists of two servers in series (tandem), each with its own FIFO queue (see Fig. 1.50). A customer completing service at server 1 proceeds to server 2, while a customer completing service at server 2 leaves the facility. Assume that the interarrival times of customers to server 1 are IID exponential random variables with mean 1 minute. Service times of customers at server 1 are IID exponential random variables with mean 0.7 minute, and at server...
In the 1950s, there were only a few television channels. Assume each TV channel is independent,...
In the 1950s, there were only a few television channels. Assume each TV channel is independent, and they each play three 1-minute commercials each hour on average. There is no relationship between the schedules of each channel or the time of day/hour and whether or not a commercial is playing. Assume your TV has three channels, you hate commercials and you are an infinitely fast channel changer. a) What is the probability that at any given moment, there are commercials...
Based on Movie package example, you will create a package about your favorite TV series and...
Based on Movie package example, you will create a package about your favorite TV series and provide the plot() Readme.txt: Explain how you apply polymorphism in your program package Movie; public class MovieTester { public static void main(String[] args) { for(int i = 1; i < 11; i++){ Movie movie = randomMovie(); System.out.println("Movie # " + i + ": " + movie.getTitle() + ", Genre: " + movie.getGenre() + '\n' +"Plot: " + movie.plot()); } } public static Movie randomMovie(){...
You are interested in analyzing some hard-to-obtain data from two separate databases. Each database contains n...
You are interested in analyzing some hard-to-obtain data from two separate databases. Each database contains n numerical values -so there are 2n values total - and you may assume that no two values are the same. You’d like to determine the median of this set of 2n values, which we will define here to be the nth smallest value. However, the only way you can access these values is through queries to the databases. In a single query, you can...
b. An investor wants to create a portfolio of three stocks form a set that consists...
b. An investor wants to create a portfolio of three stocks form a set that consists of 5 defense companies, 4 transportation companies and 6 healthcare companies. If the investor picks the three stocks at random, what is the probability that all three stocks will be from different industries. c. In part (b), what is the probability that at least two out of the three stocks picked will be from different industries?
Create tables according to the mapping. Add 2 records to each. Create 5 queries for database...
Create tables according to the mapping. Add 2 records to each. Create 5 queries for database of 3 table joins to use most of the tables or group of tables in database. You should not have tables that are of no use. Student(ssn, name, major) Class(classID, name, f_ssn) Faculty(ssn, name, office_num, dept_id) Department(Dept_id, office_num, f_ssn) Enroll(s_ssn, classID, grade) Professor(f_ssn, alma-mater, tenured) Instructor(f_ssn, term_degree, type) Lecture(classID, method) Lab(classID, location) Person(ssn, dob, gender)
A power supply consists of three rectifiers in series. Each rectifier has a Weibull failure distribution...
A power supply consists of three rectifiers in series. Each rectifier has a Weibull failure distribution with β equal to 2.1. However, they have different characteristic lifetimes given by 12,000 hr, 18,500 hr, and 21,500 hr. Find the MTTF and the design life of the power supply corresponding to a reliability of 0.90. After you calculate both values add them together and provide it as your answer to this problem. (two decimals)
A loan company wants to design a database to track student loans. Each student attending school...
A loan company wants to design a database to track student loans. Each student attending school is eligible for a loan. A student may have more than one loan. A student may be registered, possibly at different times, in more than one school. Each loan should belong to only one bank. Each bank can approve as many loans as it desires. For each loan, the loan company will track: the student’s SSN, name, address, amount of loan, date of the...
A loan company wants to design a database to track student loans. Each student attending school...
A loan company wants to design a database to track student loans. Each student attending school is eligible for a loan. A student may have more than one loan. A student may be registered, possibly at different times, in more than one school. Each loan should belong to only one bank. Each bank can approve as many loans as it desires. For each loan, the loan company will track: the student’s SSN, name, address, amount of loan, date of the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT