Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 43 pages
Exam (elaborations)

Database Final Exam Questions With 100% Verified Answers

Document preview thumbnail
Preview 4 out of 43 pages

Database Final Exam Questions With 100% Verified Answers One-to-One relationships are transformed into Check Constraints in the tables created at either end of that relationship. True or False? - answerFalse The Oracle Database can implement a many-to-many relationship. You simply create two foreign keys between the two tables. True or False? - answerFalse When translating an arc relationship to a physical design, you must turn the arc relationships into foreign keys. Assuming you are implementing an Exclusive Design, you must also create two Unique Key Constraints to ensure the Arc is implemented correctly. True or False? - answerFalse The transformation from an ER diagram to a physical design involves changing terminology. Secondary Unique Identifiers become: A. Columns B. Tables C. Unique Constraints D. Primary Key Constraints - answerUnique Constraints In a physical data model, an attribute becomes a _____________. A. Table B. Foreign Key C. Constraint ©BRAINBARTER 2024/2025 D. Column - answerColumn In an Oracle database, why would 1_TABLE not work as a table name? A. The database does not understand all capital letters. B. There is no problem here. You can create a table called 1_TABLE. C. Object names must not start with a number. They must begin with a letter. D. TABLE is a reserved word. - answerObject names must not start with a number. They must begin with a letter. The explanation below is a column integrity constraint. True or False? A column must contain only values consistent with the defined data format of the column. - answerTrue Foreign keys must be null. True or False? - answerFalse A table must have a primary key. True or False? - answerFalse The explanation below is a User Defined integrity rule and must, therefore, be manually coded; the Database cannot enforce this rule automatically. True or False? A primary key must be unique, and no part of the primary key can be null. - answerFalse The text below is an example of what constraint type? If the number of BOOKS lent to a BORROWER in the LIBRARY exceeds 5, then we must send him a letter requesting the return of the BOOKS; this will require extra programming to enforce. A. Entity integrity B. User-defined integrity C. Column integrity ©BRAINBARTER 2024/2025 D. Referential integrity - answerUser-defined integrity System Documentation is developed right at the end once the system has gone live and users have been using it for a little while. You are more likely to get it correct that way. True or False? - answerFalse In the Analysis phase, the tables are created and populated with test data. True or False? - answerFalse Once you have created a table, it is not possible to alter the definition of it. If you need to add a new column you must delete the table definition and create a new, correct table. True or False? - answerFalse The f_customers table contains the following data: ID NAME ADDRESS CITY STATE ZIP 1 Cole Bee 123 Main Street Orlando FL 32838 2 Zoe Twee 1009 Oliver Avenue Boston MA 02116 3 Sandra Lee 22 Main Street Tampa FL 32444 If you run the following statement: DELETE FROM F_CUSTOMERS WHERE ID = 2; How many rows will be left in the table? A. 0 B. 3 C. 1 D. 2 - answer1 The DESCRIBE command returns all row

Content preview

©BRAINBARTER 2024/2025




Database Final Exam Questions With 100%
Verified Answers

One-to-One relationships are transformed into Check Constraints in the tables created at either
end of that relationship. True or False? - answer✔False
The Oracle Database can implement a many-to-many relationship. You simply create two
foreign keys between the two tables. True or False? - answer✔False
When translating an arc relationship to a physical design, you must turn the arc relationships into
foreign keys. Assuming you are implementing an Exclusive Design, you must also create two
Unique Key Constraints to ensure the Arc is implemented correctly. True or False? -
answer✔False
The transformation from an ER diagram to a physical design involves changing terminology.
Secondary Unique Identifiers become:


A. Columns


B. Tables


C. Unique Constraints


D. Primary Key Constraints - answer✔Unique Constraints
In a physical data model, an attribute becomes a _____________.
A. Table


B. Foreign Key


C. Constraint

, ©BRAINBARTER 2024/2025




D. Column - answer✔Column
In an Oracle database, why would 1_TABLE not work as a table name?


A. The database does not understand all capital letters.


B. There is no problem here. You can create a table called 1_TABLE.


C. Object names must not start with a number. They must begin with a letter.


D. TABLE is a reserved word. - answer✔Object names must not start with a number. They must
begin with a letter.
The explanation below is a column integrity constraint. True or False? A column must contain
only values consistent with the defined data format of the column. - answer✔True

Foreign keys must be null. True or False? - answer✔False

A table must have a primary key. True or False? - answer✔False
The explanation below is a User Defined integrity rule and must, therefore, be manually coded;
the Database cannot enforce this rule automatically. True or False? A primary key must be
unique, and no part of the primary key can be null. - answer✔False
The text below is an example of what constraint type? If the number of BOOKS lent to a
BORROWER in the LIBRARY exceeds 5, then we must send him a letter requesting the return
of the BOOKS; this will require extra programming to enforce.


A. Entity integrity


B. User-defined integrity


C. Column integrity

, ©BRAINBARTER 2024/2025


D. Referential integrity - answer✔User-defined integrity
System Documentation is developed right at the end once the system has gone live and users
have been using it for a little while. You are more likely to get it correct that way. True or False?
- answer✔False
In the Analysis phase, the tables are created and populated with test data. True or False? -
answer✔False
Once you have created a table, it is not possible to alter the definition of it. If you need to add a
new column you must delete the table definition and create a new, correct table. True or False? -
answer✔False
The f_customers table contains the following data:


ID NAME ADDRESS CITY STATE ZIP
1 Cole Bee 123 Main Street Orlando FL 32838
2 Zoe Twee 1009 Oliver Avenue Boston MA 02116
3 Sandra Lee 22 Main Street Tampa FL 32444


If you run the following statement: DELETE FROM F_CUSTOMERS WHERE ID <= 2;


How many rows will be left in the table?


A. 0


B. 3


C. 1


D. 2 - answer✔1

The DESCRIBE command returns all rows from a table. True or False? - answer✔False

, ©BRAINBARTER 2024/2025


The _______ clause can be added to a SELECT statement to return a subset of the data.


A. ANYWHERE


B. WHICH


C. WHERE


D. EVERY - answer✔WHERE
What command will return data from the database to you?


A. FETCH


B. GET


C. SELECT


D. RETURN - answer✔SELECT
When you use the SELECT clause to list one or two columns only from a table and no WHERE
clause, which SQL capability is used?


A. Joining only


B. Selection only


C. Projection only

Document information

Uploaded on
September 29, 2024
Number of pages
43
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Brainbarter
3.6
(58)
Sold
367
Followers
159
Items
22996
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions