Documente Academic
Documente Profesional
Documente Cultură
Section 15
(Answer all questions in this section) 1. Which statement best describes how arithmetic expressions are handled? Mark for Review (1) Points
Addition operations are handled before any other operations. Multiplication and subtraction operations are handled before any other operations. Multiplication and addition operations are handled before subtraction and division operations. Division and multiplication operations are handled before subtraction and addition operations. (*) Correct. 2. You query the database with this SQL statement: SELECT * FROM students; Why would you use this statement? To insert data To view data (*) To display the table structure To delete data Correct. 3. In which clause of a SELECT statement would you specify the name of the table or tables being queried? The FROM clause (*) The SELECT clause The WHERE clause Any of the above options, you can list tables wherever you want to in a SELECT statement. Correct. 4. Evaluate this SELECT statement: SELECT (salary * raise_percent) raise FROM employees; If the RAISE_PERCENT column only contains null values, what will the statement return? Only zeroes Only null values (*) A null value or a zero depending on the value of the SALARY column A null value or a numeric value depending on the value of the SALARY column Correct. 5. In the default order of precedence, which operator would be evaluated first? Mark for Review Mark for Review (1) Points Mark for Review (1) Points Mark for Review (1) Points
http://ilearning.oracle.com/ilearn/en/assessment/jsp/test_player.jsp
11/23/2011
Pagina 2 din 3
(1) Points Subtractions and Addition are at the same level and would be evaluated first based on left to right order Multiplications and Division are at the same level and would be evaluated first based on left to right order (*) Additions and Multiplications are at the same level and would be evaluated first based on left to right order Divisions and Subtractions are at the same level and would be evaluated first based on left to right order Correct. 6. When you use the SELECT clause to list one or two columns only from a table and no WHERE clause, which SQL capability is used? Joining only Selection only Projection only (*) Projection and Selection Correct. 7. What would you use in the SELECT clause to return all the columns in the table? Mark for Review (1) Points Mark for Review (1) Points
An asterisk (*) (*) A minus sign (-) A plus sign (+) The ALL keyword Correct.
Section 11
(Answer all questions in this section) 8. The explanation below is a column integrity constraint: A column must contain only values consistent with the defined data format of the column. True or False? True (*) False Correct 9. A table must have at least one candidate key, as well as its primary key. True or False? True False (*) Correct 10.The text below is an example of what constraint type: If the number of BOOKS lent to a BORROWER in the LIBRARY exceeds 5, then we must send him/her a letter requesting the return of the BOOKS, which will require extra programming to enforce. Entity integrity User-defined integrity (*) Column integrity Mark for Review (1) Points Mark for Review (1) Points Mark for Review (1) Points
http://ilearning.oracle.com/ilearn/en/assessment/jsp/test_player.jsp
11/23/2011
Pagina 3 din 3
http://ilearning.oracle.com/ilearn/en/assessment/jsp/test_player.jsp
11/23/2011