CIS 336 CIS336 Week 8 Final Exam Answers (DEVRY)

CIS 336 CIS336 Week 8 Final Exam Answers (DEVRY)


  • $25.00

CIS 336 Week 8 Final Exam (DEVRY)

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? (Points : 4)

Question 2. 2. (TCO 1) A relational DBMS provides protection of the _____ through security, control, and recovery facilities. (Points : 4)

Question 3. 3. (TCO 2) A relationship is an association between _____ (Points : 4)

Question 4. 4. (TCO 2) A _____ key is a key that is composed of more than one attribute. (Points : 4)

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 _____ (Points : 4)

Question 6. 6. (TCO 3) The extended entity relationship model (EERM) is sometimes referred to as the _____ (Points : 4)

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 _____ (Points : 4)

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? (Points : 4)

Question 2. 2. (TCO 4) Which of the following SQL statements would you use to create a table named DEVRY? (Points : 4)

Question 3. 3. (TCO 5) The Crow's Foot model is more _____-oriented than the Chen model. (Points : 4)

Question 4. 4. (TCO 5) Knowing the _____ number of entity occurrences is very helpful at the application software level. (Points : 4)

Question 5. 5. (TCO 6) The _____ statement can be used to enable or disable a constraint. (Points : 4)

Question 6. 6. (TCO 6) When modifying the data characteristics of a column in Oracle, which of the following is correct? (Points : 4)

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? (Points : 4)

Question 8. 8. (TCO 7) Any type of subquery can be used in the _____ clause of a SELECT statement. (Points : 4)

Question 1. 1. (TCO 7) Which of the following subqueries returns more than one row of results to the outer query? (Points : 4)

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 _____ (Points : 4)

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? (Points : 4)

Question 5. 5. (TCO 8) Which of the following functions determines the number of characters in a character string? (Points : 4)

Question 6. 6. (TCO 9) The column to be updated by the UPDATE command is specified in the _____ clause. (Points : 4)

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? (Points : 4)

Question 9. 9. (TCO 10) Which command will delete a user account from Oracle9i? (Points : 4)

Question 1. 1. (TCO 2) Explain what physical independence means. (Points : 15)

Question 2. 2. (TCO 3) What is a composite primary key and in what situation are they most commonly used? Give an example. (Points : 15)

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.
SELECT emp_no, emp_lname, date_of_hire
FROM emp
WHERE date_of_hire BETWEEN '01-JAN-2005' and '01-JAN-2003';
When she looks at the returned result set it is empty. Why? (Points : 15)

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. (Points : 15)

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.

We Also Recommend



Sold Out