Question

The employee is table, the best candidate for primary key is Select one: a. Department ID...

The employee is table, the best candidate for primary key is
Select one:
a. Department ID
b. Employee hiredate
c. Employee ID
d. Employee salary
Question 2
A primary key can be composed of more than one attribute.
Select one:
True
False
Question 3
A foreign key allows you to join two tables.
Select one:
True
False
Question 4
Given two tables, department (dept_id, dept_location, dept_name) and EMPLOYEE(emp_id, emp_name, emp_dept_id, emp_name, emp_salary), which attribute (column) is the foreign key?

Select one:
a. DEPARTMENT table, dept_id column
b. DEPARTMENT table, dept_location column
c. DEPARTMENT table, dept_name column
d. EMPLOYEE table, dept_id column
e. EMPLOYEE table, emp_id column
f. EMPLOYEE table, emp_name column
g. EMPLOYEE table, emp_salary column
Question 5
In the relationship, a PHYSICIAN cares for many PATIENTS, where/what is the foreign key?
Select one:
a. PHYSICIAN table, physician_certification column
b. PHYSICIAN table, physican_id column
c. PHYSICIAN table, physician_name column
d. PATIENT table, physician_id column
e. PATIENT table, patient_id column
f. PATIENT table, patient_name column
Question 6
CASE tools will automatically perform many steps in the conversion of ER diagrams to relations. Which of the following is true about CASE conversions?

Select one:
a. It is better to allow these tools to work without human involvement to ensure complete accuracy of the conversion
b. CASE tools are rare and specialized so all modelers must do their own conversions
c. CASE tools cannot model complex data relationships and you must make choices between legitimate alternatives
d. CASE tools were created because the conversion steps are too complex for most modelers
Question 7
What are the steps involved in transforming an EER diagram into relations?

Select one:
a. first normal form, second normal form, third normal form, Boyce-Codd normal form, forth normal form, fifth normal form
b. identify the entities, identify the attributes document the relationships, define associative entities, create supertypes/subtypes
c. map regular entities, map weak entities, map binary entities, map associative entities, map unary relationships, map ternary (and n-ary) relationships, map supertype/subtype relationships
d. remove repeating groups, select the primary key, remove transitive dependencies
Question 8
The first normal form for relations definition that a relation must contain no multivalued attributes has an equivalent form for ER: all attributes must be single-valued.
Select one:
True
False
Question 9
A relation may be in second normal form without being in first normal form.
Select one:
True
False
Question 10
How do you fix a problem with second normal form?
Select one:
a. combine relations
b. create a new relation
c. delete the offending attributes from the model
d. you can't, you have to start all over
Question 11
A relation in which a nonkey attribute is dependent on another non-key attribute is in third normal form.
Select one:
True
False
Question 12

Which of the attributes in the following table is a problem because it is a homonym?
Select one:
a. person_id
b. person_name
c. person_date
d. person_age
e. person_height
Question 13
Which of the attributes in the following table is a problem because it is derived data?
Select one:
a. person_id
b. person_name
c. person_birthdate
d. person_age
e. person_height
Question 14
How do you implement a many-to-many relation?
Select one:
a. using an associative entity
b. with the relations exactly as diagrammed
c. you have to go back and revise the business rules
Question text
A relation is in second normal form when a non key attribute is functionally dependent on part (but not all) of the primary key.

Select one:
True
False
Question 16

Third normal form is important because

Select one:
a. It eliminates partial functional dependencies
b. It eliminates transitive dependencies that can create anomalies
c. It removes multivalued dependencies
d. It requires that a primary key be defined to uniquely identify each row

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Question 1)

The employee is table, the best candidate for primary key is
Select one:
a. Department ID
b. Employee hiredate
c. Employee ID
d. Employee salary

Answer) c. Employee ID

Explanation: Since Employee ID is unique for all the employees, it is the best candidate for primary key.

----------------------------------------------------------------------------------------------------------------------------------
Question 2
A primary key can be composed of more than one attribute.
Select one:
True
False

Answer) True

Explanation: Fore example, consider the table WORKS_ON tables (this table stores the details the projects and the employees who worked on it). The primary key for this table is (Employee ID, Project ID).

----------------------------------------------------------------------------------------------------------------------------------
Question 3
A foreign key allows you to join two tables.
Select one:
True
False

Answer) True

Explanation: The foreign key to used to maintain the child tables of a parent table. Hence, it is used to join parent and child tables.

----------------------------------------------------------------------------------------------------------------------------------
Question 4
Given two tables, department (dept_id, dept_location, dept_name) and EMPLOYEE(emp_id, emp_name, emp_dept_id, emp_name, emp_salary), which attribute (column) is the foreign key?

Select one:
a. DEPARTMENT table, dept_id column
b. DEPARTMENT table, dept_location column
c. DEPARTMENT table, dept_name column
d. EMPLOYEE table, dept_id column
e. EMPLOYEE table, emp_id column
f. EMPLOYEE table, emp_name column
g. EMPLOYEE table, emp_salary column

Answer) d. EMPLOYEE table, dept_id column

Explanation: The EMPLOYEE table is a child table of DEPARTMENT and it contains a reference to dept_id column.

