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)

WGU Course C170 - Data Management (Applications) With Complete Solution

Rating
-
Sold
-
Pages
68
Grade
A+
Uploaded on
09-06-2022
Written in
2021/2022

WGU Course C170 - Data Management (Applications) With Complete Solution

Institution
Course

Content preview

WGU Course C170 - Data Management
(Applications)

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?

A One-to-one
B One-to-many
C One-to-one binary
D Many-to-many Correct Ans:- D

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

A Many-to-many unary
B Many-to-many binary
C One-to-one unary
D One-to-one binary Correct Ans:- A

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

A Binary many-to-many
B Unary one-to-one
C Ternary many-to-many
D Ternary one-to-one
D Unary many-to-many
E Binary one-to-one Correct Ans:- B

How is this portion of the entity-relationship diagram read, from left to right?

A At least one book was written by an author.
B Only one book was written by one author.
C No books are written by an author.
D One book was written by more than one author. Correct Ans:- A

Which two examples are attributes?

Choose 2 answers

1 A meeting code
2 A person attending a meeting
3 An employee number
4 A sales meeting

A 1,3
B 2,4 Correct Ans:- A

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

A Restrict
B Cascade
C Matching
D Set-to-Null Correct Ans:- D

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?

A The delete occurs immediately.
B The lack of a salesperson is flagged for later.
C A new salesperson is assigned instead.
D The delete is prohibited. Correct Ans:- D

Refer to the given SQL statement.

CREATE TABLE member(member_idINT UNSIGNED NOT NULL
AUTO_INCREMENT,PRIMARY KEY (member_id),last_nameVARCHAR(20) NOT
NULL,first_nameVARCHAR(20) NOT NULL,suffixVARCHAR(5) NULL,expirationDATE
NULL,emailVARCHAR(100) NULL,streetVARCHAR(50) NULL,cityVARCHAR(50)
NULL,stateVARCHAR(2) NULL,zipVARCHAR(10) NULL,phoneVARCHAR(20)
NULL,interestsVARCHAR(255) NULL);

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

Choose 2 answers

1 member_id
2 expiration
3 suffix
4 email
5 last name
6 city

A 1,2
B 3,4 Correct Ans:- A

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?

,A Move the data from the third column into the first column.
B Move the data from the third column into its own table.
C Move the data from the first two columns into separate tables.
D Move the data from the second column into the third column. Correct Ans:- B

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?

A First normal form
B Second normal form
C Third normal form
D Fourth normal form Correct Ans:- B

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?

A Compound
B Composite
C Primary
D Foreign Correct Ans:- D

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?

A It is linked through the salesperson ID.
B It is indicated by the tables' adjacency.
C It is undefined.
D It is linked through the office ID. Correct Ans:- D?

Which command creates a database only if it does not already exist?

A IF NOT EXISTS CREATE DATABASE db_name ;
B CREATE DATABASE IF NEW db_name ;
C IF NOT EXISTS db_name ;
D CREATE DATABASE IF NOT EXISTS db_name ; Correct Ans:- A

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?

A WHERE PRODCOST>=20;
B WHERE PRODCOST=20;
C AND PRODCOST=20;
D AND PRODCOST>=20; Correct Ans:- B

What does WHERE identify in a basic SQL SELECT statement?

A A table's intersection data
B The associative entity
C A range of included columns
D The rows to be included Correct Ans:- D

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?

A WHERE EMPNUM > 1000;
B WHERE EMPNUM >= 1000;
C WHERE EMPNUM => 1000;
D WHERE EMPNUM = 1000+; Correct Ans:- B

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?

A ORDER BY PRODNUM;
B GROUP BY PRODNUM;
C COUNT PRODNUM;
D SUM PRODNUM; Correct Ans:- B

Which data definition language statement affects databases or objects in them?

A INSERT
B NULL
C ALTER
D SELECT Correct Ans:- C

What does the DELETE statement do?

Written for

Course

Document information

Uploaded on
June 9, 2022
Number of pages
68
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$13.49
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


Also available in package deal

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.
LeCrae Harvard University
Follow You need to be logged in order to follow users or courses
Sold
2083
Member since
4 year
Number of followers
1409
Documents
22021
Last sold
3 hours ago
Valuable Notes, Secure Learning

Welcome to ScholarVault—your ultimate destination for premium study materials and academic resources designed to unlock your full potential. As a passionate student myself, I understand how critical it is to have the right tools to excel in your studies. That's why I've curated a collection of high-quality notes, guides, and exam preparation materials that are tailored to help you achieve academic success. At ScholarVault, I believe that knowledge is power, but access to the right knowledge is key. My mission is to provide you with organized, comprehensive, and easy-to-understand study resources that make your learning journey smoother and more effective. Whether you're preparing for exams, reviewing class notes, or tackling tough concepts, you can count on me to deliver valuable, well-crafted content that aligns with your academic goals. Each resource has been carefully created with the intention to simplify complex topics, boost your confidence, and save you time. I aim to provide not just notes, but tools that truly make a difference in how you approach your studies. Explore the vault and discover everything you need to succeed—whether it’s detailed notes, in-depth study guides, or concise exam tips, everything is stored here for your academic growth. Thank you for trusting ScholarVault to be part of your learning experience. I’m excited to help you unlock your academic potential and achieve the success you deserve.

Read more Read less
4.0

441 reviews

5
206
4
108
3
70
2
17
1
40

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