Section 4 and 5 Quiz
Section 4 and 5 Quiz
Section 4 and 5 Quiz
True (*)
False
True
False (*)
Correct
True (*)
False
True (*)
False
True (*)
False
Correct
6. A supertype can
only have two Mark for Review
subtypes and (1) Points
no more. True
or False?
True
False (*)
7. When creating entities you must follow these rules: (Choose Two)
Mark for Review
(1) Points
Exclude Attributes
Name them in Plural
Include Attributes (*)
Name them in Singular (*)
True
False (*)
Correct
True (*)
False
Correct
True (*)
False
Database Key
Primary Key (*)
Foreign Key
Correct
Super Key
Foreign Key (*)
Candidate Key
Primary Key
True (*)
False
Correct
1. For a mandatory
1:1 relationship, Mark for Review
the foreign key will (1) Points
be placed on the
mandatory side of
the table and will
use the NOT NULL
constraint to
enforce the
mandatory
condition.
True (*)
False
True (*)
False
3. When two attributes in the same entity relate to the same unique
identifier attribute then you can fold the keys into one column in Mark for Review
the Relational model during engineering. (1) Points
True (*)
False
Correct
Correct
True (*)
False
Correct
True
False (*)
Incorrect. Refer to
Section 4 Lesson 2.
Correct
True (*)
False
Correct
Incorrect. Refer to
Section 5 Lesson 1.
True (*)
False
Correct
11. The "Other"
subtype is Mark for Review
mandatory. (1) Points
True or False?
True
False (*)
Incorrect. Refer to
Section 4 Lesson 1.
Incorrect. Refer to
Section 4 Lesson 1.
True
False (*)
Incorrect. Refer to
Section 4 Lesson 1.
Incorrect. Refer to
Section 4 Lesson 1.
True
False (*)
Incorrect. Refer to
Section 4 Lesson 1.
1. In Oracle SQL Developer Data Modeler, the attribute that you assign as primary
UID is automatically set to a mandatory attribute and will be engineered to a Mark for Review
primary key in the relational model. (1) Points
True (*)
False
Correct
2. When creating entities you must follow these rules: (Choose Two)
Mark for Review
(1) Points
Exclude Attributes
DOGS
ANIMAL (*)
DOG (*)
Correct
True
False (*)
5. All instances of the supertype must be an instance of one of the subtypes. True or
False? Mark for Review
(1) Points
True (*)
False
Top-Down Modeling
Target Modeling
Correct
True (*)
False
Correct
True
False (*)
True (*)
False
True (*)
False
Correct
11. A
glossary Mark for Review
in Oracle (1) Points
SQL
Develope
r Data
Modeler
is a set of
accepted
terms
that can
be used
in the
design.
True (*)
False
Correct
True (*)
False
Correct
13. When two attributes in the same entity relate to the same unique identifier
attribute then you can fold the keys into one column in the Relational Mark for Review
model during engineering. (1) Points
True (*)
False
Correct
True
False (*)
Correct
15. For a mandatory 1:1 relationship, the foreign key will be placed on the
mandatory side of the table and will use the NOT NULL constraint to Mark for Review
enforce the mandatory condition. (1) Points
True (*)
False
Correct
1. A
column Mark for Review
or set of (1) Points
columns
that
uniquely
identifie
s each
row in a
table.
Database Key
Foreign Key
Correct
True (*)
False
Correct
True (*)
False
Correct
4. A supertype can only have two subtypes and no more. True or False?
Mark for Review
(1) Points
True
False (*)
Correct
DOG (*)
ANIMAL (*)
ANIMALS
DOGS
Correct
6. In Oracle SQL
Developer Mark for Review
Data Modeler, (1) Points
the attribute
that you
assign as
primary UID is
automatically
set to a
mandatory
attribute and
will be
engineered to
a primary key
in the
relational
model.
True (*)
False
Correct
7. A Supertype
can have only Mark for Review
one subtype. (1) Points
True or False?
True
False (*)
Correct
8. A relationship
that Mark for Review
participates in (1) Points
an entity's
unique
identifier is
called a
Hierarchical
Relationship.
True
False (*)
Correct
9. When an
exclusive Mark for Review
relationship is (1) Points
engineered to
a Relational
model, a
foreign key
column is
created for
each
relationship
included in the
arc.
True (*)
False
Correct
10. A primary
unique Mark for Review
identifier in an (1) Points
entity is
transformed to
a Unique Key
in a table.
True
False (*)
Incorrect.
Refer to
Section 5
Lesson 2.
11. When two
attributes in Mark for Review
the same (1) Points
entity relate
to the same
unique
identifier
attribute
then you
can fold the
keys into
one column
in the
Relational
model
during
engineering
.
True (*)
False
Correct
12. If a 1:1 relationship is optional in both directions, the foreign key can be
in either table. Mark for Review
(1) Points
True (*)
False
Incorrect. Refer to Section 5 Lesson 2.
True (*)
False
Correct
Primary Key
Super Key
Candidate Key
Correct
15. An Entity Relationship model does not highlight the physical and
database constraints. It is essential to transform the ER model into a Mark for Review
relational model which can serve as the basis for defining the physical (1) Points
implementation of the database.
True (*)
False
True (*)
False
Correct
True (*)
False
Correct
3. A primary key must contain a value and the value must be unique.
Mark for Review
(1) Points
True (*)
False
Correct
4. You can logically relate data from multiple tables using foreign keys.
Mark for Review
(1) Points
True (*)
False
Correct
5. In Oracle Application Express (APEX) , you can export your SQL code results to a
spreadsheet. Mark for Review
(1) Points
True (*)
False
Correct
6. In Oracle
Application Mark for Review
Express (1) Points
(APEX),
SQL code
can be
entered
from the
SQL
Command
s option of
the SQL
Workshop.
True (*)
False
Correct
7. In Oracle Application Express (APEX), you can import and run a SQL Script
from the _____________ component of SQL Workshop. Mark for Review
(1) Points
True
False (*)
Correct
9. The command that removes all rows from a table, leaving the table empty and
the table structure intact is ... Mark for Review
(1) Points
TRUNCATE (*)
DELETE
Both
None
Correct
10. A collection of DML statements that form a logical unit of work is called a
transaction. Mark for Review
(1) Points
True (*)
False
True (*)
False
Correct
12. If a table already contains rows when a column is added, the new column is
initially null or takes the default value for all the rows. True or False? Mark for Review
(1) Points
True (*)
False
Correct
13. You can name a constraint or the Oracle server generates a name by using
the SYS_Cn format. Mark for Review
(1) Points
True (*)
False
Correct
14. Once you have created a table, you can run the DESCRIBE command to
confirm that it was created. Mark for Review
(1) Points
True (*)
False
Correct
15. What does the following statement: ALTER TABLE DEPT_TEST ADD
CONSTRAINT unq_dept_det UNIQUE (DEPT_ID, DEPARTMENT_NAME) ; Mark for Review
(1) Points
Correct
True (*)
False
True
False (*)
4. A join between two tables that returns the results of the INNER join as well as
the unmatched rows from the left (or right) table is called a left (or right) Mark for Review
OUTER join. (1) Points
True (*)
False
Correct
5. You can override the default order by using parentheses around the expressions
that you want to calculate first. Mark for Review
(1) Points
True (*)
False
Correct
6. A logical
condition Mark for Review
combines (1) Points
the result
of two
component
conditions
to produce
a single
result
based on
those
conditions
or it
inverts the
result of a
single
condition.
True (*)
False
True (*)
False
True
False (*)
True
False (*)
True (*)
False
12. Read consistency guarantees a consistent view of the data at all times.
Mark for Review
(1) Points
True (*)
False
Correct
13. Transactions give you more flexibility and control when changing data, and
they ensure data consistency in the event of user process failure or system Mark for Review
failure. (1) Points
True (*)
False
14. The row_limiting_clause allows you to limit the rows that are returned by
the query. Mark for Review
(1) Points
True (*)
False
15. You can specify the row_limiting_clause in the SQL SELECT statement by
placing it before the ORDER BY clause. Mark for Review
(1) Points
True
False (*)
Correct
1. To
SELECT all Mark for Review
fields from (1) Points
a table
enter :
SELECT *
from
tablename
True (*)
False
Incorrect. Refer to Section 6 Lesson 1.
True (*)
False
3. In Oracle Application Express (APEX), SQL code can be entered from the
SQL Commands option of the SQL Workshop. Mark for Review
(1) Points
True (*)
False
4. An Application Program allows end users to buy and use fully developed,
ready to use programs to accomplish various tasks. Mark for Review
(1) Points
True (*)
False
True (*)
False
Correct
8. A foreign key refers to a primary key or a unique key in the same table or in
another table. Mark for Review
(1) Points
True (*)
False
10. To issue a CREATE TABLE statement, you must have the __________
privilege. Mark for Review
(1) Points
DISTRIBUTE TABLE
CREATE TABLE (*)
Both
None
True (*)
False
True (*)
False
Correct
13. The command that removes all rows from a table, leaving the table empty
and the table structure intact is ... Mark for Review
(1) Points
TRUNCATE (*)
DELETE
Both
None
Correct
14. All rows in the table are deleted if you omit the WHERE clause in the
DELETE statement. Mark for Review
(1) Points
True (*)
False
Correct
15. Any column that is not listed explicitly obtains a null value in the new row
unless we have default values for the missing columns that are used. Mark for Review
(1) Points
True (*)
False
Correct
1. An ON
clause Mark for Review
creates an (1) Points
equijoin
between
two tables
using one
column
from each
table
regardless
of the
name or
data type.
True or
False?
True (*)
False
True (*)
False
Correct
3. A USING clause creates an equijoin between two tables using one column
with the same name, regardless of the data type. Mark for Review
(1) Points
True (*)
False
Correct
True (*)
False
Correct
True (*)
False
Correct
6. The
ORDER BY Mark for Review
clause (1) Points
must be
placed
before the
WHERE
clause in a
SQL
statement.
True
False (*)
True (*)
False
Correct
True (*)
False
Correct
9. Transactions give you more flexibility and control when changing data, and
they ensure data consistency in the event of user process failure or system Mark for Review
failure. (1) Points
True (*)
False
10. Read consistency guarantees a consistent view of the data at all times.
Mark for Review
(1) Points
True (*)
False
Correct
True (*)
False
Correct
True
False (*)
Correct
True (*)
False
Correct
True
False (*)
True (*)
False
Correct
True (*)
False
Correct
3. Which statement will display those employees who have a job title that
contains the string "JEF" and earn $10,000 or more? Mark for Review
(1) Points
Correct
4. Character strings and dates in the WHERE clause must be enclosed with
single quotation marks (''). Mark for Review
(1) Points
True (*)
False
Correct
NATURAL JOIN
INNER JOIN
OUTER JOIN
CROSS JOIN (*)
True (*)
False
True
False (*)
9. With the COMMIT and ROLLBACK statements, you have control over making
changes to the data permanent Mark for Review
(1) Points
True (*)
False
Correct
10. Read consistency guarantees a consistent view of the data at all times.
Mark for Review
(1) Points
True (*)
False
Correct
11. You can link
columns to Mark for Review
other (1) Points
columns,
arithmetic
expressions,
or constant
values to
create a
character
expression by
using the
concatenation
operator (||).
True (*)
False
12. If you concatenate a null value with a character string, the result is a
character string. True or False? Mark for Review
(1) Points
True (*)
False
Correct
True (*)
False
Correct
14. The following statement will result in an error (True or False): SELECT
last_name "Name" , salary*12 "Annual Salary", Annual Salary +100 Mark for Review
FROM employees; (1) Points
True (*)
False
Correct
True (*)
False
Correct
1. Which two
statements Mark for Review
are (1) Points
correct?
True (*)
False
True
False (*)
True (*)
False
Correct
True
False (*)
Correct
6. You can specify the
row_limiting_clause Mark for Review
in the SQL SELECT (1) Points
statement by
placing it before
the ORDER BY
clause.
True
False (*)
Correct
You cannot sort query results by more than one column. (*)
You can also sort by a column that is not in the SELECT list.
You cannot also use a column alias in the ORDER BY clause.
(*)
You can sort query results by specifying the numeric position
of the column in the SELECT clause.
True (*)
False
9. The ________ join clause is based on all the columns in the two
tables that have the same name and the same datatype. Mark for Review
(1) Points
CROSS JOIN
NATURAL JOIN (*)
USING
OUTER JOIN
Correct
10. A join between two tables that returns the results of an INNER join
as well as the results of a left and right join is a FULL OUTER join. Mark for Review
(1) Points
True (*)
False
Correct
11. Which of
the Mark for Review
following (1) Points
statements
is an
example of
a SELF
JOIN?
True (*)
False
13. An automatic commit occurs when a DML statement issued. True or False?
Mark for Review
(1) Points
True
False (*)
Correct
14. Character strings and dates in the WHERE clause must be enclosed with
single quotation marks (''). Mark for Review
(1) Points
True (*)
False
15. The rules of precedence determine the order in which expressions are
evaluated and calculated. Mark for Review
(1) Points
True (*)
False
Correct
1. You can
delete a Mark for Review
row (1) Points
that
contains
a
primary
key that
is used
as a
foreign
key in
another
table.
True
False (*)
Correct
2. The command that removes all rows from a table, leaving the table empty and
the table structure intact is ... Mark for Review
(1) Points
TRUNCATE (*)
DELETE
Both
None
Correct
3. Any column that is not listed explicitly obtains a null value in the new row
unless we have default values for the missing columns that are used. Mark for Review
(1) Points
True (*)
False
Incorrect. Refer to Section 6 Lesson 4.
4. NOT NULL constraints can be created at the table as well as at the column
level. Mark for Review
(1) Points
True
False (*)
True (*)
False
Correct
6. When
altering Mark for Review
a table, (1) Points
you can
decrease
the
width of
a
column
if ...
The decrease in column width is not less than the existing values in that
column (*)
The column contains numeric values
The table has no rows (*)
The column contains only null values (*)
7. When you drop a table, the database loses all the data in the table.
Mark for Review
(1) Points
True (*)
False
Correct
True (*)
False
11. A
foreign Mark for Review
key (1) Points
refers
to a
primary
key or
a
unique
key in
the
same
table or
in
another
table.
True (*)
False
True (*)
False
True
False (*)
Correct
14. SQL Commands is a component in the SQL Workshop of APEX that allows
multiple SQL statements to be run simultaneously within the current Mark for Review
application users assigned database schema. (1) Points
True
False (*)
Correct
15. In Oracle Application Express (APEX) , you can export your SQL code results
to a spreadsheet. Mark for Review
(1) Points
True (*)
False
Correct
1. The
ORDER BY Mark for Review
clause (1) Points
must be
placed
before the
WHERE
clause in a
SQL
statement.
True
False (*)
Correct
True (*)
False
Correct
True
False (*)
Correct
True (*)
False
Correct
True
False (*)
Correct
6. What type of join is the
following statement? Mark for Review
SELECT (1) Points
e.EMPLOYEE_ID,
e.LAST_NAME,
d.DEPARTMENT_ID,
d.DEPARTMENT_NAME,
d.LOCATION_ID FROM
EMPLOYEES e,
DEPARTMENTS d;
OUTER JOIN
CROSS JOIN (*)
NATURAL JOIN
INNER JOIN
Correct
True (*)
False
Correct
True (*)
False
Correct
True (*)
False
Correct
10. You can specify multiple columns after the DISTINCT qualifier.
Mark for Review
(1) Points
True (*)
False
Correct
11. The
following Mark for Review
statement (1) Points
displays all
the rows in
the
departments
table:
SELECT *
FROM
departments;
True (*)
False
Correct
True
False (*)
Correct
13. The following statement will result in an error (True or False): SELECT
last_name "Name" , salary*12 "Annual Salary", Annual Salary +100 Mark for Review
FROM employees; (1) Points
True (*)
False
Correct
True
False (*)
15. You can display all columns of data in a table by following the SELECT
keyword with an asterisk (*). Mark for Review
(1) Points
True (*)
False
Correct
True
False (*)
Correct
Database Key
Primary Key (*)
Foreign Key
Correct
3. When creating a database based on extracting metadata from an existing database
or using the DDL code obtained from an implementation of an existing database, Mark for Review
which data modeling approach would you choose? (1) Points
Correct
4. All instances of the supertype must be an instance of one of the subtypes. True or
False? Mark for Review
(1) Points
True (*)
False
Correct
ANIMALS
DOGS
DOG (*)
ANIMAL (*)
Correct
6. In a
relationship, Mark for Review
if the same (1) Points
entity
participates
more than
once, it is
termed as a
recursive
relationship.
True (*)
False
Correct
7. In Oracle SQL Developer Data Modeler, the attribute that you
assign as primary UID is automatically set to a mandatory Mark for Review
attribute and will be engineered to a primary key in the (1) Points
relational model.
True (*)
False
Exclude Attributes
Correct
True (*)
False
Correct
True (*)
False
Correct
11. A Relational
model is the Mark for Review
blue print to (1) Points
the actual
database
implementation
and can be
used as the
basis for
implementing
any type of
Database
Management
System
(DBMS).
True (*)
False
Correct
True (*)
False
Correct
True (*)
False
Correct
14. If a 1:1 relationship is optional in both directions, the
foreign key can be in either table. Mark for Review
(1) Points
True (*)
False
Correct
15. When two attributes in the same entity relate to the same
unique identifier attribute then you can fold the keys into Mark for Review
one column in the Relational model during engineering. (1) Points
True (*)
False
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 6 - Quiz 1 L1-L4
(Answer all questions in this section)
11. Any column that is not listed explicitly obtains a null value in the new row unless
we have default values for the missing columns that are used. Mark for Review
(1) Points
True (*)
False
Correct
12. When altering a table, you can decrease the width of a column if ...
Mark for Review
(1) Points
The decrease in column width is not less than the existing values in that
column (*)
The column contains only null values (*)
The table has no rows (*)
The column contains numeric values
13. Which constratint specifies that the column (or combination of column) must
contain unique value AND IS NOT NULL for all rows? Mark for Review
(1) Points
UNIQUE KEY
CHECK
PRIMARY KEY (*)
NOT NULL
Correct
True (*)
False
Correct
15. When you drop a table, the database loses all the data in the table.
Mark for Review
(1) Points
True (*)
False
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 4 and 5 Quiz
(Answer all questions in this section)
True
False (*)
Correct
2. When creating entities you must follow these rules: (Choose Two)
Mark for Review
(1) Points
Exclude Attributes
Include Attributes (*)
Name them in Singular (*)
Name them in Plural
3. All instances of the supertype must be an instance of one of the subtypes. True or
False? Mark for Review
(1) Points
True (*)
False
Correct
ANIMAL (*)
DOG (*)
ANIMALS
DOGS
Correct
True
False (*)
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 4 and 5 Quiz
(Answer all questions in this section)
6. A Relational model is the blue print to the actual database implementation and can
be used as the basis for implementing any type of Database Management System Mark for Review
(DBMS). (1) Points
True (*)
False
Correct
7. You can define naming standards in Oracle SQL Developer Data Modeler using ..
Mark for Review
(1) Points
8. A glossary in Oracle SQL Developer Data Modeler is a set of accepted terms that
can be used in the design. Mark for Review
(1) Points
True (*)
False
Correct
True (*)
False
Correct
True (*)
False
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 4 and 5 Quiz
(Answer all questions in this section)
True (*)
False
Correct
True (*)
False
Correct
13. A relationship in an ER Diagram expresses the rules that apply between two
entities. Mark for Review
(1) Points
True (*)
False
Correct
14. For a mandatory 1:1 relationship, the foreign key will be placed on the mandatory
side of the table and will use the NOT NULL constraint to enforce the mandatory Mark for Review
condition. (1) Points
True (*)
False
Correct
15. When two attributes in the same entity relate to the same unique identifier
attribute then you can fold the keys into one column in the Relational model during Mark for Review
engineering. (1) Points
True (*)
False
Correct
1. All rows in the table are deleted if you omit the WHERE clause in the DELETE
statement. Mark for Review
(1) Points
True (*)
False
Correct
2. The UPDATE statement modifies the values of a specific row or rows if the SET
clause is specified. Mark for Review
(1) Points
True
False (*)
Correct
3. It is not mandatory to specify the column list in the INSERT statement. True or
False? Mark for Review
(1) Points
True (*)
False
4. A primary key must contain a value and the value must be unique.
Mark for Review
(1) Points
True (*)
False
Correct
True
False (*)
Correct
True (*)
False
Correct
8. In Oracle Application Express (APEX), SQL code can be entered from the SQL
Commands option of the SQL Workshop. Mark for Review
(1) Points
True (*)
False
Correct
True (*)
False
Correct
10. Oracle Application Express (APEX) is a web application platform used to
develop and deploy SQL applications. Mark for Review
(1) Points
True (*)
False
Correct
11. SQL
Commands is Mark for Review
a component (1) Points
in the SQL
Workshop of
APEX that
allows
multiple SQL
statements to
be run
simultaneously
within the
current
application
users assigned
database
schema.
True
False (*)
True
False (*)
Correct
13. When you drop a table, the database loses all the data in the table.
Mark for Review
(1) Points
True (*)
False
Correct
15. What does the following statement: ALTER TABLE DEPT_TEST ADD
CONSTRAINT unq_dept_det UNIQUE (DEPT_ID, DEPARTMENT_NAME) Mark for Review
; (1) Points
1. SQL Commands is a component in the SQL Workshop of APEX that allows multiple
SQL statements to be run simultaneously within the current application users Mark for Review
assigned database schema. (1) Points
True
False (*)
Correct
2. In Oracle Application Express (APEX), SQL code can be entered from the SQL
Commands option of the SQL Workshop. Mark for Review
(1) Points
True (*)
False
Correct
3. In Oracle Application Express (APEX) , you can export your SQL code results to a
spreadsheet. Mark for Review
(1) Points
True (*)
False
Correct
4. Oracle Application Express (APEX) is a web application platform used to develop and
deploy SQL applications. Mark for Review
(1) Points
True (*)
False
Correct
True (*)
False
Correct
6. The stages of
SQL Processing Mark for Review
are Parsing, (1) Points
Optimization,
Row Source
Generation and
_____________
.
Analyzing
Execution (*)
Both
None
Correct
True (*)
False
Correct
8. An alternate key is a column that defines
how tables relate to each other. Mark for Review
(1) Points
True
False (*)
Correct
True (*)
False
Incorrect.
Refer to
Section 6
Lesson 3.
Incorrect.
Refer to
Section 6
Lesson 3.
11. Foreign
keys are Mark for Review
based (1) Points
on data
values
and are
purely
logical,
rather
than
physical,
pointers.
True (*)
False
Correct
Correct
True
False (*)
Incorrect. Refer to
Section 6 Lesson 4.
False
Correct
WHERE (*)
MODIFY
VALUE
SET
Incorrect. Refer to
Section 6 Lesson 4.
1. Character strings and dates in the WHERE clause must be enclosed with double
quotation marks (" "). Mark for
Review
(1) Points
True
False (*)
Correct
2. You can override the default order by using parentheses around the expressions
that you want to calculate first. Mark for
Review
(1) Points
True (*)
False
Correct
True (*)
False
Correct
4. The ORDER BY clause must be placed before the WHERE clause in a SQL
statement. Mark for
Review
(1) Points
True
False (*)
Correct
5. With the COMMIT and ROLLBACK statements, you have control over making
changes to the data permanent Mark for
Review
(1) Points
True (*)
False
Correct
6. A
transaction Mark for
begins Review
when the (1) Points
first DML
statement is
encountere
d and ends
when one of
the
following
occurs .....
None
Correct
7. What type of join is the following
statement? SELECT e.EMPLOYEE_ID, Mark for
e.LAST_NAME, d.DEPARTMENT_ID, Review
d.DEPARTMENT_NAME, d.LOCATION_ID (1) Points
FROM EMPLOYEES e, DEPARTMENTS d;
NATURAL JOIN
OUTER JOIN
INNER JOIN
Correct
True
False (*)
Correct
True
False (*)
Incorrect. Refer
to Section 6
Lesson 9.
False
Correct
11. You can
specify Mark for
multiple Review
columns (1) Points
after the
DISTINC
T
qualifier.
True (*)
False
Correct
True (*)
False
Correct
None
Correct
True (*)
False
Correct
True (*)
False
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 6 - Quiz 2 L5-L9
(Answer all questions in this section)
2. A join between two tables that returns the results of an INNER join as well as the
results of a left and right join is a FULL OUTER join. Mark for Review
(1) Points
True (*)
False
Correct
3. A join between two tables that returns the results of the INNER join as well as the
unmatched rows from the left (or right) table is called a left (or right) OUTER join. Mark for Review
(1) Points
True (*)
False
Correct
4. The ________ join clause is based on all the columns in the two tables that have the
same name and the same datatype. Mark for Review
(1) Points
IN
LIKE
BETWEEN (*)
NOT NULL
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 6 - Quiz 2 L5-L9
(Answer all questions in this section)
6. You can override the default order by using parentheses around the expressions
that you want to calculate first. Mark for Review
(1) Points
True (*)
False
Correct
7. To eliminate duplicate rows in the result, include the DISTINCT keyword in the
SELECT clause. Mark for Review
(1) Points
True (*)
False
Correct
True (*)
False
Correct
9. The following statement will result in an error (True or False): SELECT last_name
"Name" , salary*12 "Annual Salary", Annual Salary +100 FROM employees; Mark for Review
(1) Points
True (*)
False
Correct
10. If you concatenate a null value with a character string, the result is a character
string. True or False? Mark for Review
(1) Points
True (*)
False
Correct
Previous Page 2 of 3 Next Summary
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 6 - Quiz 2 L5-L9
(Answer all questions in this section)
11. The following statement displays all the rows in the departments table: SELECT *
FROM departments; Mark for Review
(1) Points
True (*)
False
Correct
True (*)
False
Correct
13. You can use single-ampersand (&) substitution variables to temporarily store
values. Mark for Review
(1) Points
True (*)
False
Correct
14. Read consistency guarantees a consistent view of the data at all times.
Mark for Review
(1) Points
True (*)
False
15. With the COMMIT and ROLLBACK statements, you have control over making
changes to the data permanent Mark for Review
(1) Points
True (*)
False
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 4
1. When creating a database based on extracting metadata from an existing database or using
Mark for Review
the DDL code obtained from an implementation of an existing database, which data
modeling approach would you choose? (1) Points
Target Modeling
Top-Down Modeling
Correct
True
False (*)
Correct
3. All instances of the supertype must be an instance of one of the subtypes. True or False?
Mark for Review
(1) Points
True (*)
False
Correct
4. In Oracle SQL Developer 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
Section 5
5. A Relational model is the blue print to the actual database implementation and can be used
Mark for Review
as the basis for implementing any type of Database Management System (DBMS).
(1) Points
True (*)
False
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 5
True (*)
False
Correct
7. A relationship in an ER Diagram expresses the rules that apply between two entities.
Mark for Review
(1) Points
True (*)
False
Correct
8. For a mandatory 1:1 relationship, the foreign key will be placed on the mandatory side of
Mark for Review
the table and will use the NOT NULL constraint to enforce the mandatory condition.
(1) Points
True (*)
False
Correct
9. If a 1:1 relationship is optional in both directions, the foreign key can be in either table.
Mark for Review
(1) Points
True (*)
False
Correct
True
False (*)
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 6
11. Will the following statement execute successfully (True or False)? SELECT e.employee_id,
Mark for Review
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); (1) Points
True (*)
False
Correct
12. The ________ join clause is based on all the columns in the two tables that have the same
Mark for Review
name and the same datatype.
(1) Points
USING
OUTER JOIN
CROSS JOIN
Correct
13. Will the following statement execute successfully (True or False)? SELECT employee_id,
Mark for Review
city, department_name FROM employees e JOIN departments d ON d.department_id =
e.department_id JOIN locations l ON d.location_id = l.location_id; (1) Points
True (*)
False
Correct
14. The USING clause can also be used to match columns with the same name, but different
Mark for Review
data types.
(1) Points
True (*)
False
Correct
15. The CARTESIAN JOIN clause produces the cross-product of two tables.
Mark for Review
(1) Points
True
False (*)
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 6
16. Structured Query Language (SQL)is the set-based, declarative language used to access data
Mark for Review
in an Oracle database.
(1) Points
True (*)
False
Correct
17. An alternate key is a column that defines how tables relate to each other.
Mark for Review
(1) Points
True
False (*)
Correct
18. The stages of SQL Processing are Parsing, Optimization, Row Source Generation and
Mark for Review
_____________ .
(1) Points
Analyzing
Execution (*)
Both
None
Correct
True (*)
False
Correct
20. What is the result of executing the following statement: SELECT EMPLOYEE_ID,
Mark for Review
LAST_NAME, JOB_ID, DEPARTMENT_ID AS "DEPTID" FROM EMPLOYEES WHERE DEPTID =
90 ; (1) Points
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 6
BETWEEN (*)
NOT NULL
IN
LIKE
Correct
22. You can display all columns of data in a table by following the SELECT keyword with an
Mark for Review
asterisk (*).
(1) Points
True (*)
False
Correct
23. Which statement will display those employees who have a job title that contains the string
Mark for Review
"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%' ; (*)
Both
None
Correct
24. You use the LIKE operator to perform wildcard searches of valid search string values.
Mark for Review
(1) Points
True (*)
False
Correct
25. You can specify multiple columns after the DISTINCT qualifier.
Mark for Review
(1) Points
True (*)
False
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 6
(Answer all questions in this section)
Correct
27. Which statement displays the last name, salary, and annual compensation of employees
Mark for Review
where the annual compensation is calculated by multiplying the monthly salary with 15,
plus a one-time bonus of $200. (1) Points
Both
None
Correct
28. If an arithmetic expression contains more than one operator, addition and subtraction are
Mark for Review
evaluated first. True or False?
(1) Points
True
False (*)
Correct
29. The following statement will result in an error (True or False): SELECT last_name "Name" ,
Mark for Review
salary*12 "Annual Salary", Annual Salary +100 FROM employees;
(1) Points
True (*)
False
Correct
30. A literal is a character, a number, or a date that is included in the SELECT list.
Mark for Review
(1) Points
True (*)
False
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 6
31. The ORDER BY clause must be placed before the WHERE clause in a SQL statement.
Mark for Review
(1) Points
True
False (*)
Correct
33. You can specify the row_limiting_clause in the SQL SELECT statement by placing it before
Mark for Review
the ORDER BY clause.
(1) Points
True
False (*)
Correct
34. The following statement will execute successfully (true or false): SELECT employee_id,
Mark for Review
last_name, salary*12 annsal FROM employees ORDER BY annsal ;
(1) Points
True (*)
False
Correct
35. You can use single-ampersand (&) substitution variables to temporarily store values.
Mark for Review
(1) Points
True (*)
False
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 6
None of these.
Incorrect. Refer to Section 6 Lesson 1.
37. It is possible to place conditions on the data retrieved by an SQL statement using the
Mark for Review
WHEN clause.
(1) Points
True
False (*)
Correct
38. SQL Commands is a component in the SQL Workshop of APEX that allows multiple SQL
Mark for Review
statements to be run simultaneously within the current application users assigned
database schema. (1) Points
True
False (*)
Correct
39. To issue a CREATE TABLE statement, you must have the __________ privilege.
Mark for Review
(1) Points
DISTRIBUTE TABLE
Both
None
Correct
40. What does the following statement: ALTER TABLE DEPT_TEST ADD CONSTRAINT
Mark for Review
unq_dept_det UNIQUE (DEPT_ID, DEPARTMENT_NAME) ;
(1) Points
It alters the DEPT_TEST table to add a composite unique key comprising of
the DEPT_ID and DEPARTMENT_NAME. (*)
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 6
41. You can name a constraint or the Oracle server generates a name by using the SYS_Cn
Mark for Review
format.
(1) Points
True (*)
False
Correct
42. When you drop a table, the database loses all the data in the table.
Mark for Review
(1) Points
True (*)
False
Correct
43. The command that removes all rows from a table, leaving the table empty and the table
Mark for Review
structure intact is ...
(1) Points
TRUNCATE (*)
DELETE
Both
None
Correct
44. It is not mandatory to specify the column list in the INSERT statement. True or False?
Mark for Review
(1) Points
True (*)
False
Correct
45. The UPDATE statement modifies the values of a specific row or rows if the _______ clause
Mark for Review
is specified.
(1) Points
VALUE
WHERE (*)
SET
MODIFY
Correct
Previous Page 9 of 10 Next Summary
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 6
46. All rows in the table are deleted if you omit the WHERE clause in the DELETE statement.
Mark for Review
(1) Points
True (*)
False
Correct
47. Read consistency guarantees a consistent view of the data at all times.
Mark for Review
(1) Points
True (*)
False
Correct
True (*)
False
Correct
49. You can create a marker in the current transaction by using the SAVEPOINT statement.
Mark for Review
(1) Points
True (*)
False
Correct
50. Transactions give you more flexibility and control when changing data, and they ensure
Mark for Review
data consistency in the event of user process failure or system failure.
(1) Points
True (*)
False
Correct