Answer to PART 1:
Student- Course: The relationship that exist between Student and course is many to many.
Reason: A student can have many courses that he/she studies and also a course that exist in a school/college can have many Students who study them. A student can study courses like Physics, Chemistry, Maths, English. A subject like English can be studied by many Students.
Actor- Movie: The relationship that exist between Actor and Movie is many to many.
Reason: An Actor can perform in several movies and a movie can have several actors performing in it.
Mother- Child: The relationship that exist between Mother- Child is One to Many.
Reason: A Mother can have several children but a Child can have only one mother that has given birth to him/her.
Answer to PART 2:
SQL is known as non-procedural language because this language determines what should be done and gives no info regarding how it should be carried out. Procedural languages generally require deep knowledge and procedure of the operations that needs to be performed. The lower level operations and procedures are abstracted from the user and hence, SQL implements only the higher level operations. Thus, it is known as Non-procedural language.
For each of the relationships listed below, indicate if the relationship is on one, one-to-many, or...
Question 4 To represent a one-to-many relationship in a relational database design, _____. Group of answer choices the key of the child is placed as a foreign key into the parent the key of the parent is placed as a foreign key into the child an intersection table must be created the key of the table on the "many" side is placed in the table on the "one" side the keys of both tables are joined into a composite key...
PART II: Answer 4 of the 5 problems from this part (13 pts each; 52 pts total) important Fil out the box accompanying each problem to indicate if it should be graded If you leave the boxes blank, we will not count your best 4 problems. l-1. Relational Model and SQL (13 pts total) Recall the relations in our movie database DONT GRADE GRADE Movie(id, name, year, rating, runtime, genre, earnings rank) Person(id, name, dob, pob) Directori director id, movie...
Question 29 What entity type is used to convert a many-to-many relationship to two one-to-many relationships? repeating entity intersection entity associative entity attributive entity Question 30 A many-to-many relationship can be directly modeled in a relational database such as Microsoft Access. True False Question 31 Which order is correct for the designer to normalize a data structure? I. Remove all repeating groups and identify the primary key. II. Remove any transitive dependencies. III. Remove all partial dependencies and place them...
7. 16 pts Indicate the relationship between each pair of structures listed below by labeling each as either the same, constitutional isomers, enantiomers or diastereomers. Pair of structures Relationship CH H Hairs) diastreamers +2 Hot CO₂H Hgo r H+Bris .COM Constrol ismus o co diesbet diasteamers
(TCO 7) Write a JOIN to display the instructor first and last names and the course description for the course the instructor is teaching Student Instructor Zipcode PK Student ID PK Instructor ID PK Zip Salutation First Name Last Name Street Address Phone Employer Registration Date Salutation First_Name Last_Name Street Address City State FK1 Zip FK1 Zip Section PK Section ID Course Course Section_Num Enrollment Start Date_Time Location PK Course ID PK,FK1 Section ID PK,FK2 Student ID Capacity FKI |...
Problems and Exercises 1 through 9 are based on the dass scheduling
3NF relations along with some sample data shown in Figure 6-11.
Not shown in this figure are data for an ASSIGNMENT relation,
which represents a many-to-many relationship between faculty and
sections.4. Write SQL data definition commands for each of the following queries:a. How would you add an attribute, Class, to the Student
table?b. How would you remove the Registration table?c. How would you change the FacultyName field from...
Draw the correct lewis structure for each of the following molecules listed below. Indicate non-zero formal charges, indicate the geometry of the central atom, and show the direction of the dipole moment of the molecule by placing an arrow indicating the direction and magnitude of the dipole. Also draw a valid valence bond diagram for at least one resonance structure indicating hybridization for each central atom as well as labeling all sigma and pi bonds. For each molecule, indicate the...
Indicate the variables types for the listed variables below and briefly explain (one or two sentences) why you think that. 1. Government spending on education in a given financial year ($) 2. Gender of G20 Leaders
46. Calculate the formal charge for each atom in the two structures listed below. Then indicate which one is the best structure. H-N C: H-C=N:
Please do not delete the questions. 1. What is the purpose of a database? 2. What is the reason to use a database over a spreadsheet? 3. Based on the previous answers (#1 & #2), there is a simple rule of thumb. A spread sheet is used when there is _________________________. A database is used when there are _________________________. 4. Please answer followings. a) A group of 8 bits is called a ____________ (from Chapter 4). b) The answers of...