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 rel
...
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
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 unary3.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-many4.
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 Ameeting
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
Street12894 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
StreetThis 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
ANSWERYOUR
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
https://my.wgu.edu/coaching-report/preassessment-report/v1/studentPidm/637764/assessmentCode/PFJO/testDate/1571272279 9/2
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
[Show More]