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
Exam (elaborations)

c170_coaching 2022 with complete solution

Rating
-
Sold
-
Pages
50
Grade
A+
Uploaded on
17-04-2022
Written in
2021/2022

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? YOUR ANSWER CORRECT ANSWER One-to-one One-to-many Many-to-many One-to-one binary 2. Which kind of relationship is displayed in this entity-relationship diagram? YOUR ANSWE R CORRECT ANSWER One-to-one binary One-to-one unary Many-to-many binary Many-to-many unary 3. Which kind of relationship is displayed in this entity-relationship diagram? YOUR ANSWE R CORRECT ANSWER Unary one-to-one Unary many-to-many Binary one-to-one Binary many-to-many Ternary one-to-one Ternary many-to-many 4. How is this portion of the entity-relationship diagram read, from left to right? YOUR ANSWE R CORRECT ANSWER No books are written by an author. At least one book was written by an author. One book was written by more than one author. Only one book was written by one author. 5. Which two examples are attributes? Choose 2 answers YOUR ANSWE R CORRECT ANSWER A person attending a meeting An employee number A sales meeting A meeting code 6. Which delete rule sets column values in a child table to a missing value when the matching data is deleted from the parent table? YOUR ANSWER CORRECT ANSWER Restrict Cascade Matching Set-to-Null 7. In this entity-relationship diagram, Salesperson 361 is related to two customers. The table follows the restrict delete rule. What happens if someone tries to delete Salesperson 361 from the customer records? YOUR ANSWE R CORRECT ANSWER The delete is prohibited. The delete occurs immediately. A new salesperson is assigned instead. The lack of a salesperson is flagged for later. 8. 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 YOUR ANSWER CORRECT ANSWER member_id last name suffix expiration email city 9. Employee_IDEmployee_NameOffice_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 Christophe r 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? YOUR ANSWE R CORRECT ANSWER 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. 10. 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. In which form is this data? YOUR ANSWER CORRECT ANSWER First normal form Second normal form Third normal form Fourth normal form 11. Two attributes in two related tables have the exact same domain of values. The attribute is a primary key in one table. Which kind of key is the attribute in the other table? YOUR ANSWE R CORRECT ANSWER YOUR ANSWER CORRECT ANSWER Foreign Primary Compound Composite 12. In this entity-relationship diagram, many salespersons are shown as working in at least one office. How is the relationship between salespersons and offices represented in the diagram? YOUR ANSWE R CORRECT ANSWER It is undefined. It is linked through the office ID. It is linked through the salesperson ID. It is indicated by the tables’ adjacency. 10/16/2019 WGU Student Portal | Coaching Report 7 13. Which command creates a database only if it does not already exist? YOUR ANSWE R CORRECT ANSWER IF NOT EXISTS db_name ; CREATE DATABASE IF NEW db_name ; CREATE DATABASE IF NOT EXISTS db_name ; IF NOT EXISTS CREATE DATABASE db_name ; 14. Refer to the given SQL statement. SELECT PRODNUM, PRODNAME FROM PRODUCT Which line should be added to the end of the statement to return the product numbers and product names for products that cost 20 dollars? YOUR ANSWE R CORRECT ANSWER WHERE PRODCOST=20; AND PRODCOST=20; WHERE PRODCOST=20; AND PRODCOST=20; 15. What does WHERE identify in a basic SQL SELECT statement? 10/16/2019 WGU Student Portal | Coaching Report /27 YOUR ANSWE R CORRECT ANSWER The associative entity 10/16/2019 WGU Student Portal | Coaching Report YOUR ANSWER CORRECT ANSWE R 27 The rows to be included A table’s intersection data A range of included columns 16. Refer to the given SQL statement. SELECT EMPNUM FROM EMPLOYEE Which line added to the end of the statement returns employee numbers of at least 1000? YOUR ANSWE R CORRECT ANSWER WHERE EMPNUM = 1000+; WHERE EMPNUM 1000; WHERE EMPNUM = 1000; WHERE EMPNUM = 1000; 17. Refer to the given SQL statement. SELECT PRODNUM, SUM(QUANTITY) FROM SALESPERSON Which line, when added to the end of the statement, returns the total number of each kind of product by product number? YOUR ANSWE R CORRECT ANSWER 10/16/2019 WGU Student Portal | Coaching Report YOUR ANSWER CORRECT ANSWE R 27 SUM PRODNUM; COUNT PRODNUM; ORDER BY PRODNUM; GROUP BY PRODNUM; 18. Which data definition language statement affects databases or objects in them? YOUR ANSWE R CORRECT ANSWER SELEC T INSERT ALTER NULL 19. What does the DELETE statement do? YOUR ANSWE R CORRECT ANSWER It removes views. It removes rows from a table. It removes columns from a table. It removes columns not named in the column list. 20. Which condition must be in effect to use the INSERT INTO ... VALUES syntax for an INSERT statement? YOUR ANSWE R CORRECT ANSWER 10/16/2019 WGU Student Portal | Coaching Report YOUR ANSWER CORRECT ANSWE R 27 The VALUES list must contain a value for each non-null valued column in the table. The VALUES list must contain a value for each row in the table. The INSERT INTO portion of the statement must generate a LOAD DATA statement. The INSERT INTO portion of the statement must refer to a sampdb database table. 21. Refer to the given SQL statement. CREATE TABLE mytbl ( f FLOAT(10,4), c CHAR(15) NOT NULL DEFAULT 'none', i TINYINT UNSIGNED NULL ); Which kind of data type is FLOAT in this statement? YOUR ANSWE R CORRECT ANSWER Decimal Integer Strin g Data 22. Which two SQL data types can represent images or sounds? Choose 2 answers YOUR 10/16/2019 WGU Student Portal | Coaching Report YOUR ANSWER CORRECT ANSWE R 27 CORRECT ANSWER INT FLOAT BINAR Y TERNARY TINYBLO B SOUNDBLOB 23. Refer to the given SQL statement. CREATE TABLE CUSTOMER (CustomerID INT NOT NULL AUTO_INCREMENT, LastName VARCHAR(100) NOT NULL, FirstName VARCHAR(100) NOT NULL, PRIMARY KEY ( CustomerID )); Which component of the command indicates the table’s name? YOUR ANSWER CORRECT ANSWER TABLE CUSTOMER CustomerID CUSTOMER INT 24. Which method creates an empty copy of a table and then populates it from the original table? YOUR ANSWE R CORRECT ANSWER INSERT TABLE ... SELECT followed by INSERT INTO ... LIKE : CREATE TABLE ... LIKE followed by INSERT INTO ... SELECT : CREATE TABLE ... INTO followed by INSERT INTO: INSERT TABLE ... LIKE followed by SELECT: 25. Refer to the given SQL syntax. ALTER TABLE tbl_name action [, action ] ... ; What does this syntax allow? Choose 2 answers YOUR ANSWE R CORRECT ANSWER Adding rows Dropping indexes Changing storage space Changing column data types 26. Which command eliminates a table?

