Beruflich Dokumente
Kultur Dokumente
Conceptual
Physical
Logical (*)
Relational
Correct
2. In Oracle SQL Data Modeler, the attribute that you assign as primary UID is Mark for Review
automatically set to a mandatory attribute and will be engineered to a primary
key in the relational model. (1) Points
True (*)
False
Correct
3. ________ Engineering is the process of transforming a Logical Data Model to a Mark for Review
Relational Model.
(1) Points
Reverse
Top-Down
Forward (*)
Target
Correct
4. The steps to convert a Relational model to a Logical model using the Oracle SQL Mark for Review
Developer Data Modeler are :
(1) Points
Select the Relational model, Accept defaults, Click the Engineer to Logical
Model icon, Click Engineer
Click the Engineer to Relational Model icon, Select the Logical model, Click
Engineer, Accept defaults.
Select the Relational model, Click the Engineer to Logical Model icon, Accept
defaults, Click Engineer (*)
None of the above.
Correct
Section 5
(Answer all questions in this section)
5. We can apply naming abbreviations using the .csv file containing the Mark for Review
abbreviations
(1) Points
True (*)
False
Correct
6. To define Mark for Review
naming
templates (1) Points
in Oracle
SQL Data
Modeler:
Correct
7. A ___________ model is the blue print to the actual database implementation Mark for Review
and can be used as the basis for implementing any type of Database
Management System (DBMS). (1) Points
Conceptual
Relational (*)
Logical
Database
Correct
8. You can define naming standards in Oracle SQL Developer Data Modeler using Mark for Review
_______________.
(1) Points
Glossary
Naming Templates
Design Rule Validations
All of the above can be used to define naming standards in Oracle SQL Data
Modeler. (*)
Correct
Section 6
(Answer all questions in this section)
9. To see selected records from a table we will need to add a ___________ clause Mark for Review
to the query.
(1) Points
FROM
ORDER BY
WHERE (*)
IF
None of the above.
10. In a basic query, following the word FROM comes the fields to be displayed. Mark for Review
(1) Points
True
False (*)
True
False (*)
Correct
12. Which character is used as a substitution variable in APEX? Mark for Review
(1) Points
;
: (*)
*
&
13. Which is the correct order of execution for statements in a SELECT query ? Mark for Review
(1) Points
14. The ORDER BY clause must be placed before the WHERE clause in a SQL Mark for Review
statement.
(1) Points
True
False (*)
Correct
True (*)
False
17. Character strings and dates in the WHERE clause must be enclosed with single Mark for Review
quotation marks (' ').
(1) Points
True (*)
False
18. You can override the default order by using parentheses around the Mark for Review
expressions that you want to calculate first.
(1) Points
True (*)
False
19. What is the result of executing the following statement: SELECT Mark for Review
EMPLOYEE_ID, LAST_NAME, JOB_ID, DEPARTMENT_ID AS "DEPTID" FROM
EMPLOYEES WHERE DEPARTMENT_ID = 90 ; (1) Points
20. The ______ operator requires either of the component conditions to be true. Mark for Review
(1) Points
EITHER
BETWEEN
OR (*)
AND
True (*)
False
22. To connect to an Oracle database you need to use a client program. True or Mark for Review
False?
(1) Points
True (*)
False
23. Which software is used to manage reading and manipulating a relational Mark for Review
database ?
(1) Points
24. The type of SQL Command used to modify data is : Mark for Review
(1) Points
DCL
DDL
DML (*)
TCL
25. Table names and column names must begin with a number and should be 1– Mark for Review
30 characters long.
(1) Points
True
False (*)
ALTER
ERASE
DROP (*)
SELECT
27. What does the following statement do: ALTER TABLE DEPT_TEST ADD Mark for Review
CONSTRAINT unq_dept_det UNIQUE (DEPT_ID, DEPARTMENT_NAME) ;
(1) Points
Correct
28. Constraints cannot be added to a table after its creation. Mark for Review
(1) Points
True
False (*)
Correct
29. To create a table you must identify all of the following except : Mark for Review
(1) Points
30. A literal can be all of the following except : Mark for Review
(1) Points
a number
a calculation (*)
a character
a date
True
False (*)
Correct
32. You can specify multiple columns after the DISTINCT qualifier. Mark for Review
(1) Points
True (*)
False
34. If an arithmetic expression contains more than one operator, __________ are Mark for Review
evaluated first.
(1) Points
Lower case
Upper case (*)
Mixed case
There is no default.
CROSS (*)
OUTER
INNER
CARTESIAN
Incorrect. Refer
to Section 6
Lesson 9.
SELECT
e.employee_id,
e.last_name,
e.department_id,
d.department_id,
d.location_id
FROM employees
e JOIN
departments d ON
(e.department_id
=
d.department_id)
AND
e.manager_id =
149 ;
SELECT
e.employee_id,
e.last_name,
e.department_id,
d.department_id,
d.location_id
FROM employees
e JOIN
departments d ON
(e.department_id
=
d.department_id)
WHERE
e.manager_id =
149 ;
Both statements
are syntactically
correct. (*)
Neither statement
is syntactically
correct.
Incorrect. Refer
to Section 6
Lesson 9.
Incorrect. Refer
to Section 6
Lesson 9.
USING (*)
NATURAL JOIN
CROSS JOIN
OUTER JOIN
Incorrect. Refer
to Section 6
Lesson 9.
NATURAL JOIN
USING
ON (*)
CROSS JOIN
42. The TRUNCATE statement is a data definition language (DDL) statement and Mark for Review
generates no rollback information.
(1) Points
True (*)
False
43. Any column that is not listed explicitly obtains a null value in the new row Mark for Review
unless we have _________ values for the missing columns that are used.
(1) Points
STANDARD
DEFAULT (*)
INSERT
BEGINNING
44. ___________________ is used to add, modify and delete data. Mark for Review
(1) Points
45. When issuing a SQL DELETE command all rows in the table are deleted if you Mark for Review
omit the __________ clause.
(1) Points
WHEN
WHERE (*)
IF
SELECT
46. The Mark for Review
command
that (1) Points
always
removes
all rows
from a
table,
leaving
the table
empty
and the
table
structure
intact is
...
TRUNCATE (*)
DELETE
Both
None
47. A database transaction consists of the following except : Mark for Review
(1) Points
48. An automatic commit occurs when _________ . (Choose 2) Mark for Review
(1) Points
True (*)
False
50. A transaction begins when the first DML statement is encountered and ends Mark for Review
when one of the following occurs .....
(1) Points
Correct
2. In Oracle SQL Data Modeler, the attribute that you assign as primary UID is Mark for Review
automatically set to a mandatory attribute and will be engineered to a primary key
in the relational model. (1) Points
True (*)
False
Correct
3. _______ Engineering is the process of creating a conceptual or logical model by Mark for Review
extracting the information from an existing data source.
(1) Points
Forward
Reverse (*)
Top-Down
Target
4. The steps to convert a Logical model to a Relational model using the Oracle SQL Mark for Review
Developer Data Modeler are :
(1) Points
Select the Logical model, Click the Engineer to Relational Model icon, Accept
defaults, Click Engineer (*)
Click the Engineer to Relational Model icon, Select the Logical model, Click
Engineer, Accept defaults.
Select the Logical model, Accept defaults, Click the Engineer to Relational
Model icon, Click Engineer
None of the above.
Correct
Section 5
(Answer all questions in this section)
5. To use the Oracle SQL Developer Data Modeler to apply naming standards : Mark for Review
(1) Points
Super Key
Foreign Key (*)
Primary Key
Candidate Key
Correct
8. The steps to create a glossary from an existing Logical model are : Mark for Review
(1) Points
Correct
Section 6
(Answer all questions in this section)
9. You use the ______ operator to perform wildcard searches of valid Mark for Review
search string values.
(1) Points
STRING
MATCH
BETWEEN
LIKE (*)
Correct
10. Which statement will display those employees who have a job title Mark for Review
that contains the string ‘JEF’ and earn $10,000 or more?
(1) Points
SELECT employee_id, last_name, job_id, salary FROM
employees WHERE salary >= 10000 AND job_id LIKE '%JEF%' ;
(*)
SELECT employee_id, last_name, job_id, salary FROM
employees WHERE salary >= 10000 OR job_id LIKE '%JEF%' ;
Either statement displays the desired output.
Neither statement displays the desired output.
NOT NULL
LIKE
IN
BETWEEN (*)
Correct
12. Which of the following is the wildcard used for any number of characters in SQL? Mark for Review
(1) Points
&
||
% (*)
#
Correct
13. According to the rules of precedence which operator will be evaluated first? Mark for Review
(1) Points
AND (*)
OR
Both are on the same level of precedence.
Correct
14. To eliminate duplicate rows in the result, include the _________ keyword in the Mark for Review
SELECT clause.
(1) Points
WHERE
DESCRIBE
DISTINCT (*)
IF
Correct
15. Which column alias will cause an error? Mark for Review
(1) Points
True (*)
False
Correct
17. The following statement displays all the rows in the departments table: SELECT Mark for Review
____ FROM departments;
(1) Points
* (*)
%
ALL
#
Correct
18. You can link columns to other columns, arithmetic expressions, or constant Mark for Review
values to create a character expression by using the ____________ operator
(||). (1) Points
alias
concatenation (*)
addition
literal
Correct
19. The DESCRIBE command describes the results of a query. Mark for Review
(1) Points
True
False (*)
Correct
20. Which is the correct order of execution for statements in a SELECT query ? Mark for Review
(1) Points
True (*)
False
Correct
22. You can use _____________ to temporarily store values, while executing a Mark for Review
query.
(1) Points
literal values
substitution variables (*)
database fields
database tables
Correct
23. Which character is used as a substitution variable in APEX? Mark for Review
(1) Points
;
&
: (*)
*
24. In the SQL Commands option of APEX, you can run more than one SQL Mark for Review
command at a time.
(1) Points
True
False (*)
Correct
25. The _________ clause in a query comes immediately after the SELECT and Mark for Review
FROM.
(1) Points
IF
GROUP BY
WHERE (*)
ORDER BY
True (*)
False
Correct
27. Will the following statement execute successfully (True or False)? SELECT Mark for Review
e.employee_id, e.last_name, e.department_id, d.department_id, d.location_id
FROM employees e JOIN departments d ON (e.department_id = (1) Points
d.department_id);
True (*)
False
Correct
28. Which of the following statements is an example of a SELF JOIN? Mark for Review
(1) Points
Correct
29. A _______________ is a join condition containing something other than an Mark for Review
equality operator.
(1) Points
NONEQUIJOIN (*)
OUTER JOIN
INNER JOIN
CROSS JOIN
Correct
30. An _______ clause creates an equijoin between two tables using one column Mark for Review
from each table regardless of the name or data type.
(1) Points
CROSS JOIN
ON (*)
NATURAL JOIN
USING
OUTER JOIN
USING (*)
NATURAL JOIN
CROSS JOIN
Correct
32. Which of the following statements is syntactically correct? Mark for Review
(1) Points
33. What does the following statement do: ALTER TABLE DEPT_TEST ADD Mark for Review
CONSTRAINT unq_dept_det UNIQUE (DEPT_ID, DEPARTMENT_NAME) ;
(1) Points
Correct
34. Constraints ensure the consistency and integrity of the database. Mark for Review
(1) Points
True (*)
False
Correct
35. The Data Definition Language performs all of the following except : Mark for Review
(1) Points
Create tables
Insert data into tables (*)
Add constraints to tables
Alter tables
True (*)
False
Correct
37. You can name a constraint or the Oracle server generates a name by using the Mark for Review
SYS_Cn format.
(1) Points
True (*)
False
Correct
38. Which software is used to manage reading and manipulating a relational database Mark for Review
?
(1) Points
Spreadsheet software
ERD software
Flat file software
DBMS software (*)
Correct
39. A __________ can be found at the intersection of a row and column and contains Mark for Review
one value.
(1) Points
table
instance
entity
field (*)
Correct
40. To connect to an Oracle database you need to use a client program. True or Mark for Review
False?
(1) Points
True (*)
False
SQL * Plus
Oracle SQL Data Modeler (*)
Oracle Application Express
Oracle SQL Developer
Correct
42. The command that always removes all rows from a table, leaving the table Mark for Review
empty and the table structure intact is ...
(1) Points
TRUNCATE (*)
DELETE
Both
None
43. A collection of DML statements that form a logical unit of work is called a Mark for Review
______________.
(1) Points
block
statement
transaction (*)
command
Correct
44. Data Manipulation Language includes all of the following except : Mark for Review
(1) Points
DELETE
COMMIT (*)
INSERT
UPDATE
Correct
45. The UPDATE statement modifies the values of a specific row or rows if the Mark for Review
_______ clause is specified.
(1) Points
VALUE
MODIFY
SET (*)
WHERE
SELECT
IF
WHERE (*)
WHEN
Correct
47. ____________ give you more flexibility and control when changing data, and Mark for Review
they ensure data consistency in the event of user process failure or system
failure. (1) Points
Procedures
Functions
Code blocks
Transactions (*)
Correct
48. A transaction begins when the first DML statement is encountered and ends Mark for Review
when one of the following occurs .....
(1) Points
49. Users may view data that is in the process of being changed by another user. Mark for Review
(1) Points
True
False (*)
Correct
50. An automatic commit occurs when _________ . (Choose 2) Mark for Review
(1) Points
(Choose all correct answers)