Docsity

C175 - Data Management Foundations PA, Exams of Database Management Systems (DBMS)

Partial preview of the text

Download C175 - Data Management Foundations PA and more Exams Database Management Systems (DBMS) in PDF only on Docsity!

C175 - Data Management Foundations PA What is a broad definition of data? - Answer - *Raw facts* that are captured on printed or digital media What are data? - Answer - Facts that are collected and stored in a database system What is a determining characteristic of unstructured data? - Answer - It does not follow a data model. Which item represents unstructured data? - Answer - Training Video Content Which is true about flat files? - Answer - They contain no internal hierarchical organization. Which technology has no internal hierarchy? - Answer - Flat files How were data retrieved before database management systems? - Answer - Sequentially from simple files What is the “uniquely identifiable element* about which data can be categorized in an entity-relationship diagram? - Answer - Entity types Which classification is correct for the box marked "Quantity" in the given entity- relationship diagram? - Answer - Intersection data Which data classification is an entity? - Answer - event What is the entity-relationship diagram about a car rental agency showing? - Answer - One manufacturer created at least one of the agency's cars. 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? - Answer - Many-to- many Which relationship does the cardinality in the diagram represent? - Answer - Many customers to many products How is the cardinality of the customers misrepresented? - Answer - There are many customers, but the cardinality indicates one customer. What is the correct way to read the modality on the right side of the association? - Answer - A minimum of zero customers What is the modality of the product? - Answer - At least one Which kind of relationship does this diagram depict? - Answer - Unary one-to-one Which kind of relationship does this diagram depict? - Answer - Unary one-to-many Which three kinds of rules for *referential integrity* are provided by modern relational database management systems? - Answer - Insert Delete Update What is an important aspect of "referential integrity"? - Answer - *Reference to data in one relation is *based on* values in another relation.* A foreign key in a table must refer to a valid primary key in another table. 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? - 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? - 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? - Answer - AND CUSTNUM>1000; *FROM PRODUCT;* What would this SQL statement accomplish? - Answer - List *all* entries in the PRODUCT table. A product-marketing company publishes an Internet-based newsletter about their new products to increase their customer base. What is an advantage that this company will gain from investing in a relational database management system that will store customer information? - Answer - Improved query response times In which two ways does a database management system environment increase effectiveness in working with data? Choose 2 answers - Answer - It enables data sharing. It permits storage of vast volumes of data. 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? - Answer - Customer Names What is an attribute or group of attributes that *uniquely identify* a tuple in a relation? - 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? - Answer - A domain of values What uniquely identifies each entity in a collection of entities but is not the primary key? - 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? - Answer - Candidate Key What happens to the “original data* in database indexing? - Answer - It is copied to the index. Why are indexes created in a physical database design? - Answer - To retrieve data directly using a pointer Why is an index created on a database column? - Answer - To optimize data retrievals What is a *methodology* for organizing attributes into tables? - Answer - Data normalization What is the term for the value of one particular attribute *associated with a specific single value of another* attribute? - Answer - Functional dependency In which state are the attributes shown? - Answer - 1NF (First Normal Form) Refer to the given table. Stu ID---St LN----IDProf--Prof---------Grade Which factor determines whether the table is in first normal form? - Answer - The attributes are all single valued. Refer to the given tables. Code---City-----------Country 091------Bangalore--—India The primary key in the first table is *ID*, and the primary key in the second is *Code*. How advanced are the two tables in the normalization process? - Answer - Third Normal Form Which characteristic points to the tables being in third normal form? - Answer - The tables are “completely free* of data *redundancy.* Which set of results should a company expect from implementing a business intelligence system? - Answer - Increased profitability and increased throughput Which issue is focused on the loading component of extract, transform, load (ETL)? - Answer - Monitor refreshing volume and frequency During which step in the extract, transform, load (ETL) process are raw data sets aggregated? - Answer - Transformation How is prediction distinguished from estimation in data mining? - Answer - Prediction classifies objects according to an expected future behavior. *ADDED IN -* Which command would be used to delete the table row where the P_Code = '2238/QPD'? - Answer - DELETE FROM PRODUCT WHERE P_CODE = '2238/QPD'; *ADDED IN -* Which command is used to select partial table contents? - Answer - SELECT FROM WHERE ; *ADDED IN-*A join returns rows with matching values and includes all rows from both tables (T1 and T2) with unmatched values. - Answer - full outer