Show more Read less
Institution
Course

Content preview

10/16/2019



PRE-ASSESSMENT: DATA MANAGEMENT - APPLICATIONS (FJO1) PFJO
Attempt #1
Status: Not
Passed



1.
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?


YOUR CORRECT
ANSWER ANSWER


One-to-one

One-to-many

Many-to-many

One-to-one binary




2.




1/2

,Which kind of relationship is displayed in this entity-relationship diagram?

CORRECT
YOUR ANSWER
ANSWE
R




One-to-one binary

One-to-one unary

Many-to-many

binary

Many-to-many unary

,3.

, Which kind of relationship is displayed in this entity-relationship diagram?

CORRECT
YOUR ANSWER
ANSWE
R




Unary one-to-one

Unary many-to-many

Binary one-to-one

Binary many-to-many

Ternary one-to-one

Ternary many-to-many

Written for

Course

Document information

Uploaded on
April 17, 2022
Number of pages
50
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$13.99
Get access to the full document:

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

Get to know the seller

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.
EvaTee Phoenix University
Follow You need to be logged in order to follow users or courses
Sold
5202
Member since
4 year
Number of followers
3567
Documents
55582
Last sold
5 hours ago
TIGHT DEADLINE? I CAN HELP

Many students don\'t have the time to work on their academic papers due to balancing with other responsibilities, for example, part-time work. I can relate. kindly don\'t hesitate to contact me, my study guides, notes and exams or test banks, are 100% graded

3.8

947 reviews

5
451
4
167
3
171
2
48
1
110

Recently viewed by you

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