• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 20 pages
Exam (elaborations)

C170 - Pre-Assessment Rated A

Document preview thumbnail
Preview 3 out of 20 pages

C170 - PRE-ASSESSMENT Rated A+ A salesperson is authorized to sell many products and a product can be sold by many salespersons. Which kind of binary relationship does this scenario describe? One-to-one One-to-many Many-to-many One-to-one binary Ans- Many-to-many Which two examples are attributes? Choose 2 answers A person attending a meeting An employee number A sales meeting A meeting code Ans- An employee number A meeting code Which delete rule sets column values in a child table to a missing value when the matching data is deleted from the parent table? Restrict Cascade Matching Set-to-Null Ans- Set-to-Null Refer to the given SQL statement. CREATE TABLE member ( member_id INT UNSIGNED NOT NULL AUTO_INCREMENT, PRIMARY KEY (member_id), last_name VARCHAR(20) NOT NULL, first_name VARCHAR(20) NOT NULL, suffix VARCHAR(5) NULL, expiration DATE NULL, email VARCHAR(100) NULL, street VARCHAR(50) NULL, city VARCHAR(50) NULL, state VARCHAR(2) NULL, zip VARCHAR(10) NULL, phone VARCHAR(20) NULL, interests VARCHAR(255) NULL ); Which two columns are created as something other than variable-length strings in this statement? Choose 2 answers member_id last name suffix expiration email city Ans- member_id expiration Employee_ID Employee_Name Office_Address 12342 Jacob 54123 Main Street 12346 Michael 354 Center Avenue 12846 Ethan 54123 Main Street 12887 Joshua 54123 Main Street 12894 Daniel 354 Center Avenue 13097 Alexander 354 Center Avenue 13112 Anthony 54123 Main Street 13411 William 354 Center Avenue 13987 Christopher 354 Center Avenue 13998 Matthew 54123 Main Street This database table has ten different employee numbers in the first column. Employee_ID is the primary key. In addition, it has ten different names in the second column and two office addresses repeated five times each in the third column. Which action should be used to translate this data into third normal form? Move the data from the third column into the first column. Move the data from the third column into its own table. Move the data from the first two columns into separate tables. Move the data from the second column into the third column. Ans- Mo

Content preview

C170 - PRE-ASSESSMENT Rated A+
A salesperson is authorized to sell many products and a product can be sold by many salespersons.



Which kind of binary relationship does this scenario describe?



One-to-one

One-to-many

Many-to-many

One-to-one binary Ans- Many-to-many



Which two examples are attributes?



Choose 2 answers



A person attending a meeting

An employee number

A sales meeting

A meeting code Ans- An employee number

A meeting code



Which delete rule sets column values in a child table to a missing value when the matching data is
deleted from the parent table?



Restrict

Cascade

Matching

Set-to-Null Ans- Set-to-Null

,Refer to the given SQL statement.



CREATE TABLE member

(

member_id INT UNSIGNED NOT NULL AUTO_INCREMENT,

PRIMARY KEY (member_id),

last_name VARCHAR(20) NOT NULL,

first_name VARCHAR(20) NOT NULL,

suffix VARCHAR(5) NULL,

expiration DATE NULL,

email VARCHAR(100) NULL,

street VARCHAR(50) NULL,

city VARCHAR(50) NULL,

state VARCHAR(2) NULL,

zip VARCHAR(10) NULL,

phone VARCHAR(20) NULL,

interests VARCHAR(255) NULL

);



Which two columns are created as something other than variable-length strings in this statement?



Choose 2 answers



member_id

last name

suffix

expiration

email

city Ans- member_id

, expiration



Employee_ID Employee_Name Office_Address

12342 Jacob 54123 Main Street

12346 Michael 354 Center Avenue

12846 Ethan 54123 Main Street

12887 Joshua 54123 Main Street

12894 Daniel 354 Center Avenue

13097 Alexander 354 Center Avenue

13112 Anthony 54123 Main Street

13411 William 354 Center Avenue

13987 Christopher 354 Center Avenue

13998 Matthew 54123 Main Street



This database table has ten different employee numbers in the first column. Employee_ID is the primary
key. In addition, it has ten different names in the second column and two office addresses repeated five
times each in the third column.



Which action should be used to translate this data into third normal form?



Move the data from the third column into the first column.

Move the data from the third column into its own table.

Move the data from the first two columns into separate tables.

Move the data from the second column into the third column. Ans- Move the data from the third
column into its own table.



A database manager starts to convert data that has been normalized into a form that conforms to the
relational model. A simple primary key has been established and all the repeating groups have been
deleted.

Document information

Uploaded on
February 10, 2023
Number of pages
20
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers
$10.49

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.
CertifiedGrades
3.9
(38)
Sold
149
Followers
61
Items
8729
Last sold
1 month 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