----------------------------------------------------------------------------------------------------------------------------------
Question 5
In the relationship, a PHYSICIAN cares for many PATIENTS, where/what is the foreign key?
Select one:
a. PHYSICIAN table, physician_certification column
b. PHYSICIAN table, physican_id column
c. PHYSICIAN table, physician_name column
d. PATIENT table, physician_id column
e. PATIENT table, patient_id column
f. PATIENT table, patient_name column

Answer) d. PATIENT table, physician_id column

Explanation: In this scenario, PHYSICIAN is the parent table and PATIENT is the child table which needs to contains a foreign key reference to the Primary key of PHYSICIAN table.

NOTE: As per HOMEWORKLIB POLICY, I am allowed to answer only 4 questions on a single post. I have gone ahead and answered 5. Kindly post the remaining questions separately and I will try to answer them. Sorry for the inconvenience caused.

Add a comment
Know the answer?
Add Answer to:
The employee is table, the best candidate for primary key is Select one: a. Department ID...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • QUESTION 1 What is the most common relationship within a relational database? Select the best answer...

    QUESTION 1 What is the most common relationship within a relational database? Select the best answer from the following. One-To-One relationship. o One-To-Many relationship. Many-To-Many relationship. Zero-To-Zero relationship. QUESTION 2 What is an "entity'? Select the best answer from the following. An entity, for our purposes, is the same as a table in the database. An entity represents one of the columns in an individual table. There are no entities in a relational database. Entities are only part of NoSQL...

  • Practice question! Will upvote best answer. Thank you. The primary key of a relation may have...

    Practice question! Will upvote best answer. Thank you. The primary key of a relation may have more than one attribute. However, a foreign key of a relation must have only one attribute. Is this true or false?

  • Dependency Very Good dependency (key dependency) : XA where Table Very good If all dependencies i...

    Dependency Very Good dependency (key dependency) : XA where Table Very good If all dependencies in a table are '"very good", the table is in BCNF X is a candidate key Good Good dependency: X-> A where If all dependencies in a table are "very good" or "good", the table is in 3NF X is not a candidate key X is a part of a candidate key A is prime attribute Bad Bad dependency (Transitive Dependency): X A where If...

  • Assume that the primary key of this table consists of two components: Author's ID (AID) and...

    Assume that the primary key of this table consists of two components: Author's ID (AID) and Book number (BNbr). The table includes data regarding authors, books, and publishers. In addition, it tells what an individual author's per book royalty amount is in the case of multi-authored books. Covert the table to a relation if it is not a relation already, Show the functional dependency among all the attributes and covert the relation into the third normal form.

  • 24) A key that contains more than one attribute is called a(n) A) composite key B)...

    24) A key that contains more than one attribute is called a(n) A) composite key B) complex key C) multi-key D) n-key E) candidate key 25) Null values can cause problems because they are ambiguous. True False 26) In the normalization process, it is necessary to identify all the determinants in a relation. True False 27) To represent a relationship in the relational model, the primary key of one relation is placed into a second relation. True False 28) A...

  • Given the relation below (note that there is a composite primary key in this relation): (Prescrip...

    Given the relation below (note that there is a composite primary key in this relation): (PrescriptionNumber, PatientID, Date, Drug, Dosage, PrescriberID, PrescriberName, PatientName) Depending on your assumption for the relation (for example, assume that the value of PrescriberID can uniquely determine the value of PrescriberName), Is this relation in at least 3rd normal form? Explain your reasoning. If your answer to the 2nd question is ‘No,’ normalize this relation to 3rd normal form (or above). Write down the final relation(s)...

  • Please help me answer the following questions regarding data relationship tables. Employee ID First Name Last...

    Please help me answer the following questions regarding data relationship tables. Employee ID First Name Last Name email Title Address Extension Department Department ID Hiring Date Department Phone # 0001 John Smith jsmith Accountant 1300 West st 5775 Accounting 2100 8/1998 407-366-5700 0002 Brian Miller badams Admin Assistant 1552 Palm dr 5367 Human resource 2300 4/1995 407-366-5300 0003 James Miller miller Inventory Manager 2713 Buck rd 5432 Production 2520 8/1998 407-366-5400 0004 John Jackson jackson_sam Sales Person 433 tree dr...

  • Question 34 (1 point) A default value is a value a field will assume unless an...

    Question 34 (1 point) A default value is a value a field will assume unless an explicit value is entered for that field. True False Question 35 (1 point) A relation is said to be in second normal form if the primary key consists of only one attribute. True False Question 36 (1 point) The result of nor primary key and nothing but the primary key. malization is that every nonprimary key attribute depends upon the whole True False Question...

  • A. For a relationship to be defined, we need at least two relations (tables). [2] a....

    A. For a relationship to be defined, we need at least two relations (tables). [2] a. TRUE b. FALSE B. Aggregate functions can be used in a SELECT clause without GROUP BY on a column of a table [2] a. TRUE b. FALSE C. A table which satisfies 3NF (Third Normal Form) can violate 2NF (Second Normal Form) a. TRUE [2] b. FALSE D. In a table the foreign key attribute can have null value. a. TRUE [2] b. FALSE...

  • You are designing a table for employee data of a company. You have a requirement to...

    You are designing a table for employee data of a company. You have a requirement to identify if an employee is a United States citizen or not. You have designed a table called EMPLOYEE to store information related to each employee and you have a column called US CITIZEN INDICATOR to store if an employee is a US citizen or not. You only want to store values "Y" or "N" in this column. From the following options, what is the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT