CIS 336 Final Exam (Feb 2016) To Purchase This Material Click below Link http://www.cis336study.com/product-70-CIS-336-Final-Exam-(Feb-2016)FOR MORE CLASSES VISIT www.cis336study.com
Question 1. 1. (TCO 1) A DBMS performs several important functions that guarantee the integrity and consistency of the data in the database. Which of the following is NOT one of those functions?
Question 2. 2. (TCO 1) A relational DBMS provides protection of the _____ through security, control, and recovery facilities.
Question 3. 3. (TCO 2) A relationship is an association between _____
Question 4. 4. (TCO 2) A _____ key is a key that is composed of more than one attribute.
Question 5. 5. (TCO 3) The PK must uniquely identify each entity instance. A primary key must be able to guarantee unique values. It cannot contain nulls. This rationale belongs to _____
Question 6. 6. (TCO 3) The extended entity relationship model (EERM) is sometimes referred to as the _____
Question 7. 7. (TCO 3) A table that has all key attributes defined, has no repeating groups, and all its attributes are dependent on the primary key, is said to be in _____
Question 8. 8. (TCO 4) When a constraint is created at the _____ level with the CREATE TABLE command, the constraint definition is simply included as part of the column definition. (Points : 4)
Question 1. 1. (TCO 4) When creating a table, which of the following statements is NOT correct?
Question 2. 2. (TCO 4) Which of the following SQL statements would you use to create a table named DEVRY?
Question 3. 3. (TCO 5) The Crow's Foot model is more _____-oriented than the Chen model.
Question 4. 4. (TCO 5) Knowing the _____ number of entity occurrences is very helpful at the application software level.
Question 5. 5. (TCO 6) The _____ statement can be used to enable or disable a constraint.
Question 6. 6. (TCO 6) When modifying the data characteristics of a column in Oracle, which of the following is correct?
Question 7. 7. (TCO 6) Which of the following keywords can be used to change the size, datatype, or default value of an existing column?
Question 8. 8. (TCO 7) Any type of subquery can be used in the _____ clause of a SELECT statement
Question 1. 1. (TCO 7) Which of the following subqueries returns more than one row of results to the outer query?
Question 2. 2. (TCO 7) To list a unique value, where the list will produce only a list of those values that are different from one another, you will write the command _____
Question 3. 3. (TCO 8) Based upon the contents of the BOOK_ORDER table shown below, which of the following SQL statements will display the ship date for order 1006 as April 2, 2002?
Question 4. 4. (TCO 8) Which of the following format elements will display insignificant leading zeros?
Question 5. 5. (TCO 8) Which of the following functions determines the number of characters in a character string?
Question 6. 6. (TCO 9) The column to be updated by the UPDATE command is specified in the _____ clause.
Question 7. 7. (TCO 9) Using the promotion table shown below, which of the following SQL statements will insert a new row into the PROMOTION table?
Question 8. 8. (TCO 10) Which of the following commands is used to establish a user account?
Question 9. 9. (TCO 10) Which command will delete a user account from Oracle9i?
Question 1. 1. (TCO 2) Explain what physical independence means.
Question 2. 2. (TCO 3) What is a composite primary key and in what situation are they most commonly used? Give an example.
Question 3. 3. (TCO 7) Sally needs to find all employees who have a date of hire between 01-JAN-2003 and 01-JAN-2005. She writes and executes the following query.
Question 4. 4. (TCO 8) In a table named ORDER, there is a column named SHIPDATE that contains a date for each order that has been shipped. Write the query that would show the number of orders that have been shipped. List the column name as Number of Orders Shipped for this derived column.
Question 5. 5. (TCO 6) Write the SQL statement that will remove the database table EMPLOYEE.
Question 1. 1. (TCO 7) Write a join query that for every order placed on September 5, 1998, (use '05-SEP-1998') will list the order number and order date along with the customer number, last name, and first name of the customer who placed the order.
Question 2. 2. (TCO 8) Write a query that will list the part number, part description, and on-hand value (units on hand * unit price) for each part in item class AP. Give the expression an alias of on-hand value.
Question 3. 3. (TCO 8) Write a subquery that will list the part number, part description, and units on hand of all parts where the number of units on hand is greater than the average of units on hand for all parts.
Question 4. 4. (TCO 7) Using the orders table, write a query that will list the order number, date, and customer number for every order that was made prior to
September 5, 1998. Format the date in your result set to be in the same format as above (i.e., September 5, 1998).
Question 5. 5. (TCO 7) Using a NATURAL JOIN method, write a query that will list the customer number, last name, and first name for every customer who currently has an order on file for an iron.