• 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 2 out of 13 pages
Exam (elaborations)

WGU C175 Final+1+2 Exam Solution.

Document preview thumbnail
Preview 2 out of 13 pages

What is a broad definition of data? -correct answer Raw facts that are captured on printed or digital media What are data? -correct answer Facts that are collected and stored in a database system What is a determining characteristic of unstructured data? -correct answer It does not follow a data model. Which is true about flat files? -correct answer They contain no internal hierarchical organization. Which technology has no internal hierarchy? -correct answer Flat files How were data retrieved before database management systems? -correct answer Sequentially from simple files In which two ways does a database management system environment increase effectiveness in working with data? -correct answer - It enables data sharing, - It permits storage of vast volumes of data. What is the uniquely identifiable element about which data can be categorized in an entity-relationship diagram? -correct answer Entity types Which classification is correct for the box marked "Quantity" in the given entity-relationship diagram? -correct answer Intersection data Which data classification is an entity? -correct answer Event A salesperson is authorized to sell 12 products; a product can be sold by 10 salespersons. Which kind of binary relationship is described in this example? -correct answer Many-to-many Which three kinds of rules for referential integrity are provided by modern relational database management systems? -correct answer Insert, Delete, Update What is an important aspect of "referential integrity"? -correct answer Reference to data in one relation is based on values in another relation. Sales data, detailing the customer names, products sold, and salespersons, is kept in a database. Which kind of data in this database would qualify as intersection data related to both the product and salesperson entities? -correct answer Customer names What is an attribute or group of attributes that uniquely identify a tuple in a relation? -correct answer Primary key What is necessary for a primary key in one relation of a database to match with its corresponding foreign key in another relation of the same database? -correct answer A domain of values What uniquely identifies each entity in a collection of entities but is not the primary key? -correct answer The alternate key What is a term for a set of columns in a table that can uniquely identify any record in that table without referring to other data? -correct answer Candidate key What happens to the original data in database indexing? -correct answer It is copied to the index. Why are indexes created in a physical database design? -correct answer To retrieve data directly using a pointer. Why is an index created on a database column? -correct answer To optimize data retrievals Refer to the given SQL statement. SELECT SPNUM, SPNAME FROM SALESPERSON What is the correct line to add to the end of this statement to find salespersons with a commission percentage of 15? -correct answer WHERE COMMPERCT=15; Refer to the given SQL statement. SELECT COMMPERCT, YEARHIRE FROM SALESPERSON WHERE SPNUM=22; How should this statement be altered to retrieve the entire record instead of the commission percentage and year of hire? -correct answer Replace COMMPERCT, YEARHIRE with an asterisk A manager asks an employee to list attributes of the customers that are headquartered in Los Angeles and that have a customer number higher than 1000. Refer to the given SQL statement prepared by this employee. SELECT CUSTNUM, CUSTNAME, HQCITY FROM CUSTOMER WHERE HQCITY='Los Angeles' Which line should go at the end of this statement? -correct answer AND CUSTNUM1000; What is a key difference between the DISTINCT and ORDER BY statements, in SQL SELECT commands? -correct answer ORDER BY modifies the presentation of data results and DISTINCT filters data results. Which SQL statement alphabetizes customer names within the same satellite-office city? ORDER or ALPHA? -correct answer ORDER BY SATCITY, CUSTNAME; The given SQL statement is intended to list the names of the products of which salesperson Fox has sold more than 500 units. SELECT PRODNAME FROM SALESPERSON, SALES, PRODUCT ? ? AND SPNAME='Fox' AND QUANTITY500; Which set of lines should replace the question marks to make this statement work? -correct answer WHERE SALESPERSON.SPNUM=SALES.SPNUM AND SALES.PRODNUM=PRODUCT.PRODNUM The given SQL statement is intended to query how many books there are with at least 800 pages from publishers in Los Angeles, United States. SELECT COUNT(*) ? WHERE PUBLISHER.PUBNAME=BOOK.PUBNAME AND CITY='Los Angeles' AND COUNTRY='United States' AND PAGES=800;


Document information

Uploaded on
March 14, 2024
Number of pages
13
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
CA$19.83

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.
RealGrades
4.0
(27)
Sold
202
Followers
52
Items
12424
Last sold
2 weeks 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

Whoops! We can’t load your doc right now. Try again or contact support.