answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
zysi [14]
1 year ago
7

14.28. Consider the relation R, which has attributes that hold schedules of courses and sections at a university; R = {Course_no

, Sec_no, Offering_dept, Credit_hours, Course_level, Instructor_ssn, Semester, Year, Days_hours, Room_no, No_of_students}. Suppose that the following functional dependencies hold on R: {Course_no} → {Offering_dept, Credit_hours, Course_level} {Course_no, Sec_no, Semester, Year} → {Days_hours, Room_no, No_of_students, Instructor_ssn} {Room_no, Days_hours, Semester, Year} → {Instructor_ssn, Course_no, Sec_no} Try to determine which sets of attributes form keys of R. How would you normalize this relation?
Computers and Technology
1 answer:
AlexFokin [52]1 year ago
7 0

Answer:

Check the explanation

Explanation:

Let us first of all make use the following shorthand notation:

C = the CourseNo,

SN = the SecNo,

OD = the OfferingDept,

CH = the CreditHours,

CL = for CourseLevel,

I = InstructorSSN,

S = Semester,

Y = Year,

D = the Days_Hours,

RM = RoomNo,

NS = NoOfStudents

Hence R = {C, SN, OD, CH, CL, I, S, Y, D, RM, NS}, and the following functional reliance holds –

Now {C} ―  {OD, CH, CL}

Then {C, SN, S, Y} ―  {D, RM, NS, I}

{RM, D, S, Y} ―  {I, C, SN}

Now let’s compute the closure for every left hand part of a functional dependency, given that these sets of attributable elements are the candidates to be keys:

{C}+ equals to {C, OD, CH, CL}

Since {C, SN, S, Y} ―  {D, RM, NS, I}, and

{C}+ = {C, OD, CH, CL} we get:

{C, SN, S, Y}+ equals to {C, SN, S, Y, D, RM, NS, I, OD, CH, CL} = R

Since {RM, D, S, Y} ―  {I, C, SN}, we all know that {RM, S, D, Y}+ contains {RM, D, S, Y, I, C, SN}.

But {C}+ contains {OD, CH, CL}, so these are also controlled in {RM, D, S, Y}+ since C is already there.

{RM, D, S, Y}+ equals to {RM, D, S, Y, I, C, SN, OD, CH, CL, NS} = R

Hence, both K1 = {C, SN, S, Y} and

K2 = {RM, D, S, Y}

When applying the universal explanation of 2NF,

We will discover that the practical dependency {C}―  {OD, CH, CL} is an incomplete dependency for K1 (since C is included in K1).

Hence, R is normalized into R1 and R2as follows:

R1 = {C, OD, CH, CL}

R2 = {RM, D, S, Y, I, C, SN, NS} with candidate keys K1 and K2.

given that neither R1 nor R2 have transitive dependencies on any of the candidate keys,

R1 and R2 are in 3NF form also.

In addition to this, they also satisfy and gratify the BCNF form.

You might be interested in
Write a script to check command arguments (3 arguments maximum). Display the argument one by one. If there is no argument provid
serious [3.7K]

Answer:-args (

if:args=true

-cont

if:args=false

-cont investigating

if:args=irrelevance

-loop restate args

)

compile exec

Explanation:

7 0
1 year ago
The symbol asterisk(*) in a select query retrieves​
Natali [406]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The symbol asterisk (*) in a select query retrieve all result of column in the table. For example, table named "employee" has three column such as <em>id, name, address</em>.

To apply the symbol asterisk (*) in select querry select all the columns in the result.

for example:

select * employee;

this query statement selects all columns of table "employee" in the result.

3 0
2 years ago
#In Pokemon Go, a Pokemon is defined by several different #parameters. For simplicity in this problem, we'll say that #every Pok
Semenov [28]

Answer:

YUP

Explanation:

5 0
2 years ago
Read 2 more answers
A cast is required in which of the following situations? a. using charAt to take an element of a String and store it in a char b
notka56 [123]

Answer:

Option(d) i.e "storing a float in an int" is the correct answer for the given question.

Explanation:

  • Typecast is used for the changing the one datatype to the another datatype Their are two types of casting  

1 implicit

In this typecast we change the smaller datatype into the larger datatype.

For example

int to float  

2 Explicit  

In this typecast we change the larger datatype into the smaller datatype in an explicit manner.

For example

float to int.

  • in the given question we required the casting in the option(d) i.e "storing float in an int" That's why this option is correct and all other options are incorrect.
3 0
2 years ago
Hyper Text Transfer Protocol (HTTP) and Secure HTTP (HTTPS) are the same protocol from a standpoint of passing or blocking them
earnstyle [38]
Answer is false...,.....
5 0
2 years ago
Other questions:
  • Frank works for an organization that wishes to install a software program on a single server with multiple users connected. Whic
    8·1 answer
  • Digital cellphones use __________ to reduce the size of the channels that are required by scattering the digital fragments of co
    9·1 answer
  • Who are the founders of video-sharing site Dailymotion?
    7·1 answer
  • If the computer has an encrypted drive, a ____ acquisition is done if the password or passphrase is available. a. passive b. sta
    8·1 answer
  • An array of ints, arr, has been declared and initialized. Write the statements needed to reverse the elements in the array. So,
    10·1 answer
  • Identify the articulation site that allows us to nod our head ""yes"".
    13·1 answer
  • Read the four detective reports and the combined affidavit and warrant for the M57 Patents case. Write a one- to two-page paper
    5·1 answer
  • The variable isopen is to be used to indicate whether or not a store is currently open. Which of the following is the most appro
    11·1 answer
  • When authenticating a user's password, the password supplied by the user is authenticated by comparing the ____ of the password
    11·1 answer
  • You are responsible for a rail convoy of goods consisting of several boxcars. You start the train and after a few minutes you re
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!